You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bit me, thinking the same permissions are needed for prod and test mode.
Excerpt from doc for the customer portal:
Previewing the portal as a read-only version is only available when your Dashboard is in test mode.
If you’re unable to preview and test the portal, check your settings to make sure that your configuration is saved in test mode.
For previewing and testing to work, you also need to have edit permissions in the Dashboard.
The error returned without the right permissions is:
stripe.error.PermissionError: Request req_*************: The provided key 'rk_live_*********************************************************************************************' does not have the required permissions for this endpoint on account 'acct_1MifSkHDCN1pZZvY'.
Having the 'rak_customer_portal_write' permission would allow this request to continue.
Searching rak_customer_portal_write anywhere on Stripe return 0 results because it is written customer_portal_write in the doc.
So I finally found the Permission Reference page to try to make things right and for whatever reason it is in the Apps part of the doc, the part that explain how to create an app for Stripe Marketplace.
And found this:
If your app performs an action it lacks permissions for, Stripe might raise an invalid request error.
But Elements is not an API permission but a JS permission (specific to an App ?)
At this point I gave up, I have 12 tab open on the stripe doc.
I think I will give ALL the permissions to my backend.
Can someone show me an alternative to Stripe, pls ?
I hate Stripe SO much...
The text was updated successfully, but these errors were encountered:
This bit me, thinking the same permissions are needed for prod and test mode.
Excerpt from doc for the customer portal:
Ref
The error returned without the right permissions is:
Searching
rak_customer_portal_write
anywhere on Stripe return 0 results because it is writtencustomer_portal_write
in the doc.So I finally found the Permission Reference page to try to make things right and for whatever reason it is in the Apps part of the doc, the part that explain how to create an app for Stripe Marketplace.
And found this:
Ref
But that's not true it raise a permission error probably because it is only true for an App ?
I finally found that the customer portal needs:
customer_portal_read
andcustomer_portal_write
but also there is a mention ofelements_write
Ref
But
Elements
is not an API permission but a JS permission (specific to an App ?)At this point I gave up, I have 12 tab open on the stripe doc.
I think I will give ALL the permissions to my backend.
Can someone show me an alternative to Stripe, pls ?
I hate Stripe SO much...
The text was updated successfully, but these errors were encountered: