Support » Plugin: Direct Stripe » Issue with button saving

  • Resolved crystalbyrdfarmer

    (@crystalbyrdfarmer)


    Hi Nicholas, I have the issue noted in a few other posts about the button info not saving. I could not find a setting about long URLs in my theme, but one plugin seemed to be a problem–Wordfence. I tried turning it off to edit buttons but it saved some things and not others. I am using the SweetDate theme and WordPress 5.1.1, PHP 5.6.40. Here are the errors that show up in the Console:

    GET https://blackandpolydating.com/wp-json/wp/v2/pages?per_page=100 500
    (anonymous) @ VM299:1
    (anonymous) @ xhr.js:178
    t.exports @ xhr.js:12
    t.exports @ dispatchRequest.js:57
    Promise.then (async)
    i.request @ Axios.js:51
    i.(anonymous function) @ Axios.js:61
    (anonymous) @ bind.js:9
    mounted @ setRedirection.vue:94
    Lt @ vue.esm.js:2921
    insert @ vue.esm.js:4158
    C @ vue.esm.js:5960
    (anonymous) @ vue.esm.js:6179
    t._update @ vue.esm.js:2660
    i @ vue.esm.js:2788
    ya.get @ vue.esm.js:3142
    ya @ vue.esm.js:3131
    Bt @ vue.esm.js:2795
    Ee.$mount @ vue.esm.js:8540
    Ee.$mount @ vue.esm.js:10939
    t._init @ vue.esm.js:4640
    Ee @ vue.esm.js:4729
    (anonymous) @ main.js:61
    e @ bootstrap 42c04af5b066a4963c91:19
    (anonymous) @ bootstrap 42c04af5b066a4963c91:62
    (anonymous) @ bootstrap 42c04af5b066a4963c91:62

    Error: Request failed with status code 500
    at t.exports (createError.js:16)
    at t.exports (settle.js:18)
    at XMLHttpRequest.f.(/wp-admin/anonymous function) (https://blackandpolydating.com/wp-content/plugins/direct-stripe/admin-app/dist/build.js?ver=0.0.1:6:34728)

    GET https://blackandpolydating.com/wp-json/wp/v2/pages?per_page=100 500
    (anonymous) @ VM299:1
    (anonymous) @ xhr.js:178
    t.exports @ xhr.js:12
    t.exports @ dispatchRequest.js:57
    Promise.then (async)
    i.request @ Axios.js:51
    i.(anonymous function) @ Axios.js:61
    (anonymous) @ bind.js:9
    mounted @ setTC.vue:119
    Lt @ vue.esm.js:2921
    insert @ vue.esm.js:4158
    C @ vue.esm.js:5960
    (anonymous) @ vue.esm.js:6179
    t._update @ vue.esm.js:2660
    i @ vue.esm.js:2788
    ya.get @ vue.esm.js:3142
    ya @ vue.esm.js:3131
    Bt @ vue.esm.js:2795
    Ee.$mount @ vue.esm.js:8540
    Ee.$mount @ vue.esm.js:10939
    t._init @ vue.esm.js:4640
    Ee @ vue.esm.js:4729
    (anonymous) @ main.js:61
    e @ bootstrap 42c04af5b066a4963c91:19
    (anonymous) @ bootstrap 42c04af5b066a4963c91:62
    (anonymous) @ bootstrap 42c04af5b066a4963c91:62

    Error: Request failed with status code 500
    at t.exports (createError.js:16)
    at t.exports (settle.js:18)
    at XMLHttpRequest.f.(/wp-admin/anonymous function) (https://blackandpolydating.com/wp-content/plugins/direct-stripe/admin-app/dist/build.js?ver=0.0.1:6:34728)

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

    (@nahuelmahe)

    Hello @crystalbyrdfarmer ,

    Thank you for using Direct Stripe.

    Thank you also for sharing details about the issue. Before I try to help debugging what could be a specific issue, I just found out that special characters were causing validation issue that returned this kind of 500 error on server side. Could you let me know if you use characters like “&” or “%” in the options input ?

    Otherwise, did you test turning off all other plugins and switching to default twentynineteen theme ?

    Kind regards,

    Nicolas

    Actually, I did use an & in the company name. I changed that and the buttons are working perfectly!

    The final issue is even though I set the button color in the Styles Settings, the button in the pop-up is still the default blue. Can that be changed? Do you have plans to add a Cancel Subscription button?

    Thank you!

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @crystalbyrdfarmer ,

    Thank you for this confirmation, I’m glad you could make it work.

    I’ll try to push the update to .org next week to fix that issue.

    Do you have an url where I can see the button styles ? This can happen if the theme or a plugin causes interference.

    Another user mentioned a partial solution about the end of subscriptions that I could apply in an add-on but I need to find the time to do it and can’t promise when that will be, you can see the post at https://wordpress.org/support/topic/subscription-plans-stop-it-after-x-payments/

    Kind regards,

    You can see the button styles here: https://blackandpolydating.com/membership-account/. If you need to login, use username “test11” and pw “testing”. I’m using the SweetDate theme and Elementor.

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @crystalbyrdfarmer ,

    I’m sorry I didn’t get earlier that you were talking about the button in the modal form. Unfortunately this button can’t be styled, it is the default form from Stripe and don’t have option for this.

    I addressed the issue with & symbol that prevented settings to be saved in the 2.1.15 version just pushed to .org

    Also, I suggest you delete the user which credentials were shared in the previous comment and is public.

    Let me know if you have another concern regarding Direct Stripe.

    Nicolas

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue with button saving’ is closed to new replies.