Hello...
I have recently installed OC 3.0.2...
I have enabled the PayPal Express Checkout Extension - and, the "PayPal Check out" button shows up during checkout...
However - when I click that button (index.php?route=extension/payment/pp_express/checkout) - it opens a new browser tab - then, it starts to load the page - then redirects back to (index.php?route=checkout/checkout)
Any help would be greatly appreciated...
I have recently installed OC 3.0.2...
I have enabled the PayPal Express Checkout Extension - and, the "PayPal Check out" button shows up during checkout...
However - when I click that button (index.php?route=extension/payment/pp_express/checkout) - it opens a new browser tab - then, it starts to load the page - then redirects back to (index.php?route=checkout/checkout)
Any help would be greatly appreciated...
Attachments
Screenshot 2017-12-01 13.18.36.png (132.67 KiB) Viewed 1453 times
In your admin - > system - > maintenance - > error logs page, do you see a recent line that begins with:
?
Code: Select all
Unable to create Paypal session
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I did not know this was there... the logs...
Security header is not valid... Do I need to be running the site on SSL to integrate with PayPal...?
Code: Select all
2017-12-01 23:21:40 - PayPal Express debug (Call data): {"METHOD":"SetExpressCheckout","MAXAMT":122.72,"RETURNURL":"index.php?route=extension\/payment\/pp_express\/checkoutReturn","CANCELURL":"index.php?route=checkout\/checkout","REQCONFIRMSHIPPING":0,"NOSHIPPING":0,"LOCALECODE":"EN","LANDINGPAGE":"Login","HDRIMG":null,"PAYFLOWCOLOR":"","CHANNELTYPE":"Merchant","ALLOWNOTE":"1","PAYMENTREQUEST_0_SHIPTONAME":"Little Johnnie","PAYMENTREQUEST_0_SHIPTOSTREET":"La La Lane","PAYMENTREQUEST_0_SHIPTOSTREET2":"Suite A","PAYMENTREQUEST_0_SHIPTOCITY":"Somewhere","PAYMENTREQUEST_0_SHIPTOSTATE":"HE","PAYMENTREQUEST_0_SHIPTOZIP":"55555","PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE":"US","ADDROVERRIDE":1,"PAYMENTREQUEST_0_SHIPPINGAMT":"","PAYMENTREQUEST_0_CURRENCYCODE":"USD","PAYMENTREQUEST_0_PAYMENTACTION":"Sale","L_PAYMENTREQUEST_0_DESC0":"","L_PAYMENTREQUEST_0_NAME0":"T-Shirt","L_PAYMENTREQUEST_0_NUMBER0":"TSHIRTDEMO0","L_PAYMENTREQUEST_0_AMT0":32.27,"L_PAYMENTREQUEST_0_QTY0":"1","L_PAYMENTREQUEST_0_ITEMURL0":"index.php?route=product\/product&product_id=50","L_PAYMENTREQUEST_0_ITEMWEIGHTVALUE0":"0.00","L_PAYMENTREQUEST_0_ITEMWEIGHTUNIT0":"oz","L_PAYMENTREQUEST_0_DESC1":"","L_PAYMENTREQUEST_0_NAME1":"T-Shirt","L_PAYMENTREQUEST_0_NUMBER1":"TSHIRTDEMO0","L_PAYMENTREQUEST_0_AMT1":24.77,"L_PAYMENTREQUEST_0_QTY1":"2","L_PAYMENTREQUEST_0_ITEMURL1":"index.php?route=product\/product&product_id=68","L_PAYMENTREQUEST_0_ITEMWEIGHTVALUE1":"0.00","L_PAYMENTREQUEST_0_ITEMWEIGHTUNIT1":"oz","L_PAYMENTREQUEST_0_NUMBER2":"shipping","L_PAYMENTREQUEST_0_NAME2":"Flat Shipping Rate","L_PAYMENTREQUEST_0_AMT2":5,"L_PAYMENTREQUEST_0_QTY2":1,"PAYMENTREQUEST_0_ITEMAMT":"86.81","PAYMENTREQUEST_0_AMT":"86.81"}
2017-12-01 23:21:41 - PayPal Express debug (Result): "TIMESTAMP=2017%2d12%2d01T23%3a21%3a41Z&CORRELATIONID=282e6e8cdce66&ACK=Failure&VERSION=109%2e0&BUILD=40680762&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Security%20error&L_LONGMESSAGE0=Security%20header%20is%20not%20valid&L_SEVERITYCODE0=Error"
2017-12-01 23:21:41 - Unable to create Paypal session{"TIMESTAMP":"2017-12-01T23:21:41Z","CORRELATIONID":"282e6e8cdce66","ACK":"Failure","VERSION":"109.0","BUILD":"40680762","L_ERRORCODE0":"10002","L_SHORTMESSAGE0":"Security error","L_LONGMESSAGE0":"Security header is not valid","L_SEVERITYCODE0":"Error"}
LANDINGPAGE":"Login"
There we go. You found the issue with the API credentials.Unable to create Paypal session

Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 11 guests