Unknows error when finishing PayPal payment

  • Posts: 22
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
5 days 18 hours ago #372112

-- HikaShop version -- : 6.5.0
-- Joomla version -- : 6.1.1
-- PHP version -- : 8.3.31
-- Browser(s) name and version -- : Firefox 151.0.2
-- Error-message(debug-mod must be tuned on) -- : Error in front-end after the login-modal for PayPal:

Unknown error when processing order

Even with debug mode on and error-reporting on maxumum there is no more information, but the payment is not completed.

Since two weeks I get an error in front-end after the login-modal for PayPal.

Unknown error when processing order



I am using the PayPal checkout plugin


Even with debug mode on and error-reporting on maxumum there is no more information, but the payment is not completed.
The website worked for many years without problems.
Updating tot Hikashop 6.5.0. did not make a difference.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 85712
  • Thank you received: 14048
  • MODERATOR
5 days 16 hours ago #372113

Hi,

The debug information will be added in the "Payment log file" that you can access in the HikaShop configuration page once you activate the "debug" setting of the payment method :
www.hikashop.com/support/documentation/5...nfig.html#main_files
The information is not displayed directly to you for security reasons.
In the log, the newest debug information is at the end. Please report what you have in there (replacing sensitive data by placeholders) so that we can understand what's going on, and we should be able to tell you what to do.

Please Log in or Create an account to join the conversation.

  • Posts: 22
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
5 days 15 hours ago #372115

Ni Nicolas,

I will check this.

Last edit: 5 days 15 hours ago by remcovolbeda. Reason: Previous error before modification ot this message was old

Please Log in or Create an account to join the conversation.

  • Posts: 22
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
5 days 15 hours ago #372116

This is the error after trying to pay with PayPal:

06.01.26 12:28:16

stdClass Object
(
    [intent] => CAPTURE
    [processing_instruction] => ORDER_COMPLETE_ON_PAYMENT_APPROVAL
    [application_context] => stdClass Object
        (
            [shipping_preference] => NO_SHIPPING
            [brand_name] => Pedal Classics
            [return_url] => url:www.pedalclassics.com/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypalcheckout&order_id=561&tmpl=component&lang=en&Itemid=xxxxx&closepopup=1
            [cancel_url] => url:www.pedalclassics.com/index.php?option=com_hikashop&ctrl=order&task=cancel_order&order_id=xxxxx&Itemid=xxxxx
            [landing_page] => NO_PREFERENCE
        )

    [payer] => stdClass Object
        (
            [email_address] => xxxxxxx
        )

    [purchase_units] => Array
        (
            [0] => stdClass Object
                (
                    [invoice_id] => 561
                    [description] => Order number xxxxxx
                    [items] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [name] => Madison driving the 1952 VW Beetle (New)
                                    [quantity] => 1
                                    [sku] => Madison_driving_the_1952_VW_Beetle
                                    [unit_amount] => stdClass Object
                                        (
                                            [value] => 16.00
                                            [currency_code] => EUR
                                        )

                                    [tax] => stdClass Object
                                        (
                                            [value] => 0.00
                                            [currency_code] => EUR
                                        )

                                )

                        )

                    [amount] => stdClass Object
                        (
                            [value] => 16.00
                            [currency_code] => EUR
                            [breakdown] => stdClass Object
                                (
                                    [item_total] => stdClass Object
                                        (
                                            [value] => 16.00
                                            [currency_code] => EUR
                                        )

                                    [tax_total] => stdClass Object
                                        (
                                            [value] => 0.00
                                            [currency_code] => EUR
                                        )

                                )

                        )

                )

        )

)


06.01.26 12:28:16

Array
(
    [client-id] => xxxxxxxxxx
    [integration-date] => 2024-05-19
    [currency] => EUR
    [components] => buttons,funding-eligibility,messages
    [enable-funding] => paylater
    [intent] => capture
    [debug] => true
)


06.01.26 12:28:20

PayPal API POST url:api-m.paypal.com/v1/oauth2/token
grant_type=client_credentials
06.01.26 12:28:20

PayPal API response (200): {"scope":"url:uri.paypal.com/services/checkout/one-click-with-merchant-issued-token url:uri.paypal.com/services/payments/futurepayments url:uri.paypal.com/services/invoicing url:uri.paypal.com/services/disputes/read-buyer url:uri.paypal.com/services/payments/realtimepayment url:uri.paypal.com/services/disputes/update-seller url:uri.paypal.com/services/payments/payment/authcapture openid url:uri.paypal.com/services/disputes/read-seller url:uri.paypal.com/services/payments/refund url:uri.paypal.com/services/payments/orders/client_sdk_orders_api url:uri.paypal.com/services/payments/client-payments-eligibility url:api.paypal.com/v1/vault/credit-card url:uri.paypal.com/services/pricing/quote-exchange-rates/read url:api.paypal.com/v1/payments/.* url:uri.paypal.com/services/payments/initiatepayment url:uri.paypal.com/payments/payouts url:api.paypal.com/v1/vault/credit-card/.* url:uri.paypal.com/services/subscriptions url:uri.paypal.com/services/applications/webhooks url:uri.paypal.com/services/credit/client-offer-presentment/read","access_token":"A21AAPMeITguA3Ie1VMepuTZ25zvREuxvNuzIiK6gf3OpAPoIOzi4pxh4rUsEjBgA5byLJy1i4UjkMD8t_hZdKC8-BmrAwHOQ","token_type":"Bearer","app_id":"APP-6N747844NY916372D","expires_in":32359,"nonce":"2026-06-01T12:27:40ZKFZlXHBzBM9uSv7Phdv4g7fk9eDCJlP3-sms8n5YBUM"}
06.01.26 12:28:20

PayPal API POST url:api-m.paypal.com/v2/checkout/orders
{"intent":"CAPTURE","processing_instruction":"ORDER_COMPLETE_ON_PAYMENT_APPROVAL","application_context":{"shipping_preference":"NO_SHIPPING","brand_name":"Pedal Classics","return_url":"https:\/\/www.pedalclassics.com\/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypalcheckout&order_id=561&tmpl=component&lang=en&Itemid=1045&closepopup=1","cancel_url":"https:\/\/www.pedalclassics.com\/index.php?option=com_hikashop&ctrl=order&task=cancel_order&order_id=561&Itemid=1045","landing_page":"NO_PREFERENCE"},"payer":{"email_address":"peterwouda@noordoost.nl"},"purchase_units":[{"invoice_id":561,"description":"Order number B5B6K1","items":[{"name":"Madison driving the 1952 VW Beetle (New)","quantity":1,"sku":"Madison_driving_the_1952_VW_Beetle","unit_amount":{"value":"16.00","currency_code":"EUR"},"tax":{"value":"0.00","currency_code":"EUR"}}],"amount":{"value":"16.00","currency_code":"EUR","breakdown":{"item_total":{"value":"16.00","currency_code":"EUR"},"tax_total":{"value":"0.00","currency_code":"EUR"}}}}]}
06.01.26 12:28:21

PayPal API response (201): {"id":"32G22719LX056703V","intent":"CAPTURE","status":"CREATED","processing_instruction":"ORDER_COMPLETE_ON_PAYMENT_APPROVAL","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"16.00","breakdown":{"item_total":{"currency_code":"EUR","value":"16.00"},"tax_total":{"currency_code":"EUR","value":"0.00"}}},"payee":{"email_address":"reg.leenes@cerescompany.com","merchant_id":"CNEUY32ZTT68Y","display_data":{"brand_name":"Pedal Classics"}},"description":"Order number B5B6K1","invoice_id":"561","items":[{"name":"Madison driving the 1952 VW Beetle (New)","unit_amount":{"currency_code":"EUR","value":"16.00"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"1","sku":"Madison_driving_the_1952_VW_Beetle"}]}],"payer":{"email_address":"peterwouda@noordoost.nl"},"create_time":"2026-06-01T12:28:21Z","links":[{"href":"url:api.paypal.com/v2/checkout/orders/32G22719LX056703V","rel":"self","method":"GET"},{"href":"url:www.paypal.com/checkoutnow?token=32G22719LX056703V","rel":"approve","method":"GET"},{"href":"url:api.paypal.com/v2/checkout/orders/32G22719LX056703V","rel":"update","method":"PATCH"},{"href":"url:api.paypal.com/v2/checkout/orders/32G22719LX056703V/capture","rel":"capture","method":"POST"}]}
06.01.26 12:28:33

on approve for 32G22719LX056703V
06.01.26 12:28:33

PayPal API POST url:api-m.paypal.com/v1/oauth2/token
grant_type=client_credentials
06.01.26 12:28:33

PayPal API response (200): {"scope":"url:uri.paypal.com/services/checkout/one-click-with-merchant-issued-token url:uri.paypal.com/services/payments/futurepayments url:uri.paypal.com/services/invoicing url:uri.paypal.com/services/disputes/read-buyer url:uri.paypal.com/services/payments/realtimepayment url:uri.paypal.com/services/disputes/update-seller url:uri.paypal.com/services/payments/payment/authcapture openid url:uri.paypal.com/services/disputes/read-seller url:uri.paypal.com/services/payments/refund url:uri.paypal.com/services/payments/orders/client_sdk_orders_api url:uri.paypal.com/services/payments/client-payments-eligibility url:api.paypal.com/v1/vault/credit-card url:uri.paypal.com/services/pricing/quote-exchange-rates/read url:api.paypal.com/v1/payments/.* url:uri.paypal.com/services/payments/initiatepayment url:uri.paypal.com/payments/payouts url:api.paypal.com/v1/vault/credit-card/.* url:uri.paypal.com/services/subscriptions url:uri.paypal.com/services/applications/webhooks url:uri.paypal.com/services/credit/client-offer-presentment/read","access_token":"A21AAPMeITguA3Ie1VMepuTZ25zvREuxvNuzIiK6gf3OpAPoIOzi4pxh4rUsEjBgA5byLJy1i4UjkMD8t_hZdKC8-BmrAwHOQ","token_type":"Bearer","app_id":"APP-6N747844NY916372D","expires_in":32346,"nonce":"2026-06-01T12:27:40ZKFZlXHBzBM9uSv7Phdv4g7fk9eDCJlP3-sms8n5YBUM"}
06.01.26 12:28:33

PayPal API GET url:api-m.paypal.com/v2/checkout/orders/xxxxxxxx
06.01.26 12:28:34

PayPal API response (200): {"id":"32G22719LX056703V","intent":"CAPTURE","status":"APPROVED","payment_source":{"paypal":{"email_address":"xxxxx","account_id":"xxxxxx","account_status":"VERIFIED","name":{"given_name":"Peter","surname":"Wouda"},"address":{"country_code":"NL"}}},"processing_instruction":"ORDER_COMPLETE_ON_PAYMENT_APPROVAL","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"16.00","breakdown":{"item_total":{"currency_code":"EUR","value":"16.00"},"tax_total":{"currency_code":"EUR","value":"0.00"}}},"payee":{"email_address":"xxxxxxxm","merchant_id":"xxxxxxx","display_data":{"brand_name":"Pedal Classics"}},"description":"Order number B5B6K1","invoice_id":"561","items":[{"name":"Madison driving the 1952 VW Beetle (New)","unit_amount":{"currency_code":"EUR","value":"16.00"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"1","sku":"Madison_driving_the_1952_VW_Beetle"}]}],"payer":{"name":{"given_name":"Peter","surname":"Wouda"},"email_address":"p.wouda@xs4all.nl","payer_id":"ZXPYQ3FKLXC76","address":{"country_code":"NL"}},"create_time":"2026-06-01T12:28:21Z","links":[{"href":"url:api.paypal.com/v2/checkout/orders/32G22719LX056703V","rel":"self","method":"GET"},{"href":"url:api.paypal.com/v2/checkout/orders/32G22719LX056703V","rel":"update","method":"PATCH"},{"href":"url:api.paypal.com/v2/checkout/orders/xxxxxx/capture","rel":"capture","method":"POST"}]}
06.01.26 12:28:34

PayPal API POST url:api-m.paypal.com/v2/checkout/orders/xxxxxxxxx/capture
06.01.26 12:28:34

PayPal API response (400):


400 Bad Request

cloudflare

Last edit: 5 days 10 hours ago by nicolas.

Please Log in or Create an account to join the conversation.

  • Posts: 85712
  • Thank you received: 14048
  • MODERATOR
5 days 7 hours ago #372121

Hi,

Thanks for the capture log, it narrows things down a lot.

The order is created and approved correctly, and the call that fails is the very last one, the capture, which comes back with that "400 Bad Request cloudflare". So the payment is approved on PayPal's side but never captured, which is why you see "Unknown error when processing order" at the end.

We have a likely explanation for why that one call is refused while the earlier calls in the same checkout go through, and we have made a change in the plugin that should make the capture request accepted again. We are not 100% sure it is the cause on your specific server yet, so the best next step is to test it directly.
Download the latest install package of HikaShop on our website and install it on yours. Then, try a payment again. Please let me know if the capture goes through, and if it still fails, send us the new payment log so we can keep digging.

Please Log in or Create an account to join the conversation.

  • Posts: 22
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
4 days 20 hours ago #372126

Hi Nocolas,

Works fine now! Thanks.

The log-file:
06.02.26 07:06:06

stdClass Object
(
[intent] => CAPTURE
[processing_instruction] => ORDER_COMPLETE_ON_PAYMENT_APPROVAL
[application_context] => stdClass Object
(
[shipping_preference] => NO_SHIPPING
[brand_name] => Pedal Classics
[return_url] => url:www.pedalclassics.com/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypalcheckout&order_id=562&tmpl=component&lang=en&Itemid=1045&closepopup=1
[cancel_url] => url:www.pedalclassics.com/index.php?option=com_hikashop&ctrl=order&task=cancel_order&order_id=562&Itemid=1045
[landing_page] => NO_PREFERENCE
)

[payer] => stdClass Object
(
[email_address] => mail@dres
)

[purchase_units] => Array
(
[0] => stdClass Object
(
[invoice_id] => 562
[description] => Order number B5B6L2
[items] => Array
(
[0] => stdClass Object
(
[name] => Madison driving the 1952 VW Beetle (New)
[quantity] => 1
[sku] => Madison_driving_the_1952_VW_Beetle
[unit_amount] => stdClass Object
(
[value] => 16.00
[currency_code] => EUR
)

[tax] => stdClass Object
(
[value] => 0.00
[currency_code] => EUR
)

)

)

[amount] => stdClass Object
(
[value] => 16.00
[currency_code] => EUR
[breakdown] => stdClass Object
(
[item_total] => stdClass Object
(
[value] => 16.00
[currency_code] => EUR
)

[tax_total] => stdClass Object
(
[value] => 0.00
[currency_code] => EUR
)

)

)

)

)

)


06.02.26 07:06:06

Array
(
[client-id] => AZj956707o-_YO1VC6i22frGZV-frcojbAfEJ34JBF9ndeaIar53YYxoc2-7A07wJg2GUxfr8uC7fnXC
[integration-date] => 2024-05-19
[currency] => EUR
[components] => buttons,funding-eligibility,messages
[enable-funding] => paylater
[intent] => capture
[debug] => true
)


06.02.26 07:06:09

PayPal API POST url:api-m.paypal.com/v1/oauth2/token
grant_type=client_credentials
06.02.26 07:06:10

PayPal API response (200): {"scope":"url:uri.paypal.com/services/checkout/one-click-with-merchant-issued-token url:uri.paypal.com/services/payments/futurepayments url:uri.paypal.com/services/invoicing url:uri.paypal.com/services/disputes/read-buyer url:uri.paypal.com/services/payments/realtimepayment url:uri.paypal.com/services/disputes/update-seller url:uri.paypal.com/services/payments/payment/authcapture openid url:uri.paypal.com/services/disputes/read-seller url:uri.paypal.com/services/payments/refund url:uri.paypal.com/services/payments/orders/client_sdk_orders_api url:uri.paypal.com/services/payments/client-payments-eligibility url:api.paypal.com/v1/vault/credit-card url:uri.paypal.com/services/pricing/quote-exchange-rates/read url:api.paypal.com/v1/payments/.* url:uri.paypal.com/services/payments/initiatepayment url:uri.paypal.com/payments/payouts url:api.paypal.com/v1/vault/credit-card/.* url:uri.paypal.com/services/subscriptions url:uri.paypal.com/services/applications/webhooks url:uri.paypal.com/services/credit/client-offer-presentment/read","access_token":"A21AAOdob9IuTk7dLGZgtfPJ5RU1S3elh2asoj0HkV-H5vmSLoRYLWEavfUUZtNoTgd3jCs4ff768Wp85hCZ30ENaOzek8J3Q","token_type":"Bearer","app_id":"APP-6N747844NY916372D","expires_in":32400,"nonce":"2026-06-02T07:06:10Z0DmkypnSn7e3pEYR32MAtn3biEroZRc9iEtWvKexBBc"}
06.02.26 07:06:10

PayPal API POST url:api-m.paypal.com/v2/checkout/orders
{"intent":"CAPTURE","processing_instruction":"ORDER_COMPLETE_ON_PAYMENT_APPROVAL","application_context":{"shipping_preference":"NO_SHIPPING","brand_name":"Pedal Classics","return_url":"https:\/\/www.pedalclassics.com\/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypalcheckout&order_id=562&tmpl=component&lang=en&Itemid=1045&closepopup=1","cancel_url":"https:\/\/www.pedalclassics.com\/index.php?option=com_hikashop&ctrl=order&task=cancel_order&order_id=562&Itemid=1045","landing_page":"NO_PREFERENCE"},"payer":{"email_address":"mail@dres"},"purchase_units":[{"invoice_id":562,"description":"Order number B5B6L2","items":[{"name":"Madison driving the 1952 VW Beetle (New)","quantity":1,"sku":"Madison_driving_the_1952_VW_Beetle","unit_amount":{"value":"16.00","currency_code":"EUR"},"tax":{"value":"0.00","currency_code":"EUR"}}],"amount":{"value":"16.00","currency_code":"EUR","breakdown":{"item_total":{"value":"16.00","currency_code":"EUR"},"tax_total":{"value":"0.00","currency_code":"EUR"}}}}]}
06.02.26 07:06:10

PayPal API response (201): {"id":"xxxxx","intent":"CAPTURE","status":"CREATED","processing_instruction":"ORDER_COMPLETE_ON_PAYMENT_APPROVAL","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"16.00","breakdown":{"item_total":{"currency_code":"EUR","value":"16.00"},"tax_total":{"currency_code":"EUR","value":"0.00"}}},"payee":{"email_address":"reg.leenes@cerescompany.com","merchant_id":"CNEUY32ZTT68Y","display_data":{"brand_name":"Pedal Classics"}},"description":"Order number B5B6L2","invoice_id":"562","items":[{"name":"Madison driving the 1952 VW Beetle (New)","unit_amount":{"currency_code":"EUR","value":"16.00"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"1","sku":"Madison_driving_the_1952_VW_Beetle"}]}],"payer":{"email_address":"mail@dres"},"create_time":"2026-06-02T07:06:10Z","links":[{"href":"url:api.paypal.com/v2/checkout/orders/xxxxx","rel":"self","method":"GET"},{"href":"url:www.paypal.com/checkoutnow?token=xxxxx","rel":"approve","method":"GET"},{"href":"url:api.paypal.com/v2/checkout/orders/xxxxx","rel":"update","method":"PATCH"},{"href":"url:api.paypal.com/v2/checkout/orders/xxxxx/capture","rel":"capture","method":"POST"}]}
06.02.26 07:06:31

on approve for xxxxx
06.02.26 07:06:31

PayPal API POST url:api-m.paypal.com/v1/oauth2/token
grant_type=client_credentials
06.02.26 07:06:32

PayPal API response (200): {"scope":"url:uri.paypal.com/services/checkout/one-click-with-merchant-issued-token url:uri.paypal.com/services/payments/futurepayments url:uri.paypal.com/services/invoicing url:uri.paypal.com/services/disputes/read-buyer url:uri.paypal.com/services/payments/realtimepayment url:uri.paypal.com/services/disputes/update-seller url:uri.paypal.com/services/payments/payment/authcapture openid url:uri.paypal.com/services/disputes/read-seller url:uri.paypal.com/services/payments/refund url:uri.paypal.com/services/payments/orders/client_sdk_orders_api url:uri.paypal.com/services/payments/client-payments-eligibility url:api.paypal.com/v1/vault/credit-card url:uri.paypal.com/services/pricing/quote-exchange-rates/read url:api.paypal.com/v1/payments/.* url:uri.paypal.com/services/payments/initiatepayment url:uri.paypal.com/payments/payouts url:api.paypal.com/v1/vault/credit-card/.* url:uri.paypal.com/services/subscriptions url:uri.paypal.com/services/applications/webhooks url:uri.paypal.com/services/credit/client-offer-presentment/read","access_token":"A21AAOdob9IuTk7dLGZgtfPJ5RU1S3elh2asoj0HkV-H5vmSLoRYLWEavfUUZtNoTgd3jCs4ff768Wp85hCZ30ENaOzek8J3Q","token_type":"Bearer","app_id":"APP-6N747844NY916372D","expires_in":32378,"nonce":"2026-06-02T07:06:10Z0DmkypnSn7e3pEYR32MAtn3biEroZRc9iEtWvKexBBc"}
06.02.26 07:06:32

PayPal API GET url:api-m.paypal.com/v2/checkout/orders/xxxxx
06.02.26 07:06:32

PayPal API response (200): {"id":"xxxxx","intent":"CAPTURE","status":"APPROVED","payment_source":{"paypal":{"email_address":"mail@adres","account_id":"ZXPYQ3FKLXC76","account_status":"VERIFIED","name":{"given_name":"Peter","surname":"Wouda"},"address":{"country_code":"NL"}}},"processing_instruction":"ORDER_COMPLETE_ON_PAYMENT_APPROVAL","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"16.00","breakdown":{"item_total":{"currency_code":"EUR","value":"16.00"},"tax_total":{"currency_code":"EUR","value":"0.00"}}},"payee":{"email_address":"reg.leenes@cerescompany.com","merchant_id":"CNEUY32ZTT68Y","display_data":{"brand_name":"Pedal Classics"}},"description":"Order number B5B6L2","invoice_id":"562","items":[{"name":"Madison driving the 1952 VW Beetle (New)","unit_amount":{"currency_code":"EUR","value":"16.00"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"1","sku":"Madison_driving_the_1952_VW_Beetle"}]}],"payer":{"name":{"given_name":"Peter","surname":"Wouda"},"email_address":"mail@adres","payer_id":"ZXPYQ3FKLXC76","address":{"country_code":"NL"}},"create_time":"2026-06-02T07:06:10Z","links":[{"href":"url:api.paypal.com/v2/checkout/orders/xxxxx","rel":"self","method":"GET"},{"href":"url:api.paypal.com/v2/checkout/orders/xxxxx","rel":"update","method":"PATCH"},{"href":"url:api.paypal.com/v2/checkout/orders/xxxxx/capture","rel":"capture","method":"POST"}]}
06.02.26 07:06:32

PayPal API POST url:api-m.paypal.com/v2/checkout/orders/xxxxx/capture
{}
06.02.26 07:06:33

PayPal API response (201): {"id":"xxxxx","status":"COMPLETED","payment_source":{"paypal":{"email_address":"mail@adres","account_id":"ZXPYQ3FKLXC76","account_status":"VERIFIED","name":{"given_name":"Peter","surname":"Wouda"},"address":{"country_code":"NL"}}},"purchase_units":[{"reference_id":"default","payments":{"captures":[{"id":"xxxxx","status":"COMPLETED","amount":{"currency_code":"EUR","value":"16.00"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"16.00"},"paypal_fee":{"currency_code":"EUR","value":"0.89"},"net_amount":{"currency_code":"EUR","value":"15.11"}},"invoice_id":"562","links":[{"href":"url:api.paypal.com/v2/payments/captures/xxxxx","rel":"self","method":"GET"},{"href":"url:api.paypal.com/v2/payments/captures/xxxxx/refund","rel":"refund","method":"POST"},{"href":"url:api.paypal.com/v2/checkout/orders/xxxxx","rel":"up","method":"GET"}],"create_time":"2026-06-02T07:06:33Z","update_time":"2026-06-02T07:06:33Z"}]}}],"payer":{"name":{"given_name":"Peter","surname":"Wouda"},"email_address":"mail@adres","payer_id":"ZXPYQ3FKLXC76","address":{"country_code":"NL"}},"links":[{"href":"url:api.paypal.com/v2/checkout/orders/xxxxx","rel":"self","method":"GET"}]}
06.02.26 07:06:34

stdClass Object
(
[order_id] => 562
[order_billing_address_id] => 0
[order_shipping_address_id] => 0
[order_user_id] => 1
[order_parent_id] => 0
[order_status] => created
[order_type] => sale
[order_number] => B5B6L2
[order_created] => 1780383965
[order_modified] => 1780383991
[order_invoice_id] => 0
[order_invoice_number] =>
[order_invoice_created] => 0
[order_currency_id] => 1
[order_currency_info] => O:8:"stdClass":4:{s:13:"currency_code";s:3:"EUR";s:13:"currency_rate";s:8:"1.000000";s:20:"currency_percent_fee";s:4:"0.00";s:17:"currency_modified";i:1730641058;}
[order_full_price] => 16.00000
[order_tax_info] => Array
(
[] => stdClass Object
(
[tax_namekey] =>
[tax_rate] => 0.00000
[tax_amount] => 0
[amount] => 16
)

)

[order_discount_code] =>
[order_discount_price] => 0.00000
[order_discount_tax] => 0.00000
[order_payment_id] => 2
[order_payment_method] => paypalcheckout
[order_payment_price] => 0.00000
[order_payment_tax] => 0.00000
[order_payment_params] => stdClass Object
(
[paypal_checkout_id] => xxxxx
)

[order_shipping_id] =>
[order_shipping_method] =>
[order_shipping_price] => 0.00000
[order_shipping_tax] => 0.00000
[order_shipping_params] => stdClass Object
(
)

[order_partner_id] => 0
[order_partner_price] => 0.00000
[order_partner_paid] => 0
[order_partner_currency_id] => 0
[order_ip] => 86.85.196.121
[order_site_id] =>
[order_lang] => en-GB
[order_token] => Ea762t59mH1tX0lBPjAZhnfcf8V00gje
[order_weight] => 0.000
[order_weight_unit] => kg
[order_volume] => 0.000
[order_dimension_unit] => m
[order_shipped] => 0
[order_delivered] => 0
)


06.02.26 07:06:34

xxxxx
06.02.26 07:06:34

PayPal API POST url:api-m.paypal.com/v1/oauth2/token
grant_type=client_credentials
06.02.26 07:06:34

PayPal API response (200): {"scope":"url:uri.paypal.com/services/checkout/one-click-with-merchant-issued-token url:uri.paypal.com/services/payments/futurepayments url:uri.paypal.com/services/invoicing url:uri.paypal.com/services/disputes/read-buyer url:uri.paypal.com/services/payments/realtimepayment url:uri.paypal.com/services/disputes/update-seller url:uri.paypal.com/services/payments/payment/authcapture openid url:uri.paypal.com/services/disputes/read-seller url:uri.paypal.com/services/payments/refund url:uri.paypal.com/services/payments/orders/client_sdk_orders_api url:uri.paypal.com/services/payments/client-payments-eligibility url:api.paypal.com/v1/vault/credit-card url:uri.paypal.com/services/pricing/quote-exchange-rates/read url:api.paypal.com/v1/payments/.* url:uri.paypal.com/services/payments/initiatepayment url:uri.paypal.com/payments/payouts url:api.paypal.com/v1/vault/credit-card/.* url:uri.paypal.com/services/subscriptions url:uri.paypal.com/services/applications/webhooks url:uri.paypal.com/services/credit/client-offer-presentment/read","access_token":"A21AAOdob9IuTk7dLGZgtfPJ5RU1S3elh2asoj0HkV-H5vmSLoRYLWEavfUUZtNoTgd3jCs4ff768Wp85hCZ30ENaOzek8J3Q","token_type":"Bearer","app_id":"APP-6N747844NY916372D","expires_in":32376,"nonce":"2026-06-02T07:06:10Z0DmkypnSn7e3pEYR32MAtn3biEroZRc9iEtWvKexBBc"}
06.02.26 07:06:34

PayPal API GET url:api-m.paypal.com/v2/checkout/orders/xxxxx
06.02.26 07:06:34

PayPal API response (200): {"id":"xxxxx","intent":"CAPTURE","status":"COMPLETED","payment_source":{"paypal":{"email_address":"mail@adres","account_id":"ZXPYQ3FKLXC76","account_status":"VERIFIED","name":{"given_name":"Peter","surname":"Wouda"},"address":{"country_code":"NL"}}},"processing_instruction":"ORDER_COMPLETE_ON_PAYMENT_APPROVAL","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"16.00","breakdown":{"item_total":{"currency_code":"EUR","value":"16.00"},"tax_total":{"currency_code":"EUR","value":"0.00"}}},"payee":{"email_address":"reg.leenes@cerescompany.com","merchant_id":"CNEUY32ZTT68Y","display_data":{"brand_name":"Pedal Classics"}},"description":"Order number B5B6L2","invoice_id":"562","items":[{"name":"Madison driving the 1952 VW Beetle (New)","unit_amount":{"currency_code":"EUR","value":"16.00"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"1","sku":"Madison_driving_the_1952_VW_Beetle"}],"payments":{"captures":[{"id":"xxxxx","status":"COMPLETED","amount":{"currency_code":"EUR","value":"16.00"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"16.00"},"paypal_fee":{"currency_code":"EUR","value":"0.89"},"net_amount":{"currency_code":"EUR","value":"15.11"}},"invoice_id":"562","links":[{"href":"url:api.paypal.com/v2/payments/captures/xxxxx","rel":"self","method":"GET"},{"href":"url:api.paypal.com/v2/payments/captures/xxxxx/refund","rel":"refund","method":"POST"},{"href":"url:api.paypal.com/v2/checkout/orders/xxxxx","rel":"up","method":"GET"}],"create_time":"2026-06-02T07:06:33Z","update_time":"2026-06-02T07:06:33Z"}]}}],"payer":{"name":{"given_name":"Peter","surname":"Wouda"},"email_address":"mail@adres","payer_id":"ZXPYQ3FKLXC76","address":{"country_code":"NL"}},"create_time":"2026-06-02T07:06:33Z","update_time":"2026-06-02T07:06:33Z","links":[{"href":"url:api.paypal.com/v2/checkout/orders/xxxxx","rel":"self","method":"GET"}]}
06.02.26 07:06:34

stdClass Object
(
[id] => xxxxx
[intent] => CAPTURE
[status] => COMPLETED
[payment_source] => stdClass Object
(
[paypal] => stdClass Object
(
[email_address] => mail@adres
[account_id] => ZXPYQ3FKLXC76
[account_status] => VERIFIED
[name] => stdClass Object
(
[given_name] => Peter
[surname] => Wouda
)

[address] => stdClass Object
(
[country_code] => NL
)

)

)

[processing_instruction] => ORDER_COMPLETE_ON_PAYMENT_APPROVAL
[purchase_units] => Array
(
[0] => stdClass Object
(
[reference_id] => default
[amount] => stdClass Object
(
[currency_code] => EUR
[value] => 16.00
[breakdown] => stdClass Object
(
[item_total] => stdClass Object
(
[currency_code] => EUR
[value] => 16.00
)

[tax_total] => stdClass Object
(
[currency_code] => EUR
[value] => 0.00
)

)

)

[payee] => stdClass Object
(
[email_address] => This email address is being protected from spambots. You need JavaScript enabled to view it.
[merchant_id] => CNEUY32ZTT68Y
[display_data] => stdClass Object
(
[brand_name] => Pedal Classics
)

)

[description] => Order number B5B6L2
[invoice_id] => 562
[items] => Array
(
[0] => stdClass Object
(
[name] => Madison driving the 1952 VW Beetle (New)
[unit_amount] => stdClass Object
(
[currency_code] => EUR
[value] => 16.00
)

[tax] => stdClass Object
(
[currency_code] => EUR
[value] => 0.00
)

[quantity] => 1
[sku] => Madison_driving_the_1952_VW_Beetle
)

)

[payments] => stdClass Object
(
[captures] => Array
(
[0] => stdClass Object
(
[id] => xxxxx
[status] => COMPLETED
[amount] => stdClass Object
(
[currency_code] => EUR
[value] => 16.00
)

[final_capture] => 1
[seller_protection] => stdClass Object
(
[status] => ELIGIBLE
[dispute_categories] => Array
(
[0] => ITEM_NOT_RECEIVED
[1] => UNAUTHORIZED_TRANSACTION
)

)

[seller_receivable_breakdown] => stdClass Object
(
[gross_amount] => stdClass Object
(
[currency_code] => EUR
[value] => 16.00
)

[paypal_fee] => stdClass Object
(
[currency_code] => EUR
[value] => 0.89
)

[net_amount] => stdClass Object
(
[currency_code] => EUR
[value] => 15.11
)

)

[invoice_id] => 562
[links] => Array
(
[0] => stdClass Object
(
[href] => url:api.paypal.com/v2/payments/captures/xxxxx
[rel] => self
[method] => GET
)

[1] => stdClass Object
(
[href] => url:api.paypal.com/v2/payments/captures/xxxxx/refund
[rel] => refund
[method] => POST
)

[2] => stdClass Object
(
[href] => url:api.paypal.com/v2/checkout/orders/xxxxx
[rel] => up
[method] => GET
)

)

[create_time] => 2026-06-02T07:06:33Z
[update_time] => 2026-06-02T07:06:33Z
)

)

)

)

)

[payer] => stdClass Object
(
[name] => stdClass Object
(
[given_name] => Peter
[surname] => Wouda
)

[email_address] => mail@adres
[payer_id] => ZXPYQ3FKLXC76
[address] => stdClass Object
(
[country_code] => NL
)

)

[create_time] => 2026-06-02T07:06:33Z
[update_time] => 2026-06-02T07:06:33Z
[links] => Array
(
[0] => stdClass Object
(
[href] => url:api.paypal.com/v2/checkout/orders/xxxxx
[rel] => self
[method] => GET
)

)

)

Last edit: 4 days 20 hours ago by remcovolbeda. Reason: Removed website address
The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

Time to create page: 0.994 seconds
Powered by Kunena Forum