-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
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
AfterPay/ClearPay error - Missing shipping address #263
Comments
Hi @philipboomy Thank you for reporting, we have pushed up a fix for this that has been included in the latest release of the plugin The README has been updated with instructions on how to get this all working. Thanks! |
I am not sure how this works. According to Stripe the address is recommended to be send when creating the payment intent https://stripe.com/docs/payments/afterpay-clearpay/accept-a-payment?platform=web&ui=API#web-create-payment-intent so my question is has that been done? Stripe support told me this: I cannot see where in the readme docs it is solved unless it is being solved via this https://github.com/craftcms/commerce-stripe#order-optional but it mention billing details. I am using this approach https://craftcms.com/knowledge-base/custom-stripe-commerce-checkout and I am on a 1 page checkout so I can call a function when billing address is submitted and then submitting this
I tried adding
but still getting the error so not sure what to do. You got it working with passing the shipping details frontend? Stripe "recommends" doing the shipping details from the server but not sure if "recommend" actually means we have to. Thanks |
Description
When submitting an order where the selected payment method is AfterPay/ClearPay I am getting an error.
Error message
"message": "Missing required param: shipping[address][line1]."
"type": "invalid_request_error"
It may be related to these #257 and #244
Additional info
The text was updated successfully, but these errors were encountered: