Paypal Checkout Produces A Blank Window - Question | JoomShaper

Paypal Checkout Produces A Blank Window

MH

Matt Hunt

Helix Framework 1 month 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,

0
21 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #159245

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)

0
MH
Matt Hunt
Accepted Answer
1 month ago #159264

Good morning, Just switching it to use the default template using https://friendsofmessalonskee.com/get-involved/become-a-member-or-donate/?&template=cassiopeia It still causes the blank page.

I created a test article and put the module there with same result https://friendsofmessalonskee.com/test/?template=cassiopeia

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #159286

You need to contact your extension provider.

0
MH
Matt Hunt
Accepted Answer
1 month ago #159288

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #159292

Which extension?

0
MH
Matt Hunt
Accepted Answer
1 month ago #159293

Page Builder and Helix Ultimate

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #159299

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

0
MH
Matt Hunt
Accepted Answer
1 month ago #159303

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.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #159338

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

0
MH
Matt Hunt
Accepted Answer
1 month ago #159382

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.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #159388

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

0
MH
Matt Hunt
Accepted Answer
1 month ago #159391

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.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #159392

Share your code to check my side. Thanks

0
MH
Matt Hunt
Accepted Answer
1 month ago #159393

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #159401

You can use this platform to share your code.

https://codeshare.io/8XvZQd

0
MH
Matt Hunt
Accepted Answer
1 month ago #159422

Here you go

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #159496

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

<form action="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="/www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate">
 <img alt="" width="1" height="1" src="/www.paypalobjects.com/en_US/i/scr/pixel.gif" >
</form>

Or

<form action="www.sandbox.paypal.com/donate/?hosted_button_id=Q48Z63DDHE2UE" method="post" target="_top">
    <input type="image" src="/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="/www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
0
MH
Matt Hunt
Accepted Answer
1 month ago #159511

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #159516

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

0
MH
Matt Hunt
Accepted Answer
1 month ago #159518

Yes, I did see your code and it is not the same as what paypal is giving us to use. I am using PayPal's code and their method of creating it. I've done it dozens of times in the past 28 years on dozens of sites. Where you are overseas, you are probably given different coding. Here in the U.S. we have Venmo and other methods of payments through paypal which this new code offers for use.

I was just hoping you would be able to identify what the incompatibility is between paypal and page builder to help rectify the situation.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #159525

Mainly Raw HTML addon or Page Builder doesn't support JavaScript. You can use only HTML & CSS code. Thanks

0