Advertisement
verygoodplugins

Untitled

Mar 22nd, 2022
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.72 KB | None | 0 0
  1. 2022-03-22T12:36:31+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders
  2. Request Body: {"intent":"AUTHORIZE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"USD","value":"10.00","breakdown":{"item_total":{"currency_code":"USD","value":"10.00"},"shipping":{"currency_code":"USD","value":"0.00"},"tax_total":{"currency_code":"USD","value":"0.00"}}},"description":"","items":[{"name":"$10 Membership Monthly","unit_amount":{"currency_code":"USD","value":"10.00"},"quantity":1,"description":"Become a member of the Bethlehem Food COOP for $10\/month for 30 months.","sku":"","category":"DIGITAL_GOODS","tax":{"currency_code":"USD","value":"0.00"}}],"payee":{"merchant_id":"H8TMF4ZLF6JAEY7C"}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"NO_SHIPPING","landing_page":"LOGIN","locale":"en-US","brand_name":"Bethlehem Food Co-Op","return_url":"https:\/\/www.bethlehemfood.coop\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/www.bethlehemfood.coop\/checkout\/"},"payer":{"name":{"given_name":"Sane","surname":"Jane"},"email_address":"ituneschris@pixelpaper.net","phone":{"phone_type":"HOME","phone_number":{"national_number":"6104564987"}}},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
  3. Response Debug ID: 4edbfae197275
  4. Response: Array
  5. (
  6. [code] => 400
  7. [message] => Bad Request
  8. )
  9.  
  10. Response Body: {"name":"INVALID_REQUEST","message":"Request is not well-formed, syntactically incorrect, or violates schema.","debug_id":"4edbfae197275","details":[{"field":"/purchase_units/@reference_id=='default'/payee/merchant_id","value":"H8TMF4ZLF6JAEY7C","location":"body","issue":"INVALID_STRING_LENGTH","description":"The value of a field is either too short or too long."},{"field":"/purchase_units/@reference_id=='default'/payee/merchant_id","value":"H8TMF4ZLF6JAEY7C","location":"body","issue":"INVALID_PARAMETER_SYNTAX","description":"The value of a field does not conform to the expected format."}],"links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX","rel":"information_link","encType":"application/json"},{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH","rel":"information_link","encType":"application/json"}]}
  11.  
  12. 2022-03-22T12:36:31+00:00 WARNING Failed to create order. PayPal API response: [INVALID_REQUEST] Request is not well-formed, syntactically incorrect, or violates schema. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH
  13. 2022-03-22T12:36:31+00:00 ERROR Order creation failed: [INVALID_REQUEST] Request is not well-formed, syntactically incorrect, or violates schema. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH
  14. 2022-03-22T12:36:31+00:00 ERROR Order creation failed: [INVALID_REQUEST] Request is not well-formed, syntactically incorrect, or violates schema. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH
  15. 2022-03-22T12:36:59+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders
  16. Request Body: {"intent":"AUTHORIZE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"USD","value":"10.00","breakdown":{"item_total":{"currency_code":"USD","value":"10.00"},"shipping":{"currency_code":"USD","value":"0.00"},"tax_total":{"currency_code":"USD","value":"0.00"}}},"description":"","items":[{"name":"$10 Membership Monthly","unit_amount":{"currency_code":"USD","value":"10.00"},"quantity":1,"description":"Become a member of the Bethlehem Food COOP for $10\/month for 30 months.","sku":"","category":"DIGITAL_GOODS","tax":{"currency_code":"USD","value":"0.00"}}],"payee":{"merchant_id":"H8TMF4ZLF6JAEY7C"}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"NO_SHIPPING","landing_page":"LOGIN","locale":"en-US","brand_name":"Bethlehem Food Co-Op","return_url":"https:\/\/www.bethlehemfood.coop\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/www.bethlehemfood.coop\/checkout\/"},"payer":{"name":{"given_name":"Sane","surname":"Jane"},"email_address":"ituneschris@pixelpaper.net","phone":{"phone_type":"HOME","phone_number":{"national_number":"6104564987"}}},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
  17. Response Debug ID: 97ffce418a9aa
  18. Response: Array
  19. (
  20. [code] => 400
  21. [message] => Bad Request
  22. )
  23.  
  24. Response Body: {"name":"INVALID_REQUEST","message":"Request is not well-formed, syntactically incorrect, or violates schema.","debug_id":"97ffce418a9aa","details":[{"field":"/purchase_units/@reference_id=='default'/payee/merchant_id","value":"H8TMF4ZLF6JAEY7C","location":"body","issue":"INVALID_STRING_LENGTH","description":"The value of a field is either too short or too long."},{"field":"/purchase_units/@reference_id=='default'/payee/merchant_id","value":"H8TMF4ZLF6JAEY7C","location":"body","issue":"INVALID_PARAMETER_SYNTAX","description":"The value of a field does not conform to the expected format."}],"links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX","rel":"information_link","encType":"application/json"},{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH","rel":"information_link","encType":"application/json"}]}
  25.  
  26. 2022-03-22T12:36:59+00:00 WARNING Failed to create order. PayPal API response: [INVALID_REQUEST] Request is not well-formed, syntactically incorrect, or violates schema. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH
  27. 2022-03-22T12:36:59+00:00 ERROR Order creation failed: [INVALID_REQUEST] Request is not well-formed, syntactically incorrect, or violates schema. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH
  28. 2022-03-22T12:36:59+00:00 ERROR Order creation failed: [INVALID_REQUEST] Request is not well-formed, syntactically incorrect, or violates schema. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH
  29. 2022-03-22T12:38:56+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders
  30. Request Body: {"intent":"AUTHORIZE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"USD","value":"10.00","breakdown":{"item_total":{"currency_code":"USD","value":"10.00"},"shipping":{"currency_code":"USD","value":"0.00"},"tax_total":{"currency_code":"USD","value":"0.00"}}},"description":"","items":[{"name":"$10 Membership Monthly","unit_amount":{"currency_code":"USD","value":"10.00"},"quantity":1,"description":"Become a member of the Bethlehem Food COOP for $10\/month for 30 months.","sku":"","category":"DIGITAL_GOODS","tax":{"currency_code":"USD","value":"0.00"}}],"payee":{"merchant_id":"H8TMF4ZLF6JAEY7C"}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"NO_SHIPPING","landing_page":"LOGIN","locale":"en-US","brand_name":"Bethlehem Food Co-Op","return_url":"https:\/\/www.bethlehemfood.coop\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/www.bethlehemfood.coop\/checkout\/"},"payer":{"name":{"given_name":"Sane","surname":"Jane"},"email_address":"ituneschris@pixelpaper.net","phone":{"phone_type":"HOME","phone_number":{"national_number":"6109998765"}}},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
  31. Response Debug ID: 6e0ce275c1f2
  32. Response: Array
  33. (
  34. [code] => 400
  35. [message] => Bad Request
  36. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement