Paypal Checkout Produces a Blank Window - Forum | JoomShaper
Staff replied Helix Framework

Paypal Checkout Produces a Blank Window

Asked by Matt Hunt 2 years ago Last activity 2 years ago

Hi,
We have the paypal donation code on our site, but when someone goes to use it a blank screen pops up covering the paypal login screen. I've tried the code in a Raw HTML add on and in a module with the same results.

Paypal tech support is insisting that the cause of this is the template and that the code is within a frame. Not sure what they are talking about as there are no frames on that page but figured I'd run it by you folks as it has me stumped.

Thanks,

11 replies

Toufiq Senior Staff

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. Did you check Joomla default Template? Does it works with the Joomla default Template?

Best regards,

Toufiqur Rahman (Team Lead, Support)

Matt Hunt Asked this

You guys are my extension provider, but I assume you mean PayPal

Toufiq Senior Staff

Which extension?

Matt Hunt Asked this

Page Builder and Helix Ultimate

Toufiq Senior Staff

Can you clarify how the PayPal checkout issue is related to our page builder and template?

Matt Hunt Asked this

I'm not sure, thats the thing. I'm just going off of what PayPal support is telling me. They say it is due to the "Frame" that the code is in. There are no i-frames on the page, so I'm not sure what they are referring to other than possibly the Page Builder containers. But honestly having tested the code in a joomla article, I'm not sold on that idea.

Toufiq Senior Staff

Which extension do you use to sell your products? Or where did you use the PayPal? Explain more details. Thanks

Matt Hunt Asked this

Hi,
As I mentioned before, this is just the donation code. There is no shopping cart, no other extension is involved in any way. Its just the paypal code on a page.

Toufiq Senior Staff

Did you use raw HTML addon or text addon. You should use the raw html addon. Thanks

Matt Hunt Asked this

I tried both the raw html addon inserting the paypal code directly and the joomla module addon with Flexi Custom Code, an extension I've used many times before for this sort of thing and both produce the same results.

Toufiq Senior Staff

Share your code to check my side. Thanks

Matt Hunt Asked this

I've tried sending you the code using the code tags and also in the hidden content section and your system won't take it, it just sits there and spins

Matt Hunt Asked this

Here you go

Toufiq Senior Staff

I have checked my end and it works fine. You can't use Javascript code inside the Raw HTML addon.

<form action="https://www.sandbox.paypal.com/donate/?hosted_button_id=Q48Z63DDHE2UE" method="post">
 <!-- Identify your business so that you can collect the payments. -->
 <input type="hidden" name="business" value="[email protected]">
 <!-- Specify details about the contribution -->
 <input type="hidden" name="no_recurring" value="0">
 <input type="hidden" name="item_name" value="Friends of the Park">
 <input type="hidden" name="item_number" value="Fall Cleanup Campaign">
 <input type="hidden" name="amount" value="25.00">
 <input type="hidden" name="currency_code" value="USD">
 <!-- Display the payment button. -->
 <input type="image" name="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate">
 <img alt="" width="1" height="1" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >
</form>

Or

<form action="https://www.sandbox.paypal.com/donate/?hosted_button_id=Q48Z63DDHE2UE" method="post" target="_top">
    <input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Matt Hunt Asked this

That's not the code I'm trying to use.

Toufiq Senior Staff

You should follow the right process to create donate button using PayPal. I have did and it works fine did you see my code?

Log in to reply.