Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter codingpuss

    (@codingpuss)

    I forgot to mention that I used private mode

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @codingpuss,

    The plugin is deactivated right now, but i saw that you set amount=”88″ which is interpreted as 0.88 by stripe and too low to be able to process.
    To charge 88, please insert 8800 as the amount.

    Best regards

    Thread Starter codingpuss

    (@codingpuss)

    Thanks for the reply, Nicolas.

    I used do_shortcode on your shortcode to get the HTML code and paste to the page (I parse the shortcode via ajax due to my requirement that I need the user to select the donation amount). Prior to this update, it worked perfectly. However, it doesn’t work now.

    Do you experience the same problem?

    Thannks

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @codingpuss,

    Do you mean that the button appear after the user selected an optional amount?

    For me echo do_shortcode('[direct-stripe type="donation"]'); when used in template file works.

    Is there an error code in your console? What is the answer of the ajax request?

    Regards

    Thread Starter codingpuss

    (@codingpuss)

    Hello Nicolas,

    Thanks for your reply. Please have a look at this video:

    I sent the amount via ajax and the php code will output the shortcode and put into the orange button.

    As you can see the button doesn’t work. It worked before.

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @codingpuss,

    Thank you for the feedback, I realize it may be linked with the way I set up the button to retrieve the data to allow users to use multiple buttons in same page.

    That is clearly an issue in your case and in other cases when the page is loaded via ajax and is not fully reloaded.

    My idea would be to set the use of multiple button in same page to be optional (it would also increase performance for single buttons).

    But as always I need time and can’t promise any deadline.

    Thank you again

    Thread Starter codingpuss

    (@codingpuss)

    Thank you Nicolas,

    It seems you didn’t print the data for the button via ajax.

    I figured out a way to work around.

    Thanks for your great plugin.

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @codingpuss,

    That’s exactly it, I’ll work on that whenever I can.

    I’m glad you found a solution.

    Thank you again for using Direct Stripe and for your feedback.

    Best regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Button not working after update’ is closed to new replies.