itisjohn Posted January 12, 2015 Share Posted January 12, 2015 I'm currently on PrestaShop 1.6.0.9 and PayPal USA, Canada v1.3.8. I've tried searching the internet and the forum, but can't find where to setup PayPal to only authorize PayPal and not to charge the credit cards immediately. PayPal's tech support it is done through PrestaShop, but their instructions are for an older version of PrestaShop. Please advise. TIA. Link to comment Share on other sites More sharing options...
bellini13 Posted January 12, 2015 Share Posted January 12, 2015 Can you confirm how you have the module configured? Which checkout method you are using? (Standard, Express etc...) Link to comment Share on other sites More sharing options...
itisjohn Posted January 12, 2015 Author Share Posted January 12, 2015 Thanks for the reply, bellini13. I have Payments Advanced and Express both enabled. It took all the API/login credentials without errors. I'm assuming only Payments Advanced is capable of accepting credit cards with auth - but don't see any options... Link to comment Share on other sites More sharing options...
bellini13 Posted January 13, 2015 Share Posted January 13, 2015 So it is with payments advanced only that you want to do authorization? I assume it would not apply with express checkout, since they would be paying from their Paypal account PayPal's tech support it is done through PrestaShop, but their instructions are for an older version of PrestaShop. Please advise. TIA. Could you provide those instructions anyway, it may still prove helpful Link to comment Share on other sites More sharing options...
bellini13 Posted January 13, 2015 Share Posted January 13, 2015 line 416 in paypalusa.php has the following line of code. $result = $this->postToPayFlow('&TRXTYPE[1]=S&AMT['.strlen($amount).']='.$amount.$nvp_request.'&CREATESECURETOKEN[1]=Y&DISABLERECEIPT=TRUE&SECURETOKENID[36]='.$token. In there is "TRXTYPE[1]=S", which I suspect means "Transaction Type = Sale". I believe you can change the S to an A for Authorization. I am basing that on the following information https://developer.paypal.com/docs/classic/payflow/integration-guide/#submitting-authorization---delayed-capture---transactions (Required) Indicates the type of transaction to perform. Values are:- A = Authorization- B = Balance Inquiry- C = Credit (Refund)- D = Delayed Capture- F = Voice Authorization- I = Inquiry- K = Rate Lookup- L = Data Upload- N = Duplicate TransactionNote: A type N transaction represents a duplicate transaction (version 4 SDK or HTTPS interface only) with a PNREF the same as the original. It appears only in the PayPal Manager user interface and never settles. - S = Sale - V = Void 3 Link to comment Share on other sites More sharing options...
itisjohn Posted January 13, 2015 Author Share Posted January 13, 2015 That was it! You're a genius! Hopefully PrestaShop can implement that option on the next release. 1 Link to comment Share on other sites More sharing options...
4saleusa Posted May 28, 2016 Share Posted May 28, 2016 Your solution on 1613 prestashop doesn't work. Link to comment Share on other sites More sharing options...
bellini13 Posted May 31, 2016 Share Posted May 31, 2016 If you are referring to my solution, it has nothing to do with the version of Prestashop you are using. Perhaps if you describe your issue, and what is 'not working' in PS v1.6.1.3, you might get some help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now