• Resolved inahaystack

    (@inahaystack)


    Hi,
    Thanks so much for creating this plugin. Seems like one of the only ones that’s free for subscriptions!

    I am having a bit of trouble setting it up and wonder if you could help please. I have gone through the process of setting up a product and plan on Stripe, and have completed all the steps in Direct Stripe, including creating the button. However, there is a spinning circle (presumably this means it is saving?) that doesn’t stop spinning. When I exit the Direct Stripe page and revisit it, the button has not saved. All the information I have inputted has been deleted.

    Also, when I input test card details into the button on my website it says “you did not set a valid publishable key […].” Do you know what might be causing this?

    Thank you so much in advance,

    Kate

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello Kate,

    Thank you for using Direct Stripe.

    I have been aware of issues to save options when using an option from a theme that blocked requests formed by long URLs.

    Do you have this kind of option enabled ?

    Could you test again after switching to default twentyNineteen theme and turning off other plugins ? That would confirm or discard an incompatibility issue.

    Also for the Publishable key issue, could you make sure that you pasted the correct API keys, live keys in live input field and Test keys in test input field.

    Best wishes,

    Nico

    Thread Starter inahaystack

    (@inahaystack)

    Hi Nico,

    Thanks so much for your quick reply. I will test with twentyNineteen. If there is an incompatibility issue, will I be unable to work with my current theme?

    Thanks a lot,

    Kate

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello Kate,

    In case this issue disappears when disabling the theme or a plugin, I would try to find the cause of the incompatibility.
    If nothing happens after deactivating all other plugins and switching theme and the issue persists, I would ask for the versions you are using for WordPress, Direct Stripe, jQuery and your server details such as PHP version, CDN used or CloudFlare, or extra security Firewall/service…

    Best wishes,

    Nico

    Thread Starter inahaystack

    (@inahaystack)

    Hi Nico,

    I tried it with the twentyNineteen theme. The button is still not saving. The blue spinning disk appears and then disappears for each step of setting up the button apart from the final step. Ie when I click ‘create button’ the disk continues to spin, which I assume means it hasn’t yet saved the button. Navigating away from the page and going back to it reveals no button has been saved.

    I was using Direct Stripe 2.1.10.3, but have just updated to 2.1.12. I am using the latest version of WordPress. Server details: PHP version 7, Apache 2.4.

    Thank you so much for your help.

    Kate

    Thread Starter inahaystack

    (@inahaystack)

    Could the problem be caused by me not activating my Stripe account? I haven’t activated it and am just using the test API keys.

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello Kate,

    Did you also tried deactivating all other plugins ?

    When you say “I was using Direct Stripe 2.1.10.3, but have just updated to 2.1.12” : Did you test with both version ?

    Are you using a CDN, Cloudflare or a security service on the server side ?

    I’m not sure I understand “activated Stripe account”, did you paste the Stripe API keys in their corresponding input field (Live or Test) ?

    Best wishes,

    Nico

    Thread Starter inahaystack

    (@inahaystack)

    Hi Nico,

    Thanks for your response.

    I’ve tried deactivating all plugins apart from the one that came with the theme (Kadence Toolkit).

    I tested with both versions of Direct Stripe.

    I’m not sure about the CDN, Cloudfare or security service. How can I check this? My host is Hostinger.

    Yes, I pasted the Stripe API keys in their corresponding input field. I only used the test keys, not the live ones. I haven’t activated my Stripe account to work with live keys yet (ie I haven’t put in my bank information etc). I assume the test keys should still work though!

    Thanks a lot,

    Kate

    Thread Starter inahaystack

    (@inahaystack)

    It sounds like the situation described in number 1 in this post: https://www.ads-software.com/support/topic/cant-create-button-2/

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hi Kate,

    In the post you mention, the issue was caused by the “X Filter Long URL Strings” option set in iThemes options. That was the issue I mentioned above, make sure you don’t have this kind of option activated in your theme or plugin.

    Are you able to add a button to a page using a shortcode like :
    [direct-stripe type=”payment” amount=”500″]

    If yes could you share a link where I could test this button ?

    Best wishes,

    Nicolas

    Thread Starter inahaystack

    (@inahaystack)

    Hi Nico,

    It’s the same with that shortcode. A button is created, and the checkout pops up when I click on the button. But when the details are inserted I get the following message:

    “You did not set a valid publishable key. Call Stripe.setPublishableKey() with your publishable key. For more info see https://stripe.com/docs/stripe.js”

    Can I send you the link privately, not through the support forum please?

    I haven’t seen anything in the theme with the long url strings, but I could be missing something.

    Thanks again!

    Kate

    • This reply was modified 5 years, 10 months ago by inahaystack.
    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hi Kate,

    Please visit https://newo.me to send me the Link via email.

    Best wishes,

    Nicolas

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Buttons not saving’ is closed to new replies.