I have a two stripe profiles for the same account, one is for my site which is a UK website, and the other profile is for the US website. The UK direct stripe setup works fine, but even after using the same process as the UK site (using the US profile keys) I cannot get it working at all. The message I get in stripe logs is:
Status 404
Request POST body:
{
"customer": "cus_As8wFdYFlq2UIk",
"plan": "yearlystandard",
"metadata": {
"description": ""
}
}
Response Body:
{
"error": {
"type": "invalid_request_error",
"message": "No such customer: cus_As8wFdYFlq2UIk",
"param": "id"
}
}
Hello @wesmcdermott,
Thank you for using Direct Stripe.
Are your two websites sharing the same WordPress admin area? And users?
It seems that the user for this transaction has a stripe ID in the WordPress admin area but is unknown in Stripe account.
Could you try deleting the Stripe ID of this user in your WordPress admin and try a new transaction?
Best regards,
Hi @nahuelmahe,
That sorted the issue thanks. I’ve just done a transaction with a new user account 🙂
PS. I’m not getting an email to say that the transaction has been successful, despite me writing the emails and selecting the boxes for them to send within the admin area od the direct stripe plugin?
Hello @wesmcdermott,
Thanks again for using Direct Stripe. I’m glad you got it working!
Except for the email part.. Did you check your spam folder?
Did you check your WordPress installation sends emails (like through forms) correctly?
Best regards,