Skip to content

Instantly share code, notes, and snippets.

@artcommacode
Created May 30, 2014 15:07
Show Gist options
  • Save artcommacode/f6676a262ed5fbb8f894 to your computer and use it in GitHub Desktop.
Save artcommacode/f6676a262ed5fbb8f894 to your computer and use it in GitHub Desktop.
// payment
{ intent: 'sale',
redirect_urls:
{ return_url: 'http://localhost:3000/payment/accepted?uuid=f54a5320-e80b-11e3-bbcd-ef7d2f770fd4',
cancel_url: 'http://localhost:3000/payment/cancelled' },
payer: { payment_method: 'paypal' },
transactions: [ { amount: [Object] } ] }
// response
Error: Response Status : 500
at IncomingMessage.<anonymous> (/Users/xxx/Development/xxx/xxx/client/node_modules/paypal-rest-sdk/lib/paypal-rest-sdk.js:266:27)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
GET /payment 500 33900ms - 333b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment