Sandbox Rest API Payement error 500 for payment-experience and payment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I receive error 500 when sending request for both payment-experience and payement authorization. How can I investigate this kind of error, mostly based on internal API ?
curl --fail --silent --show-error -d '{"name": "bolingoPayement","temporary": false,"presentation": {"logo_image": "https://www.spopoff.com/bolingo.PNG"},"input_fields": {"no_shipping": 1,"address_override": 1},"flow_config": {"landing_page_type": "login","user_action": "commit","return_uri_http_method": "get"}}' -H 'Accept: application/json' -H 'Authorization: Bearer A21AA1AcR3g7wdgkdfZe0e3upLBWgsFLgRuiE9mgem2wI1cOrDw' https://api.sandbox.paypal.com/v1/payment-experience/web-profiles/
curl --fail --silent --show-error -d '{"intent":"sale","payer":{"payment_method":"paypal"},"transactions":[{"amount":{"total":"301","currency":"EUR"},"description":"Don association Bolingo!","invoice_number":"5a0cc12501893206e29850099a178a95","payment_options":{"allowed_payment_method":"INSTANT_FUNDING_SOURCE"},"item_list":{"items":[{"name":"Un don association Bolingo!","description":"Un don association Bolingo!","quantity":"1","price":"301","currency":"EUR"}],"shipping_address":{"recipient_name":"popoff","line1":"11 rue de la liberte","line2":"","city":"","postal_code":"","country_code":"FR"}}}],"experience_profile_id":"bolingoPayement","note_to_payer":"Utilisez le mail de contact pour toute question","redirect_urls":{"return_url":"https://europe-west1-bolingo-ipn2018.cloudfunctions.net/paypal-payement-return","cancel_url":"https:..."}}' -H 'Accept: application/json' -H 'Authorization: Bearer A21AAHAADafu45nwp2L-J__J9Z31aBGrjnYPsorPchdlRJFNP3K1AcR3g7wdgkdfZe0e3upLBWgsFLgRuiE9mgem2wI1cOrDw' https://api.sandbox.paypal.com/v1/payments/payment

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- where does paypal payments go to if there is no linked phone or email to the seller ? in PayPal Payments Standard
- Couldn't receive International payment in PayPal Payments Standard
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs
- My PayPal is not allowing me to receive or send requests. in PayPal Payments Standard
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment