Created
January 8, 2010 06:04
-
-
Save aribn/271883 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function _processPaypalPurchase() { | |
| var domain = domains.getRequestDomainId(); | |
| billing.log({type: "paypal-attempt", | |
| domain: domain, | |
| message: "Someone tried to use paypal to pay for on-demand."+ | |
| " They got an error message. If this happens a lot, we should implement paypal."}) | |
| java.lang.Thread.sleep(5000); | |
| _validationError('billingPurchaseType', "There was an error contacting PayPal. Please try another payment type.") | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment