Smart Buttons fails to process a captured order.

manlyboy
Contributor
Contributor

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.

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.