Simple Membership Plugin › Forums › Simple Membership Plugin › Smart Checkout Button Won't Show
Tagged: paypal
- This topic has 15 replies, 3 voices, and was last updated 7 years, 6 months ago by
flachbau.
-
AuthorPosts
-
February 8, 2019 at 8:23 pm #17303
Condog
ParticipantHi I have heaps of existing pp_buy_now buttons showing on my site, but my newly added pp_smart_checkout buttons will not show.
I followed documentation and have the Client_ID and Secret as well as the Sandbox Client_ID and Sandbox Secret in the correct places.
I have not pasted an script in the head. I assume the plugin takes care of any script requirements.
Suggestions appreciated.
February 8, 2019 at 9:40 pm #17304mbrsolution
ModeratorHi, can you share the shortcode you are using?
Thank you
February 9, 2019 at 3:17 am #17305Condog
Participant[swpm_payment_button id=9063]
February 9, 2019 at 3:19 am #17306Condog
Participanthttps://cl.ly/5241b9b6eeb9
Image of the link code in the buttons list.February 9, 2019 at 7:03 am #17307mbrsolution
ModeratorHi, what happens if you add the shortcode in a testing page by itself?
[swpm_payment_button id=9063]You did mentioned that you followed these instructions, correct!
February 10, 2019 at 12:17 am #17309flachbau
ParticipantI have this same exact issue on the same exact date 2/8/19. I followed the instructions exactly. I have put the shortcode (button) on a page by itself still does not display. No matter what I try the button will not display.
February 10, 2019 at 12:56 am #17311Condog
ParticipantCorrect. I followed instructions and tried it on a new post by itself and on a new page by itself. No luck.
February 10, 2019 at 1:06 am #17312mbrsolution
ModeratorHi, please carry out the following troubleshooting steps.
Kind regards
February 10, 2019 at 1:13 am #17314Condog
ParticipantTried it on another site running the same theme and it worked.
So i suspect it could be a plugin conflict. Thanks .February 10, 2019 at 3:47 am #17315Condog
ParticipantDo you think it could be due to this site running through cloudflare?
If so anyone know of a solution / workaround?
February 10, 2019 at 4:02 am #17316mbrsolution
ModeratorHi,
Do you think it could be due to this site running through cloudflare?
Are you using a cache system or plugin? Make sure that you exclude any registration pages in your site.
Kind regards
February 10, 2019 at 4:34 am #17317Condog
ParticipantThanks tried that, it didnt help, but i did find this int he console.
JQMIGRATE: Migrate is installed, version 1.4.1
VM2691:2 Uncaught ReferenceError: paypal is not defined
at <anonymous>:2:13
at t.activateScript (rocket-loader.min.js:1)
at rocket-loader.min.js:1
at t.run (rocket-loader.min.js:1)
at rocket-loader.min.js:1
at HTMLScriptElement.<anonymous> (rocket-loader.min.js:1)February 10, 2019 at 5:39 am #17318Condog
ParticipantSo I Googled and found that i should log the errors with this script
script src=”https://www.paypalobjects.com/api/checkout.js” data-version-4 data-log-level=”info”></script
I pasted that above the button and boom it shows.
I’m not convinced thats the script I should have ther, but it does the trick.
February 13, 2019 at 7:02 pm #17336flachbau
ParticipantTried the solutions and still cannot get the button to show.
February 13, 2019 at 10:04 pm #17340mbrsolution
Moderator@flachbau can you start a new support thread. This one is marked as resolved.
Thank you
-
AuthorPosts
- You must be logged in to reply to this topic.