We are testing manual capture of payments on our payment gateway. After setting the Payment Capture parameter on the Store to “Manually”, we are not seeing the x_transaction_type header arrive on the request to our gateway. Without this parameter we can’t process the transaction as an authorization without capture since we can’t determine by the headers sent that this is the setting used in Shopify. The capture, void and refund URL’s on the gateways were also set, but we still don’t get the transaction request at checkout
Here’s the details for this test we just ran:
Our gateway setup:
Payment capture set to Manually capture payments for orders:
Checkout with our gateway and redirection:
we receive the usual headers, but no x_transaction_type indicating we should authorize only instead of capture (raw form data attached):
We are following the guidelines from these links:
Also looking at the fields that apply when order management is being used:
Thanks in advance!!
See the last section in this doc: https://shopify.dev/docs/hosted-payment-sdk/getting-started#why-am-i-receiving-empty-order-managemen...
Payment requests to your integration have their parameters stored in the URL as query string parameters, butorder managementrequests have their parameters stored within the request body instead. When your gateway processes order management requests, make sure that it reads the request body.
Can you confirm you're reading the request body for order management requests?
JB | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution