Smart Buttons fails to process a captured order.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's the response I get after successfully completing all the steps in the Smart Buttons integration:
Response JSON: {0} = "{
"create_time": "2019-09-13T22:57:00Z",
"id": "6YHxxxxxxxx73445X",
"intent": "CAPTURE",
"links": [
{
"href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/6YHxxxxxxxx3445X",
"method": "GET",
"rel": "self"
},
{
"href": "https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/6xxxxxxxxxx3445X\/capture",
"method": "POST",
"rel": "capture"
}
],
"payer": {
"address": {
"country_code": "AU"
},
"email_address": "payer@",
"name": {
"given_name": "Glen",
"surname": "Buyer"
},
"payer_id": "HxxxxxTN8MBG8"
},
"purchase_units": [
{
"amount": {
"currency_code": "AUD",
"value": "20.00"
},
"description": "Court 2 Hire",
"invoice_id": "4892.01",
"payee": {
"email_address": "@xxxxxxus.com.au",
"merchant_id": "W5xxxxxxTYCBC"
},
""
Everything *appears* to be working fine EXCEPT the payer and the merchant accounts are not getting credited/debited with any amount!
Am I supposed to make another call to actually process the capture?
Any suggestions would be greatly appreciated.
- Labels:
-
Button APIs
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Using Paypal Smart Buttons for checkout sometimes fails with Debit/ Credit Cards Form in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Need help to integrate Advanced Checkout (PPCP) With WHMCS in PayPal Upgrade Community
- “This payment cannot be processed because there was an error with the capture order API call”. in REST APIs
- Payment not automatically being captured, funds not transferred in Sandbox Environment
- Need Help Upgrading to PayPal complete payments in PayPal Upgrade Community