Stripe Checkout does not process
I set up the Stripe account and the payment plan. When I try the checkout, I got this message
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://js.stripe.com') does not match the recipient window's origin ('https://fg.letsapp.cloud').
How to set the recipient window ? Do I miss anything ?
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://js.stripe.com') does not match the recipient window's origin ('https://fg.letsapp.cloud').
How to set the recipient window ? Do I miss anything ?
It is strange that it works in local development, but not in the production server ?! The Request POST body are exactly the same in both environments.
The Stripe error log is:
The Stripe error log is:
{
"expand": {
"0": "pending_setup_intent",
"1": "latest_invoice.payment_intent"
},
"items": {
"0": {
"plan": " plan_GPIuM1vUCPBV70"
}
},
"off_session": "true",
"trial_from_plan": "true"
} {
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such plan: plan_GPIuM1vUCPBV70",
"param": "plan",
"type": "invalid_request_error"
}
}
The plan ID should be fine (double checked).
}
The plan ID should be fine (double checked).
Yeah, I"m running in dev mode, the stripe plan is in test, and I still can't see it. When I click on the plan from the jumpstart admin, it tries to show me the plan as if it were a production plan, but it's not. It picks up the stripe credentials in dev, just apparently looks for a stripe plan in prod.
Notifications
You’re not receiving notifications from this thread.