Skip to content

Instantly share code, notes, and snippets.

@andymckay
Created October 19, 2011 18:55
Show Gist options
  • Save andymckay/1299298 to your computer and use it in GitHub Desktop.
Save andymckay/1299298 to your computer and use it in GitHub Desktop.
[19/Oct/2011 11:53:14] "GET /en-US/firefox/users/purchase/start/app-5 HTTP/1.0" 200 720
{'actionType': 'PAY',
'cancelUrl': u'http://addons.mozilla.local/en-US/firefox/addon/app-5/purchase/cancel?realurl=None&uuid=1c58b1821ee0562140d0e45374ef5e25',
'currencyCode': 'USD',
'ipnNotificationUrl': u'http://addons.mozilla.local/services/paypal',
'memo': u'Purchase of Manifest Checker',
'receiverList.receiver(0).amount': '1.99',
'receiverList.receiver(0).email': u'[email protected]',
'receiverList.receiver(0).invoiceID': 'mozilla-1c58b1821ee0562140d0e45374ef5e25',
'receiverList.receiver(0).paymentType': 'DIGITALGOODS',
'receiverList.receiver(0).primary': 'TRUE',
'returnUrl': u'http://addons.mozilla.local/en-US/firefox/addon/app-5/purchase/complete?realurl=None&uuid=1c58b1821ee0562140d0e45374ef5e25',
'trackingId': '1c58b1821ee0562140d0e45374ef5e25'}
{'payKey': 'AP-70T69655LR5111635',
'paymentExecStatus': 'CREATED',
'responseEnvelope.ack': 'Success',
'responseEnvelope.build': '2142261',
'responseEnvelope.correlationId': 'adf6ca4a74169',
'responseEnvelope.timestamp': '2011-10-19T11:53:17.074-07:00'}
Fails:
[19/Oct/2011 11:53:31] "GET /en-US/firefox/users/purchase/start/app-5 HTTP/1.0" 200 720
{'actionType': 'PAY',
'cancelUrl': u'http://addons.mozilla.local/en-US/firefox/addon/app-5/purchase/cancel?realurl=None&uuid=718122f36098d28bcd7c2073e94fb146',
'currencyCode': 'USD',
'ipnNotificationUrl': u'http://addons.mozilla.local/services/paypal',
'memo': u'Purchase of Manifest Checker',
'receiverList.receiver(0).amount': '1.39',
'receiverList.receiver(0).email': u'[email protected]',
'receiverList.receiver(0).invoiceID': 'mozilla-718122f36098d28bcd7c2073e94fb146',
'receiverList.receiver(0).paymentType': 'DIGITALGOODS',
'receiverList.receiver(0).primary': 'TRUE',
'receiverList.receiver(1).amount': '0.60',
'receiverList.receiver(1).email': '[email protected]',
'returnUrl': u'http://addons.mozilla.local/en-US/firefox/addon/app-5/purchase/complete?realurl=None&uuid=718122f36098d28bcd7c2073e94fb146',
'trackingId': '718122f36098d28bcd7c2073e94fb146'}
{'error(0).category': 'Application',
'error(0).domain': 'PLATFORM',
'error(0).errorId': '520002',
'error(0).message': 'Internal Error',
'error(0).severity': 'Error',
'error(0).subdomain': 'Application',
'responseEnvelope.ack': 'Failure',
'responseEnvelope.build': '2142261',
'responseEnvelope.correlationId': '7fc32f9987b84',
'responseEnvelope.timestamp': '2011-10-19T11:53:33.777-07:00'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment