Hi Guys,
I have setup opencart 3 here www.toolfolks.com/shop
When I add this product for a test http://toolfolks.com/shop/index.php?rou ... 7&search=£ (it is only 10 pence ) I can purchase from a mobile device but a web browser fails.
I see the following in the console:
logger.js:53 ppxo_paypal_legacy_component_error Object {error: "Error: Unexpected init message from domain https:/…ects.com/api/checkout.js?_=1500727174949:2414:13)", timestamp: 1500727199320, windowID: "8145ed1bca", pageID: "70cfa4e30c", referer: "toolfolks.com"…}
Error: Unexpected init message from domain https://www.paypal.com -- expected message from https://www.sandbox.paypal.com
at Object.handler (https://www.paypalobjects.com/api/check ... 49:3563:41)
at https://www.paypalobjects.com/api/check ... 49:2464:32
at Function.ZalgoPromise.try (https://www.paypalobjects.com/api/check ... 49:7735:37)
at Object._RECEIVE_MESSAGE_TYPE.(anonymous function) [as postrobot_message_request] (https://www.paypalobjects.com/api/check ... 49:2460:70)
at receiveMessage (https://www.paypalobjects.com/api/check ... 49:2393:77)
at messageListener (https://www.paypalobjects.com/api/check ... 49:2414:13)
print @ logger.js:53
log @ logger.js:161
error @ logger.js:188
(anonymous) @ interface.js:240
(anonymous) @ util.js:50
(anonymous) @ promise.js:158
ZalgoPromise.dispatch @ promise.js:183
ZalgoPromise.reject @ promise.js:111
(anonymous) @ promise.js:153
ZalgoPromise.dispatch @ promise.js:183
ZalgoPromise.reject @ promise.js:111
(anonymous) @ promise.js:179
(anonymous) @ promise.js:158
ZalgoPromise.dispatch @ promise.js:183
ZalgoPromise.reject @ promise.js:111
(anonymous) @ index.js:1176
ZalgoPromise.try @ promise.js:291
ParentComponent.error @ index.js:1175
ZalgoPromise.try @ promise.js:291
error:promisified @ decorators.js:25
(anonymous) @ base.js:184
(anonymous) @ types.js:65
ZalgoPromise.try @ promise.js:291
_RECEIVE_MESSAGE_TYPE.(anonymous function) @ types.js:53
receiveMessage @ index.js:112
messageListener @ index.js:138
logger.js:53 ppxo_paypal_legacy_render_error_hijack_revert_target Object {timestamp: 1500727199339, windowID: "8145ed1bca", pageID: "70cfa4e30c", referer: "toolfolks.com", host: "toolfolks.com"…}
print @ logger.js:53
log @ logger.js:161
warn @ logger.js:184
(anonymous) @ interface.js:243
(anonymous) @ util.js:50
(anonymous) @ promise.js:158
ZalgoPromise.dispatch @ promise.js:183
ZalgoPromise.reject @ promise.js:111
(anonymous) @ promise.js:153
ZalgoPromise.dispatch @ promise.js:183
ZalgoPromise.reject @ promise.js:111
(anonymous) @ promise.js:179
(anonymous) @ promise.js:158
ZalgoPromise.dispatch @ promise.js:183
ZalgoPromise.reject @ promise.js:111
(anonymous) @ index.js:1176
ZalgoPromise.try @ promise.js:291
ParentComponent.error @ index.js:1175
ZalgoPromise.try @ promise.js:291
error:promisified @ decorators.js:25
(anonymous) @ base.js:184
(anonymous) @ types.js:65
ZalgoPromise.try @ promise.js:291
_RECEIVE_MESSAGE_TYPE.(anonymous function) @ types.js:53
receiveMessage @ index.js:112
messageListener @ index.js:138
I have enabled Debug logging but don't know where any log files go ?
Any help appreciated.
Did anyone ever find a solution to this?
Right clicking on the button and open in a new tab as suggested above works. However clicking it produces the same errors as mentioned above also. I'd like to offer the express checkout, but if it doesn't work...
Hoping there has been someone whose figured out what needs to be changed to get this to work properly.
Right clicking on the button and open in a new tab as suggested above works. However clicking it produces the same errors as mentioned above also. I'd like to offer the express checkout, but if it doesn't work...
Hoping there has been someone whose figured out what needs to be changed to get this to work properly.
Hi Guys,
just got this back from Paypal
This is what tampering the process is looking like:
{"events":[{"level":"error","event":"ppxo_xc_ppcheckout_unexpected_listener_init","payload":{"origin":"https://www.paypal.com","domain":"https://www.sandbox.paypal.com","timestamp":1502358146895,"windowID":"d7f7753f6a","pageID":"b710c3a638","referer":"toolfolks.com","host":"toolfolks.com","path":"/shop/index.php","env":"sandbox","country":"US","lang":"en","uid":"15687adcb0","ver":"4.0.108"}},{"level":"error","event":"ppxo_paypal_legacy_component_error","payload":{"error":"./node_modules/xcomponent/src/component/base.js/BaseComponent</BaseComponent.prototype.listen/_ret</errorListener<@http://www.paypalobjects.com/api/checkout.js?_=1502357606684:3883:41\n./node_modules/post-robot/src/drivers/receive/types.js/_RECEIVE_MESSAGE_TYPE[__WEBPACK_IMPORTED_MODULE_2__conf__.b.POST_MESSAGE_TYPE.REQUEST]/<@http://www.paypalobjects.com/api/checko ... SSAGE_TYPE[__WEBPACK_IMPORTED_MODULE_2__conf__.b.POST_MESSAGE_TYPE.REQUEST]@http://www.paypalobjects.com/api/checko ... ":"4.0.108 "}},{"level":"info","event":"ppxo_xc_ppcheckout_destroy","payload":{"timestamp":1502358146899,"windowID":"d7f7753f6a","pageID":"b710c3a638","referer":"toolfolks.com","host":"toolfolks.com","path":"/shop/index.php","env":"sandbox","country":"US","lang":"en","uid":"b5bfe814b0","ver":"4.0.108"}},{"level":"info","event":"ppxo_xc_ppcheckout_call_prop_onError","payload":{"timestamp":1502358146940,"windowID":"d7f7753f6a","pageID":"b710c3a638 ","referer":"toolfolks.com","host":"toolfolks.com","path":"/shop/index.php","env":"sandbox","country":"US","lang":"en","uid":"a02f8f9737","ver":"4.0.108"}}],"meta":{"state":"ui_init"},"tracking":[]}v
But your shopping cart module redirects to: URL=https://www.paypal.com/cgi-bin/webscr?c ... ion=commit
Basically, while you have configured th emodule to work on PayPal.com, the logic of the PayPal module fails and is behaving as if Sandbox was configured for everything but the redirection to PayPal.
PayPal modules are not developed by PayPal, they are built upon our API and customized to seamlessly adapt to the software requirements of the shopping cart used. For this reason, it is recommended to contact with the module developer to review the code.
Any ideas.
just got this back from Paypal
This is what tampering the process is looking like:
{"events":[{"level":"error","event":"ppxo_xc_ppcheckout_unexpected_listener_init","payload":{"origin":"https://www.paypal.com","domain":"https://www.sandbox.paypal.com","timestamp":1502358146895,"windowID":"d7f7753f6a","pageID":"b710c3a638","referer":"toolfolks.com","host":"toolfolks.com","path":"/shop/index.php","env":"sandbox","country":"US","lang":"en","uid":"15687adcb0","ver":"4.0.108"}},{"level":"error","event":"ppxo_paypal_legacy_component_error","payload":{"error":"./node_modules/xcomponent/src/component/base.js/BaseComponent</BaseComponent.prototype.listen/_ret</errorListener<@http://www.paypalobjects.com/api/checkout.js?_=1502357606684:3883:41\n./node_modules/post-robot/src/drivers/receive/types.js/_RECEIVE_MESSAGE_TYPE[__WEBPACK_IMPORTED_MODULE_2__conf__.b.POST_MESSAGE_TYPE.REQUEST]/<@http://www.paypalobjects.com/api/checko ... SSAGE_TYPE[__WEBPACK_IMPORTED_MODULE_2__conf__.b.POST_MESSAGE_TYPE.REQUEST]@http://www.paypalobjects.com/api/checko ... ":"4.0.108 "}},{"level":"info","event":"ppxo_xc_ppcheckout_destroy","payload":{"timestamp":1502358146899,"windowID":"d7f7753f6a","pageID":"b710c3a638","referer":"toolfolks.com","host":"toolfolks.com","path":"/shop/index.php","env":"sandbox","country":"US","lang":"en","uid":"b5bfe814b0","ver":"4.0.108"}},{"level":"info","event":"ppxo_xc_ppcheckout_call_prop_onError","payload":{"timestamp":1502358146940,"windowID":"d7f7753f6a","pageID":"b710c3a638 ","referer":"toolfolks.com","host":"toolfolks.com","path":"/shop/index.php","env":"sandbox","country":"US","lang":"en","uid":"a02f8f9737","ver":"4.0.108"}}],"meta":{"state":"ui_init"},"tracking":[]}v
But your shopping cart module redirects to: URL=https://www.paypal.com/cgi-bin/webscr?c ... ion=commit
Basically, while you have configured th emodule to work on PayPal.com, the logic of the PayPal module fails and is behaving as if Sandbox was configured for everything but the redirection to PayPal.
PayPal modules are not developed by PayPal, they are built upon our API and customized to seamlessly adapt to the software requirements of the shopping cart used. For this reason, it is recommended to contact with the module developer to review the code.
Any ideas.
Hi,
There's a bug in Opencart 3 with paypal express always in sandbox box.
Or edit file:
upload/catalog/view/theme/default/template/extension/payment/pp_express.twig
Set line:
environment: '{{ environment }}'
There's a bug in Opencart 3 with paypal express always in sandbox box.
Or edit file:
upload/catalog/view/theme/default/template/extension/payment/pp_express.twig
Set line:
environment: '{{ environment }}'
Last edited by opencart-templates on Mon Mar 11, 2019 8:30 pm, edited 1 time in total.
Advanced Professional Email Template
Customers Pre-Sale. Inc abandoned cart email
Order Follow-Up Email. Inc request review
Email Validation with ZeroBounce
Who is online
Users browsing this forum: lrjcarr@gmail.com and 113 guests