Skip to content

Instantly share code, notes, and snippets.

@aribn
Created January 8, 2010 06:04
Show Gist options
  • Select an option

  • Save aribn/271883 to your computer and use it in GitHub Desktop.

Select an option

Save aribn/271883 to your computer and use it in GitHub Desktop.
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