I had it so both registered users and guests could check out by Paypal standard, so that was at least working at one point (Though there seems to be terrible cache problems of some kind that I'm yet to resolve).
The issue now is that for PayPal express checkout, the buyer clicks the paypal express button at the end of the process of checking out, the paypal login box pops up briefly but then disappears and doesn't allow you to log into paypal to complete the transaction?
Any ideas on how to fix this? any help appreciated.
Best regards
Luke
Theme: default
Your query: OpenCart 3 Paypal Express checkout instant closing after pop up.
A link to your site: www.vacacionandocancun.com/tours/
Hi guys, this 2018, 7th of July. Same issue. Live not working, Sandbox working though.
Any solution?
Thanks for your help.
Fabien
i realised this is an issue that has been covered by different topics. So, i solved it because of this topic viewtopic.php?t=186887 with straightlight » Tue Dec 12, 2017 6:38 pm post where a fix in 3 files is suggested or a reinstall.
Fix was enough for me, paypal express checkout live window popup and stay still. Then i just had to follow paypal steps just like the sandbox version.
The only difference now is that my checkout express button in on the left side instead of right. No big deal for me here.
thank you all for your support.
This issue has been a good training in terms of search for me. But i believe that could lead to some specific category as some issues just comeback in different topics. I guess this issue will be fixed in next OC version, although it seems that it was already exisiting in different previous versions.
But don't get me wrong, i am just on the learning curve and i am happy i coud finally find an answer on this forum.
Thank you all for your time,
Fabien.

i have an answer from paypal after i sent the error log in a ticket:
This just confirming what i read in ywc6xrlnf58asnha » Thu Dec 28, 2017 12:49 am post from topic viewtopic.php?f=202&t=201981, there is an environment issue in original OC 3.0.2 that can be fixed, see previous post, see same topic viewtopic.php?f=202&t=201981from Paypal Merchant Technical Support:
This appears to be an integration or programming problem inside OpenCart. Testing your website, we see the following code appears on the checkout page's HTML:
<script type="text/javascript"><!--
window.paypalCheckoutReady = function () {
paypal.checkout.setup('-------------_api1.gmail.com', {
container: 'button-confirm',
environment: 'sandbox'
});
};
//--></script>
<script src="//www.paypalobjects.com/api/checkout.js" async=""></script>
Note that the environment is "sandbox" in that part of the code. However, the window that the button is opening is for live mode (www.paypal.com, not www.sandbox.paypal.com ). This is what causes the window to close after opening, and we see this message in the Console error log:
The integration's code needs to specify 'production' everywhere instead of 'sandbox', for use in production mode.
Thank you,
Preston
MTS
Code: Select all
environment: 'sandbox'
Code: Select all
environment: '{{ environment }}'
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: ian_shifts and 30 guests