Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Solving theme conflict on Stripe buttons

Simple Membership Plugin › Forums › Simple Membership Plugin › Solving theme conflict on Stripe buttons

Tagged: button, error, fatal, pay now, stripe, theme conflict

  • This topic has 1 reply, 2 voices, and was last updated 5 years, 10 months ago by mbrsolution.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • July 11, 2020 at 1:48 am #20553
    EH2
    Participant

    I put Stripe pay now button on the WordPress theme I created, but both SCA and legacy pay now button won’t work correctly.
    They work fine on the default WordPress theme such as Twenty Twenty, so I know this is a theme conflict, but I’m wondering if there is any way to make it work on my WordPress theme.

    Enabling the SWPM debug mode does not show anything.

    [SCA pay now button]
    The first time I click on the Stripe SCA pay now button, it works fine.
    After second time I click on the button, the page says:
    Fatal error! Payment with ref_id swpm_(***payment ID?***)|(***button ID goes here***) can't be found

    [Legacy button]
    Every time I click on the legacy pay now button, the page says (with WP_DEBUG turned on):

    Fatal error: Uncaught Stripe\Error\InvalidRequest: Must provide source or customer. in /wp-content/plugins/simple-membership/lib/stripe-gateway/lib/ApiRequestor.php:210 from API request 'req_wulQm1nsV3Moln' Stack trace:
    #0 /wp-content/plugins/simple-membership/lib/stripe-gateway/lib/ApiRequestor.php(173): Stripe\ApiRequestor::_specificAPIError('{\n "error": {\n...', 400, Object(Stripe\Util\CaseInsensitiveArray), Array, Array)
    #1 /wp-content/plugins/simple-membership/lib/stripe-gateway/lib/ApiRequestor.php(473): Stripe\ApiRequestor->handleErrorResponse('{\n "error": {\n...', 400, Object(Stripe\Util\CaseInsensitiveArray), Array)
    #2 /wp-content/plugins/simple-membership/lib/stripe-gateway/lib/ApiRequestor.php(126): Stripe\ApiRequestor->_interpretResponse('{\n "error": {\n...', 400, Object(Stripe\Util\CaseInsensitiveArray))
    #3 /wp-content/pl in /wp-content/plugins/simple-membership/lib/stripe-gateway/lib/ApiRequestor.php on line 210

    [What I use]
    – WordPress 5.4.2 (latest)
    – SWPM 3.9.8 (latest)
    – PHP 7.2

    Thanks in advance,
    eh2

    July 13, 2020 at 12:17 am #20554
    mbrsolution
    Moderator

    Hi,

    They work fine on the default WordPress theme such as Twenty Twenty, so I know this is a theme conflict, but I’m wondering if there is any way to make it work on my WordPress theme.

    You will have to speak to the developers of your theme about this issue. We don’t maintain themes unfortunately. Let me know what they say.

    Thank you

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

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy