• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Payments Plugin for Stripe

Stripe payment plugins for your WordPress site

  • Home
  • Documentation
  • Addons
  • Login
    • Sign In
    • Edit Profile
    • Terms & Conditions
    • My Downloads
    • License Key
  • Support
    • Support Forum
    • Forum Search
    • Forum Login
    • Forum Registration
    • Email Support for Customers
  • Contact Us
  • Show Search
Hide Search
You are here: Home / Topics / coupon code error

[Resolved] coupon code error

· ·

Home › Forums › Stripe Payments Plugin › coupon code error

Tagged: coupon

  • This topic has 8 replies, 3 voices, and was last updated 5 years, 1 month ago by Admin.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • April 1, 2020 at 12:02 pm #2777
    moonbase
    Participant

    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 #2779
    alexanderfoxc
    Participant

    Hi.

    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
    moonbase
    Participant

    Hi,
    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 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 #2784
    alexanderfoxc
    Participant

    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
    moonbase
    Participant

    Hi,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 #2788
    Admin
    Keymaster

    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
    moonbase
    Participant

    Hi,

    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 #2798
    moonbase
    Participant

    Hi 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 #2807
    Admin
    Keymaster

    It will be best if I can log into your site and take a look. I have sent you an email to organize this.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Featured Addons and Extensions

  • Subscription Payments Addon
  • Additional Custom Fields
  • Secure Downloads Addon
  • Apple Pay, Google Pay, Afterpay

Addon Bundle

Stripe Payments Addon Bundle

A Simple & Lightweight Plugin

Our Philosophy with the Plugin

Support Links

  • Support Forum
  • Support Contact

Search

Copyright © 2025 | Stripe Plugins | A member of the Tips and Tricks HQ family.