While building out a new landing page we needed to add a link to a payment button from PayPal. I have the embed code and have tried using it in a few different ways, first as basic source code in a Rich Text Module but when that didn't work I created it as it's own unique Module. The preview of the model looks fine as you can see below:
Hi @Pagenoi , thanks for sharing your implementation, though it seems like the issue is resolved now, would you mind sharing what was the fix? Did you find the solution in the link I posted or was it something else?
I have tried implimenting those solutions in every way that I am possibly able to but they still don't seem to work. The problem is that I can get the buttons to show up on numerous other pages without any problem, just not this specific template page. I specifically chose this template page because it has no JS and limited CSS so I didn't think I would run into any interference.
Hi @Pagenoi , thanks for sharing your implementation, though it seems like the issue is resolved now, would you mind sharing what was the fix? Did you find the solution in the link I posted or was it something else?
I'm still not entirely sure what was conflicting but after testing a few different solutions I realized there was something in the footer causing the issue. I rebuilt the footer using just plain text & HTML which looked similar to the previous footer but wasn't driven by the main CSS.
Hello @Pagenoi , after taking a look at your website I noticed an error that the javascript console outputs :
Uncaught Error: Detected container element removed from DOM
This error seems to be related to the proper rendering of the element on the page, further investigation pointed me to this related issue in the repository of the paypal integration, seems to be a bug in the code.
There are some answers in there that should help you overcome this issue, i'm particulary fond of this one. Should you need further help, in order to provide it, it would be helpful to share your code implementation so I could take a closer look to what's happenning.
If you found my answer helpful and your issue is resolved mark it as a solution.