-
Notifications
You must be signed in to change notification settings - Fork 19
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
Adding subscription plan to payment form errors #369
Comments
Hi @splendidrob I was able to recreate the overflow issue and I have reported it to Craft CMS I was unable to recreate the SQL error, is there any chance that you can send me a screenshot to support@enupal.com to see how long if the plan name? |
Hi @andrelopez I too have run into this issue today doing similar. After selecting a subscription plan (for the subscription type "Customer chooses plan" subscription plan matrix block) to an existing payments form and then attempting to save. Stack trace is:
Craft version: Craft Pro 4.5.6.1 |
Just checking in if any new guidance on this? Doesn't seem to currently be possible to use this for subscriptions? |
I am on it |
@splendidrob could you please let me know your Stripe API version? on your Stripe Dashboard click on Developers |
API version [2023-10-16] Default Latest |
Thanks the issue is related to a new setting introduced on Craft 4.5 13025 I am working on a solution now |
We just released Stripe Payments v5.5.0 with a fix to this issue. Thanks for reporting and let us know if that works on your end |
Awesome! Thats fixed...many thanks for sorting! |
Description
Testing a subscription plan - added the first one to the payment form in the matrix for multiple plans, errors with the following:
Caused by: PDOException
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'field_subscriptionPlan_selectPlan_wegrnswj' at row 1
This is a subscription price added to a product within stripe. The title seems to be pulling in the price id also and flows out of the dropdown box...
Craft version: Craft Pro 4.5.5
PHP version: 8.2.0
Database driver & version: MySQL 5.7.39
Plugin version: 5.4.0
Is [SCA] and Stripe Checkout enabled?: yes
The text was updated successfully, but these errors were encountered: