Post by lukeketchum1 » Thu Feb 08, 2018 11:01 pm

Hi all, I am still trying to get my first install of opencart working and unfortunately after 2 weeks I'm not doing particularly well :-(

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

Active Member

Posts

Joined
Tue Jan 23, 2018 12:30 am

Post by tlmartin » Fri Feb 09, 2018 5:09 am

Hi, did you get this resolved? I;m having this issue - only using paypal express for a recuring payment

Newbie

Posts

Joined
Sun Dec 20, 2015 8:52 pm

Post by Fabienlolo » Sat Jul 28, 2018 5:25 am

OC Version: 3.0.2.
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

New member

Posts

Joined
Fri Jun 29, 2018 7:24 am
Location - Q.Roo, Mexico

Post by Fabienlolo » Sun Jul 29, 2018 4:17 am

Hi,
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. O0

New member

Posts

Joined
Fri Jun 29, 2018 7:24 am
Location - Q.Roo, Mexico

Post by Fabienlolo » Thu Aug 02, 2018 7:11 am

For some more details,
i have an answer from paypal after i sent the error log in a ticket:
from 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
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=201981

New member

Posts

Joined
Fri Jun 29, 2018 7:24 am
Location - Q.Roo, Mexico

Post by straightlight » Thu Aug 02, 2018 9:19 am

Code: Select all

environment: 'sandbox'
should be:

Code: Select all

environment: '{{ environment }}'
as already addressed on the other topic above.

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
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by blocks1 » Sat Mar 16, 2019 10:53 pm

which file to edit??

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Sun Mar 17, 2019 12:46 am


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
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by MasterCATZ » Fri Jun 21, 2019 7:28 am

upgraded to Version 3.0.3.2 and not Paypal Express is broken all over again , ugh

Newbie

Posts

Joined
Mon May 13, 2019 4:58 pm

Post by straightlight » Fri Jun 21, 2019 9:27 am

I replied to your post on the provided topic above.

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
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: Evilonion, pprmkr, thekrotek and 30 guests