Page 1 of 1

PayPal Pro charging customers twice

Posted: Thu Aug 30, 2018 4:58 am
by larenewadespitler
I am using OpenCart 2.3.0.2 and this is happening most of the time. Can anyone help?

Re: PayPal Pro charging customers twice

Posted: Thu Aug 30, 2018 5:06 am
by straightlight
When using the debug mode from PayPal Pro, what are the results being logged (excluding confidential information!) ?

Re: PayPal Pro charging customers twice

Posted: Sat Sep 01, 2018 12:58 am
by larenewadespitler
Thanks for offering help.

I found the following statements in my /system/storage/logs/error.log

2018-08-31 1:25:30 - PayPal Express debug (Call data): {"METHOD":"SetExpressCheckout","MAXAMT":134.96,"RETURNURL":"https:\/\/fsreloading.com\/index.php?route=extension\/payment\/pp_express\/checkoutReturn","CANCELURL":"https:\/\/fsreloading.com\/index.php?route=checkout\/checkout","REQCONFIRMSHIPPING":0,"NOSHIPPING":0,"LOCALECODE":"EN","LANDINGPAGE":"Login","HDRIMG":"https:\/\/fsreloading.com\/image\/cache\/catalog\/reloadingLogo-750x90.gif","PAYFLOWCOLOR":"ffffff","CHANNELTYPE":"Merchant","ALLOWNOTE":"1","PAYMENTREQUEST_0_SHIPTONAME":"Edmar Souza","PAYMENTREQUEST_0_SHIPTOSTREET":"rua santa rita 221 madruga","PAYMENTREQUEST_0_SHIPTOSTREET2":"","PAYMENTREQUEST_0_SHIPTOCITY":"VASSOURAS","PAYMENTREQUEST_0_SHIPTOSTATE":"RJ","PAYMENTREQUEST_0_SHIPTOZIP":"27700-000","PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE":"BR","PAYMENTREQUEST_0_SHIPPINGAMT":"","PAYMENTREQUEST_0_CURRENCYCODE":"USD","PAYMENTREQUEST_0_PAYMENTACTION":"Sale","L_PAYMENTREQUEST_0_DESC0":"","L_PAYMENTREQUEST_0_NAME0":"Hornady G2 1500 Electronic Scale","L_PAYMENTREQUEST_0_NUMBER0":"H050106","L_PAYMENTREQUEST_0_AMT0":29.99,"L_PAYMENTREQUEST_0_QTY0":"3","L_PAYMENTREQUEST_0_ITEMURL0":"http:\/\/fsreloading.com\/hornady-g2-1500-electronic-scale.html","L_PAYMENTREQUEST_0_ITEMWEIGHTVALUE0":"0.45","L_PAYMENTREQUEST_0_ITEMWEIGHTUNIT0":"lb","L_PAYMENTREQUEST_0_ITEMLENGTHVALUE0":"7.00000000","L_PAYMENTREQUEST_0_ITEMLENGTHUNIT0":"in","L_PAYMENTREQUEST_0_ITEMWIDTHVALUE0":"6.75000000","L_PAYMENTREQUEST_0_ITEMWIDTHUNIT0":"in","L_PAYMENTREQUEST_0_ITEMHEIGHTVALUE0":"1.50000000","L_PAYMENTREQUEST_0_ITEMHEIGHTUNIT0":"in","L_PAYMENTREQUEST_0_NUMBER1":"shipping","L_PAYMENTREQUEST_0_NAME1":"Direct Link International","L_PAYMENTREQUEST_0_AMT1":23.21,"L_PAYMENTREQUEST_0_QTY1":1,"PAYMENTREQUEST_0_ITEMAMT":"113.18","PAYMENTREQUEST_0_AMT":"113.18"}
2018-08-31 1:25:31 - PayPal Express debug (Result): "TOKEN=EC%2d6JJ59560YH333140V&TIMESTAMP=2018%2d08%2d31T01%3a25%3a31Z&CORRELATIONID=25957c0da8f7d&ACK=Success&VERSION=109%2e0&BUILD=48666477"
2018-08-31 1:26:06 - PayPal Express debug (Call data): {"METHOD":"GetExpressCheckoutDetails","TOKEN":"EC-6JJ59560YH333140V"}
2018-08-31 1:26:07 - PayPal Express debug (Result): "TOKEN=EC%2d6JJ59560YH333140V&BILLINGAGREEMENTACCEPTEDSTATUS=0&CHECKOUTSTATUS=PaymentActionNotInitiated&TIMESTAMP=2018%2d08%2d31T01%3a26%3a07Z&CORRELATIONID=6b91a76c1bb93&ACK=Success&VERSION=109%2e0&BUILD=48666477&EMAIL=edmarbrandenburger%40gmail%2ecom&PAYERID=U8N4G96HLR2KY&PAYERSTATUS=verified&FIRSTNAME=edmar&LASTNAME=brandenburger%20souza&COUNTRYCODE=BR&TAXIDTYPE=BR_CPF&TAXID=09224562752&SHIPTONAME=Edmar%20souza&SHIPTOSTREET=rua%20santa%20rita%20%20221&SHIPTOSTREET2=madruga&SHIPTOCITY=Vassouras&SHIPTOSTATE=RJ&SHIPTOZIP=27700%2d000&SHIPTOCOUNTRYCODE=BR&SHIPTOCOUNTRYNAME=Brazil&ADDRESSSTATUS=Confirmed&CURRENCYCODE=USD&AMT=113%2e18&ITEMAMT=113%2e18&SHIPPINGAMT=0%2e00&HANDLINGAMT=0%2e00&TAXAMT=0%2e00&INSURANCEAMT=0%2e00&SHIPDISCAMT=0%2e00&INSURANCEOPTIONOFFERED=false&L_NAME0=Hornady%20G2%201500%20Electronic%20Scale&L_NAME1=Direct%20Link%20International&L_NUMBER0=H050106&L_NUMBER1=shipping&L_QTY0=3&L_QTY1=1&L_TAXAMT0=0%2e00&L_TAXAMT1=0%2e00&L_AMT0=29%2e99&L_AMT1=23%2e21&L_ITEMWEIGHTVALUE0=0%2e45&L_ITEMWEIGHTUNIT0=lb&L_ITEMLENGTHVALUE0=7%2e0&L_ITEMLENGTHUNIT0=in&L_ITEMWIDTHVALUE0=6%2e75&L_ITEMWIDTHUNIT0=in&L_ITEMHEIGHTVALUE0=1%2e5&L_ITEMHEIGHTUNIT0=in&PAYMENTREQUEST_0_CURRENCYCODE=USD&PAYMENTREQUEST_0_AMT=113%2e18&PAYMENTREQUEST_0_ITEMAMT=113%2e18&PAYMENTREQUEST_0_SHIPPINGAMT=0%2e00&PAYMENTREQUEST_0_HANDLINGAMT=0%2e00&PAYMENTREQUEST_0_TAXAMT=0%2e00&PAYMENTREQUEST_0_INSURANCEAMT=0%2e00&PAYMENTREQUEST_0_SHIPDISCAMT=0%2e00&PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID=pp%40fsreloading%2ecom&PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED=false&PAYMENTREQUEST_0_SHIPTONAME=Edmar%20souza&PAYMENTREQUEST_0_SHIPTOSTREET=rua%20santa%20rita%20%20221&PAYMENTREQUEST_0_SHIPTOSTREET2=madruga&PAYMENTREQUEST_0_SHIPTOCITY=Vassouras&PAYMENTREQUEST_0_SHIPTOSTATE=RJ&PAYMENTREQUEST_0_SHIPTOZIP=27700%2d000&PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=BR&PAYMENTREQUEST_0_SHIPTOCOUNTRYNAME=Brazil&PAYMENTREQUEST_0_ADDRESSSTATUS=Confirmed&PAYMENTREQUEST_0_ADDRESSNORMALIZATIONSTATUS=UserPreferred&L_PAYMENTREQUEST_0_NAME0=Hornady%20G2%201500%20Electronic%20Scale&L_PAYMENTREQUEST_0_NAME1=Direct%20Link%20International&L_PAYMENTREQUEST_0_NUMBER0=H050106&L_PAYMENTREQUEST_0_NUMBER1=shipping&L_PAYMENTREQUEST_0_QTY0=3&L_PAYMENTREQUEST_0_QTY1=1&L_PAYMENTREQUEST_0_TAXAMT0=0%2e00&L_PAYMENTREQUEST_0_TAXAMT1=0%2e00&L_PAYMENTREQUEST_0_AMT0=29%2e99&L_PAYMENTREQUEST_0_AMT1=23%2e21&L_PAYMENTREQUEST_0_ITEMWEIGHTVALUE0=1%2e5&L_PAYMENTREQUEST_0_ITEMWEIGHTUNIT0=in&L_PAYMENTREQUEST_0_ITEMLENGTHVALUE0=0%2e45&L_PAYMENTREQUEST_0_ITEMLENGTHUNIT0=lb&L_PAYMENTREQUEST_0_ITEMWIDTHVALUE0=7%2e0&L_PAYMENTREQUEST_0_ITEMWIDTHUNIT0=in&L_PAYMENTREQUEST_0_ITEMHEIGHTVALUE0=6%2e75&L_PAYMENTREQUEST_0_ITEMHEIGHTUNIT0=in&PAYMENTREQUESTINFO_0_ERRORCODE=0"
2018-08-31 1:26:07 - PayPal Express debug (Call data): {"TOKEN":"EC-6JJ59560YH333140V","PAYERID":"U8N4G96HLR2KY","METHOD":"DoExpressCheckoutPayment","PAYMENTREQUEST_0_NOTIFYURL":"https:\/\/fsreloading.com\/index.php?route=extension\/payment\/pp_express\/ipn","RETURNFMFDETAILS":1,"PAYMENTREQUEST_0_SHIPPINGAMT":"","PAYMENTREQUEST_0_CURRENCYCODE":"USD","PAYMENTREQUEST_0_PAYMENTACTION":"Sale","L_PAYMENTREQUEST_0_DESC0":"","L_PAYMENTREQUEST_0_NAME0":"Hornady G2 1500 Electronic Scale","L_PAYMENTREQUEST_0_NUMBER0":"H050106","L_PAYMENTREQUEST_0_AMT0":29.99,"L_PAYMENTREQUEST_0_QTY0":"3","L_PAYMENTREQUEST_0_ITEMURL0":"http:\/\/fsreloading.com\/hornady-g2-1500-electronic-scale.html","L_PAYMENTREQUEST_0_ITEMWEIGHTVALUE0":"0.45","L_PAYMENTREQUEST_0_ITEMWEIGHTUNIT0":"lb","L_PAYMENTREQUEST_0_ITEMLENGTHVALUE0":"7.00000000","L_PAYMENTREQUEST_0_ITEMLENGTHUNIT0":"in","L_PAYMENTREQUEST_0_ITEMWIDTHVALUE0":"6.75000000","L_PAYMENTREQUEST_0_ITEMWIDTHUNIT0":"in","L_PAYMENTREQUEST_0_ITEMHEIGHTVALUE0":"1.50000000","L_PAYMENTREQUEST_0_ITEMHEIGHTUNIT0":"in","L_PAYMENTREQUEST_0_NUMBER1":"shipping","L_PAYMENTREQUEST_0_NAME1":"Direct Link International","L_PAYMENTREQUEST_0_AMT1":23.21,"L_PAYMENTREQUEST_0_QTY1":1,"PAYMENTREQUEST_0_ITEMAMT":"113.18","PAYMENTREQUEST_0_AMT":"113.18"}
2018-08-31 1:26:09 - PayPal Express debug (Result): "TOKEN=EC%2d6JJ59560YH333140V&SUCCESSPAGEREDIRECTREQUESTED=false&TIMESTAMP=2018%2d08%2d31T01%3a26%3a09Z&CORRELATIONID=906f594a0cc1&ACK=Success&VERSION=109%2e0&BUILD=48666477&INSURANCEOPTIONSELECTED=false&SHIPPINGOPTIONISDEFAULT=false&PAYMENTINFO_0_TRANSACTIONID=5VF619525C340491H&PAYMENTINFO_0_TRANSACTIONTYPE=cart&PAYMENTINFO_0_PAYMENTTYPE=instant&PAYMENTINFO_0_ORDERTIME=2018%2d08%2d31T01%3a26%3a08Z&PAYMENTINFO_0_AMT=113%2e18&PAYMENTINFO_0_FEEAMT=5%2e28&PAYMENTINFO_0_TAXAMT=0%2e00&PAYMENTINFO_0_CURRENCYCODE=USD&PAYMENTINFO_0_PAYMENTSTATUS=Completed&PAYMENTINFO_0_PENDINGREASON=None&PAYMENTINFO_0_REASONCODE=None&PAYMENTINFO_0_PROTECTIONELIGIBILITY=Eligible&PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE=ItemNotReceivedEligible%2cUnauthorizedPaymentEligible&PAYMENTINFO_0_SELLERPAYPALACCOUNTID=pp%40fsreloading%2ecom&PAYMENTINFO_0_SECUREMERCHANTACCOUNTID=T63D5U375Y7BC&PAYMENTINFO_0_ERRORCODE=0&PAYMENTINFO_0_ACK=Success"
2018-08-31 1:26:16 - PayPal Express debug (IPN data): {"request":"cmd=_notify-validate&mc_gross=113.18&protection_eligibility=Eligible&address_status=confirmed&item_number1=H050106&tax=0.00&item_number2=shipping&payer_id=U8N4G96HLR2KY&address_street=rua+santa+rita++221%0D%0Amadruga&payment_date=18%3A26%3A08+Aug+30%2C+2018+PDT&payment_status=Completed&charset=windows-1252&address_zip=27700-000&mc_shipping=0.00&mc_handling=0.00&first_name=edmar&mc_fee=5.28&address_country_code=BR&address_name=Edmar+souza&notify_version=3.9&custom=&payer_status=verified&business=pp%40fsreloading.com&address_country=Brazil&num_cart_items=2&address_city=Vassouras&verify_sign=AHe0NU6qeAh.nYee6Rg4uc0FOuqCAvixcnrijyMuhDZ4eLgfuJ9IgD.q&payer_email=edmarbrandenburger%40gmail.com&tax1=0.00&tax2=0.00&txn_id=5VF619525C340491H&payment_type=instant&last_name=brandenburger+souza&address_state=RJ&item_name1=Hornady+G2+1500+Electronic+Scale&receiver_email=pp%40fsreloading.com&item_name2=Direct+Link+International&payment_fee=5.28&shipping_discount=0.00&quantity1=3&insurance_amount=0.00&quantity2=1&receiver_id=T63D5U375Y7BC&txn_type=cart&discount=0.00&mc_gross_1=89.97&mc_currency=USD&mc_gross_2=23.21&residence_country=BR&shipping_method=Default&transaction_subject=&payment_gross=113.18&ipn_track_id=906f594a0cc1","response":"VERIFIED"}
2018-08-31 1:26:16 - PayPal Express debug (IPN data): "Transaction does not exist"
2018-08-31 1:26:16 - PayPal Express debug (IPN data): "Parent transaction not found"
2018-08-31 1:26:16 - PayPal Express debug (IPN data): "cart"
2018-08-31 1:26:32 - PayPal Express debug (Call data): {"METHOD":"GetExpressCheckoutDetails","TOKEN":"EC-6JJ59560YH333140V"}
2018-08-31 1:26:32 - PayPal Express debug (Result): "TOKEN=EC%2d6JJ59560YH333140V&BILLINGAGREEMENTACCEPTEDSTATUS=0&CHECKOUTSTATUS=PaymentActionCompleted&TIMESTAMP=2018%2d08%2d31T01%3a26%3a32Z&CORRELATIONID=4cfc3bd579d2&ACK=Success&VERSION=109%2e0&BUILD=48666477&EMAIL=edmarbrandenburger%40gmail%2ecom&PAYERID=U8N4G96HLR2KY&PAYERSTATUS=verified&FIRSTNAME=edmar&LASTNAME=brandenburger%20souza&COUNTRYCODE=BR&TAXIDTYPE=BR_CPF&TAXID=09224562752&SHIPTONAME=Edmar%20souza&SHIPTOSTREET=rua%20santa%20rita%20%20221&SHIPTOSTREET2=madruga&SHIPTOCITY=Vassouras&SHIPTOSTATE=RJ&SHIPTOZIP=27700%2d000&SHIPTOCOUNTRYCODE=BR&SHIPTOCOUNTRYNAME=Brazil&ADDRESSSTATUS=Confirmed&CURRENCYCODE=USD&AMT=113%2e18&ITEMAMT=113%2e18&SHIPPINGAMT=0%2e00&HANDLINGAMT=0%2e00&TAXAMT=0%2e00&NOTIFYURL=https%3a%2f%2ffsreloading%2ecom%2findex%2ephp%3froute%3dextension%2fpayment%2fpp_express%2fipn&INSURANCEAMT=0%2e00&SHIPDISCAMT=0%2e00&TRANSACTIONID=5VF619525C340491H&INSURANCEOPTIONOFFERED=false&L_NAME0=Hornady%20G2%201500%20Electronic%20Scale&L_NAME1=Direct%20Link%20International&L_NUMBER0=H050106&L_NUMBER1=shipping&L_QTY0=3&L_QTY1=1&L_TAXAMT0=0%2e00&L_TAXAMT1=0%2e00&L_AMT0=29%2e99&L_AMT1=23%2e21&L_ITEMWEIGHTVALUE0=0%2e45&L_ITEMWEIGHTUNIT0=lb&L_ITEMLENGTHVALUE0=7%2e0&L_ITEMLENGTHUNIT0=in&L_ITEMWIDTHVALUE0=6%2e75&L_ITEMWIDTHUNIT0=in&L_ITEMHEIGHTVALUE0=1%2e5&L_ITEMHEIGHTUNIT0=in&PAYMENTREQUEST_0_CURRENCYCODE=USD&PAYMENTREQUEST_0_AMT=113%2e18&PAYMENTREQUEST_0_ITEMAMT=113%2e18&PAYMENTREQUEST_0_SHIPPINGAMT=0%2e00&PAYMENTREQUEST_0_HANDLINGAMT=0%2e00&PAYMENTREQUEST_0_TAXAMT=0%2e00&PAYMENTREQUEST_0_NOTIFYURL=https%3a%2f%2ffsreloading%2ecom%2findex%2ephp%3froute%3dextension%2fpayment%2fpp_express%2fipn&PAYMENTREQUEST_0_INSURANCEAMT=0%2e00&PAYMENTREQUEST_0_SHIPDISCAMT=0%2e00&PAYMENTREQUEST_0_TRANSACTIONID=5VF619525C340491H&PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID=pp%40fsreloading%2ecom&PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED=false&PAYMENTREQUEST_0_SOFTDESCRIPTOR=PAYPAL%20%2aFSRELOADING&PAYMENTREQUEST_0_SHIPTONAME=Edmar%20souza&PAYMENTREQUEST_0_SHIPTOSTREET=rua%20santa%20rita%20%20221&PAYMENTREQUEST_0_SHIPTOSTREET2=madruga&PAYMENTREQUEST_0_SHIPTOCITY=Vassouras&PAYMENTREQUEST_0_SHIPTOSTATE=RJ&PAYMENTREQUEST_0_SHIPTOZIP=27700%2d000&PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=BR&PAYMENTREQUEST_0_SHIPTOCOUNTRYNAME=Brazil&PAYMENTREQUEST_0_ADDRESSSTATUS=Confirmed&PAYMENTREQUEST_0_ADDRESSNORMALIZATIONSTATUS=UserPreferred&L_PAYMENTREQUEST_0_NAME0=Hornady%20G2%201500%20Electronic%20Scale&L_PAYMENTREQUEST_0_NAME1=Direct%20Link%20International&L_PAYMENTREQUEST_0_NUMBER0=H050106&L_PAYMENTREQUEST_0_NUMBER1=shipping&L_PAYMENTREQUEST_0_QTY0=3&L_PAYMENTREQUEST_0_QTY1=1&L_PAYMENTREQUEST_0_TAXAMT0=0%2e00&L_PAYMENTREQUEST_0_TAXAMT1=0%2e00&L_PAYMENTREQUEST_0_AMT0=29%2e99&L_PAYMENTREQUEST_0_AMT1=23%2e21&L_PAYMENTREQUEST_0_ITEMWEIGHTVALUE0=1%2e5&L_PAYMENTREQUEST_0_ITEMWEIGHTUNIT0=in&L_PAYMENTREQUEST_0_ITEMLENGTHVALUE0=0%2e45&L_PAYMENTREQUEST_0_ITEMLENGTHUNIT0=lb&L_PAYMENTREQUEST_0_ITEMWIDTHVALUE0=7%2e0&L_PAYMENTREQUEST_0_ITEMWIDTHUNIT0=in&L_PAYMENTREQUEST_0_ITEMHEIGHTVALUE0=6%2e75&L_PAYMENTREQUEST_0_ITEMHEIGHTUNIT0=in&PAYMENTREQUESTINFO_0_TRANSACTIONID=5VF619525C340491H&PAYMENTREQUESTINFO_0_ERRORCODE=0"
2018-08-31 1:26:32 - PayPal Express debug (Call data): {"TOKEN":"EC-6JJ59560YH333140V","PAYERID":"U8N4G96HLR2KY","METHOD":"DoExpressCheckoutPayment","PAYMENTREQUEST_0_NOTIFYURL":"https:\/\/fsreloading.com\/index.php?route=extension\/payment\/pp_express\/ipn","RETURNFMFDETAILS":1,"PAYMENTREQUEST_0_SHIPPINGAMT":"","PAYMENTREQUEST_0_CURRENCYCODE":"USD","PAYMENTREQUEST_0_PAYMENTACTION":"Sale","L_PAYMENTREQUEST_0_DESC0":"","L_PAYMENTREQUEST_0_NAME0":"Hornady G2 1500 Electronic Scale","L_PAYMENTREQUEST_0_NUMBER0":"H050106","L_PAYMENTREQUEST_0_AMT0":29.99,"L_PAYMENTREQUEST_0_QTY0":"3","L_PAYMENTREQUEST_0_ITEMURL0":"http:\/\/fsreloading.com\/hornady-g2-1500-electronic-scale.html","L_PAYMENTREQUEST_0_ITEMWEIGHTVALUE0":"0.45","L_PAYMENTREQUEST_0_ITEMWEIGHTUNIT0":"lb","L_PAYMENTREQUEST_0_ITEMLENGTHVALUE0":"7.00000000","L_PAYMENTREQUEST_0_ITEMLENGTHUNIT0":"in","L_PAYMENTREQUEST_0_ITEMWIDTHVALUE0":"6.75000000","L_PAYMENTREQUEST_0_ITEMWIDTHUNIT0":"in","L_PAYMENTREQUEST_0_ITEMHEIGHTVALUE0":"1.50000000","L_PAYMENTREQUEST_0_ITEMHEIGHTUNIT0":"in","L_PAYMENTREQUEST_0_NUMBER1":"shipping","L_PAYMENTREQUEST_0_NAME1":"Direct Link International","L_PAYMENTREQUEST_0_AMT1":23.21,"L_PAYMENTREQUEST_0_QTY1":1,"PAYMENTREQUEST_0_ITEMAMT":"113.18","PAYMENTREQUEST_0_AMT":"113.18"}
2018-08-31 1:26:34 - PayPal Express debug (Result): "TOKEN=EC%2d6JJ59560YH333140V&SUCCESSPAGEREDIRECTREQUESTED=false&TIMESTAMP=2018%2d08%2d31T01%3a26%3a33Z&CORRELATIONID=2ba464c6eb688&ACK=SuccessWithWarning&VERSION=109%2e0&BUILD=48666477&L_ERRORCODE0=11607&L_SHORTMESSAGE0=Duplicate%20Request&L_LONGMESSAGE0=A%20successful%20transaction%20has%20already%20been%20completed%20for%20this%20token%2e&L_SEVERITYCODE0=Warning&INSURANCEOPTIONSELECTED=false&SHIPPINGOPTIONISDEFAULT=false&PAYMENTINFO_0_TRANSACTIONID=5VF619525C340491H&PAYMENTINFO_0_TRANSACTIONTYPE=cart&PAYMENTINFO_0_PAYMENTTYPE=instant&PAYMENTINFO_0_ORDERTIME=2018%2d08%2d31T01%3a26%3a08Z&PAYMENTINFO_0_AMT=113%2e18&PAYMENTINFO_0_FEEAMT=5%2e28&PAYMENTINFO_0_TAXAMT=0%2e00&PAYMENTINFO_0_CURRENCYCODE=USD&PAYMENTINFO_0_PAYMENTSTATUS=Completed&PAYMENTINFO_0_PENDINGREASON=None&PAYMENTINFO_0_REASONCODE=None&PAYMENTINFO_0_PROTECTIONELIGIBILITY=Eligible&PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE=ItemNotReceivedEligible%2cUnauthorizedPaymentEligible&PAYMENTINFO_0_SELLERPAYPALACCOUNTID=pp%40fsreloading%2ecom&PAYMENTINFO_0_SECUREMERCHANTACCOUNTID=T63D5U375Y7BC&PAYMENTINFO_0_ERRORCODE=0&PAYMENTINFO_0_ACK=Success"

Re: PayPal Pro charging customers twice

Posted: Sat Sep 01, 2018 1:12 am
by straightlight
The issue is here:
L_SHORTMESSAGE0=Duplicate%20Request
You are encountering duplicated request with the same request.

Source: https://developer.paypal.com/docs/class ... ors/#11607

Re: PayPal Pro charging customers twice

Posted: Sat Sep 01, 2018 1:39 am
by larenewadespitler
I attached a text file which might be easier for you to view.

Re: PayPal Pro charging customers twice

Posted: Sat Sep 01, 2018 1:43 am
by larenewadespitler
After you click on the Confirm button, you see a colored message saying "Please wait". It disappears and then nothing happens. Most customers click on the Confirm Button order a second time generating a second charge. It seems to take the second time and you are taken to the Order Confirmation page.

One customer ordered the same product again 3 times before giving up.

Re: PayPal Pro charging customers twice

Posted: Sat Sep 01, 2018 1:46 am
by straightlight
See this solution: https://github.com/opencart/opencart/pu ... 7b40e19790 . However, since you are using OC v2.3.0.2 release, you'd need to tweak the output a bit.

Re: PayPal Pro charging customers twice

Posted: Sat Sep 01, 2018 2:10 am
by larenewadespitler
I looked at the first link.

I did not see any FAQ on the second link.

Re: PayPal Pro charging customers twice

Posted: Sat Sep 01, 2018 5:34 am
by straightlight
Fixed the locations on the previous post.

Re: PayPal Pro charging customers twice

Posted: Sat Sep 01, 2018 6:01 am
by larenewadespitler
I do not understand what you are asking me to do since I do not have this file in OpenCart 2.3:

upload/catalog/view/theme/default/template/extension/payment/pp_express.twig

Re: PayPal Pro charging customers twice

Posted: Sat Sep 01, 2018 7:44 pm
by straightlight
Instead of .twig, it would be .tpl for that file. As for the:

Code: Select all

{{ environment }}
line instructed, for v2x releases, it would be:

Code: Select all

<?php echo $environment; ?>
This should resolved the issue.

Re: PayPal Pro charging customers twice

Posted: Mon Sep 03, 2018 10:44 pm
by larenewadespitler
The file
/home/octest/public_html/catalog/view/theme/default/template/extension/payment/pp_express.tpl

looks like

<div class="buttons">
<div class="pull-right">
<a href="<?php echo $continue; ?>" class="btn btn-primary" id="button-confirm" data-loading-text="<?php echo $text_loading; ?>"><?php echo $button_continue; ?></a>
</div>
</div>
<script type="text/javascript"><!--
$('#button-confirm').on('click', function() {
$('#button-confirm').button('loading');
});
//--></script>

Re: PayPal Pro charging customers twice

Posted: Mon Sep 03, 2018 11:00 pm
by straightlight
This issue now seem to have been fixed on OC v3.1.0.0a release since yesterday. It was identified as a bug prior. Until then, unless a tweak fix gets published, patience will have to be an option until the stable release of the next release gets released.

Re: PayPal Pro charging customers twice

Posted: Wed Sep 05, 2018 1:24 am
by larenewadespitler
You are saying I need to wait for a fix for OpenCart 2.3.0.2?

Re: PayPal Pro charging customers twice

Posted: Mon Feb 25, 2019 8:43 pm
by motion2082
straightlight wrote:
Mon Sep 03, 2018 11:00 pm
This issue now seem to have been fixed on OC v3.1.0.0a release since yesterday. It was identified as a bug prior. Until then, unless a tweak fix gets published, patience will have to be an option until the stable release of the next release gets released.
Hey SL,

Having this issue on OC3.0.2.0

Should I just update the PayPal Pro files with the 3.1.0.0a release?

Do you know which files need to be updated?

Regards,
Motion

Re: PayPal Pro charging customers twice

Posted: Mon Feb 25, 2019 10:10 pm
by straightlight
It was confirmed by a user on the forum last week that Paypal Pro with OC v3.0.3.1 is functioning properly since.

Re: PayPal Pro charging customers twice

Posted: Mon Feb 25, 2019 10:24 pm
by motion2082
straightlight wrote:
Mon Feb 25, 2019 10:10 pm
It was confirmed by a user on the forum last week that Paypal Pro with OC v3.0.3.1 is functioning properly since.
This is really good information to know.
I should be ok to just replace the PayPal Pro Module files only for OC3.0.2.0 with v3.0.3.1?

Re: PayPal Pro charging customers twice

Posted: Mon Feb 25, 2019 10:26 pm
by straightlight
motion2082 wrote:
Mon Feb 25, 2019 10:24 pm
straightlight wrote:
Mon Feb 25, 2019 10:10 pm
It was confirmed by a user on the forum last week that Paypal Pro with OC v3.0.3.1 is functioning properly since.
This is really good information to know.
I should be ok to just replace the PayPal Pro Module files only for OC3.0.2.0 with v3.0.3.1?
I would rather suggest to upgrade by following this FAQ: viewtopic.php?f=176&p=739789#p730051