Home › Forums › Stripe Payments Plugin › coupon code error
- This topic has 8 replies, 3 voices, and was last updated 3 years, 1 month ago by Admin.
April 1, 2020 at 12:02 pm #2777
I use stripe payment with wordpress plugin, but when I add a new coupon code
I get an error that stripe-payment-coupon cannot be read. Would you please tell me what to do?April 1, 2020 at 1:07 pm #2779alexanderfoxcParticipant
Can you copy and paste exact error message you’re getting? Or a screenshot of it would be much better.April 2, 2020 at 12:51 am #2782
Thank you for your support.
My setting is as follows.
-stripe payment plugin(woordpress) ver:2.0.24
-addon use:subscriptions,additional custom fields
This message appears when you create a new coupon after activating the coupon function.
“Cannot read stripe-payments-coupons.”
Regards,April 2, 2020 at 9:26 pm #2784alexanderfoxcParticipant
Thank you for additional info.
However, I’m unable to reproduce the issue on my test server. I’ve installed clean WordPress 5.4 on a server with PHP 7. Switched the language to Japanese, installed Stripe Payments, Subscriptions and ACF addon. Then enabled coupons and created a coupon without any issues. I have even created a coupon with discount code on Japanese (25オフ) and it also worked just fine.
Can you try to delete Stripe Payments plugin and install it again? Don’t worry, your settings will not be deleted.
Also, if this won’t help, can you try to disable ALL plugins BUT Stripe Payments, Subscriptions and Additional Custom Fields and see if this helps?April 3, 2020 at 1:38 am #2785
Removing and reinserting the stripe payment plugin, disabling most other plugins, and enabling only stripe payment, the phenomenon was the same. It seems that coupon.php exists under the stripe payment of wordpress but cannot be read.
Since “Unreadable error” is displayed in Japanese, there may be a problem with the wordpress Japanese environment. How is it? I am in trouble because I cannot use the following. I wonder if can’t open coupon setting view.
marcury-vision.com/asp-products/session-1-document/April 4, 2020 at 12:20 am #2788AdminKeymaster
Looks like you are using the Legacy/Old API. Please go to the advanced settings menu of the plugin and uncheck the following checkbox to use the NEW API:
Stripe Payments -> Settings -> Advanced Settings -> Enable Legacy Checkout API
In the new API, the coupon is applied in the payment popup window.
Let me know if you see an issue after that.April 4, 2020 at 1:14 am #2789
Thank you very much for contacting me. I tried it immediately, but the coupon pop-up window did not appear even if I turned off Enable Legacy Checkout.
The popup screen doesn’t seem to work with the old API or the new API.
The coupon setting screen is out, but it seems that the newly added screen can not be loaded.
YUKO NAGAKIApril 5, 2020 at 5:09 am #2798
Additional information. additinal setting-> enable legacy checkout When the API is set to ON, the coupon code input can be displayed. When set to OFF, the coupon code input and the coupon registration screen are not displayed and a file reading error occurs.
THANKS,April 6, 2020 at 12:23 am #2807AdminKeymaster
It will be best if I can log into your site and take a look. I have sent you an email to organize this.
- You must be logged in to reply to this topic.