Home › Forums › Stripe Payments Plugin › coupon code error
Tagged: coupon
- This topic has 8 replies, 3 voices, and was last updated 4 years, 7 months ago by Admin.
-
AuthorPosts
-
April 1, 2020 at 12:02 pm #2777moonbaseParticipant
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 #2779alexanderfoxcParticipantHi.
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 #2782moonbaseParticipantHi,
Thank you for your support.My setting is as follows.
-stripe payment plugin(woordpress) ver:2.0.24
-php ver:7
-language :japanese
-addon use:subscriptions,additional custom fieldsThis 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 #2784alexanderfoxcParticipantThank 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 #2785moonbaseParticipantHi,alexanderfoxc
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.YUKO NAGAKI
marcury-vision.com/asp-products/session-1-document/April 4, 2020 at 12:20 am #2788AdminKeymasterLooks 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 #2789moonbaseParticipantHi,
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 NAGAKI
April 5, 2020 at 5:09 am #2798moonbaseParticipantHi there,
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.
YUKO NAGAKI
THANKS,April 6, 2020 at 12:23 am #2807AdminKeymasterIt will be best if I can log into your site and take a look. I have sent you an email to organize this.
-
AuthorPosts
- You must be logged in to reply to this topic.