We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, for Tap To Pay and Card Payments, when the amount is lower than the minimum supported in a country, we get the following response
curl -v -X POST 'https://public-api.wordpress.com/rest/v1.1/jetpack-blogs/198349371/rest-api/?locale=en_US' .... '{"path":"/wc/v3/payments/orders/2408/capture_terminal_payment/\u0026_method\u003dpost","json":"true","body":"{\"payment_intent_id\":\"pi_\"}"}'
{"error":"wcpay_capture_error","message":"Payment capture failed to complete with the following message: Minimum required amount was not reached."}
To handle it correctly and show complete necessary information on the clients, we need:
wcpay_capture_error_amount_too_small
wcpay_capture_error
"minimum_amount": "500"
pdfdoF-67u-p2
The text was updated successfully, but these errors were encountered:
mgascam
Successfully merging a pull request may close this issue.
Description
Currently, for Tap To Pay and Card Payments, when the amount is lower than the minimum supported in a country, we get the following response
To handle it correctly and show complete necessary information on the clients, we need:
wcpay_capture_error_amount_too_small
instead of genericwcpay_capture_error
"minimum_amount": "500"
in the responsAdditional context
pdfdoF-67u-p2
The text was updated successfully, but these errors were encountered: