Unable to capture payment
See original GitHub issueI am using version 1.2.0 and trying to make payment using instance.payments.capture
, however it throws following error -
(node:5715) Warning: a promise was rejected with a non-error: [object Object]
{ statusCode: undefined, error: undefined }
If I check on the dashboard then under payments tab, I can see the payment getting authorised and using the same payment_id
and amount
(in paise) if I make the request, it still throws the same error. I have reset the API Key and Secret too before sending a fresh request. But no success. It would be great if at least proper error message is shown so that it will be easier to debug.
Let me know if you want any other details.
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Capturing payments - Shopify Help Center
From the Shopify app , tap Orders. · Tap the order that you want to capture payment for. · In the Authorized section,...
Read more >CAPTURE_FAILED and REFUND_FAILED reasons
In some cases, a capture fails because something is configured incorrectly on your Adyen account. This affects all payments processed through your account,...
Read more >Resolving Credit Card Capture Transaction Failure
If the order flow is configured to charge a payment card in two transactions, the following situation is possible. After successful pre-authorization, a...
Read more >Unable to capture funds (PayPal) - WordPress.org
You should be able to capture funds from the Order Details page. You would just need to change the payment status from On...
Read more >Shopify error: "Payment not captured" - Return Magic
This means that there is no transaction linked to the order. There is a couple of possible causes for this error:
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi,
Note: Kindly read the document carefully.
Amount: The amount to be captured (should be equal to the authorized amount, in paise)
To authenticate Rs 51.00, input amount as 5100 paise.
connect to internet