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
I'm in the UK. My Statamic locale is set to UK as described in your docs, and the field has GBP set as the currency. My Stripe account is also a GBP account. I get the following error from Stripe when using the fieldtype with a product:
[13:57:47] LOG.error: StatamicStripeCheckout createCheckoutSession StripeService API Error: The price specified supports currencies of aud which doesn't include the expected currency of gbp.
it works as expected. I can submit as a PR if that's useful. BTW Thanks for this great addon - just scoping things out but will likely purchase for a client's production site as it's a huge timesaver :)
The text was updated successfully, but these errors were encountered:
Totally my bad, sorry. I've fixed this up and released 1.0.1 which should address it.
Time saving is why we created it too: had the need for a few clients but just had to keep reminding ourselves of the scope: it's not an online store, but a hook in to Stripe for forms. Glad you're finding it useful!
I'm in the UK. My Statamic locale is set to UK as described in your docs, and the field has GBP set as the currency. My Stripe account is also a GBP account. I get the following error from Stripe when using the fieldtype with a product:
This appears to be because 'AUD' is hardcoded at line 152 of StripeService.php:
If I change this to
it works as expected. I can submit as a PR if that's useful. BTW Thanks for this great addon - just scoping things out but will likely purchase for a client's production site as it's a huge timesaver :)
The text was updated successfully, but these errors were encountered: