# Issue testing paypal

**URL:** <https://forum.litium.com/t/issue-testing-paypal/1635>\
**Category:** Questions\
**Tags:** litium-7\
**Created:** [September 11, 2020, 7:01am UTC](https://forum.litium.com/t/issue-testing-paypal/1635 "2020-09-11T07:01:39Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [September 11, 2020, 7:01am UTC](https://forum.litium.com/t/issue-testing-paypal/1635/1 "2020-09-11T07:01:39Z")

</div>

I’m getting this error when testing PayPal, it occure when i get redirected back from paypal =\> Login =\> Click “Complete”.  
I get redirected back to my site, to this url /checkout.HandleResponse?Type=Response&ECOM\_ORDER\_ID=4545651c1bac4be9a155fc5544f944be&ECOM\_PAYMENT\_INFO\_ID=fbbc89addf5b402e898db2a8441a3cde

But i get this error.

(Latest Litium pre release, Latest PayPal addon, I have Log4Net installed)

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/0e881322fa2c724084058638d485c57519403f77.png)

**Something i see that is strange is the the ECOM\_ORDER\_ID and ECOM\_PAYMENT\_INFO\_ID is not formated as a guid?**

Litium version: 7.4.3

---

<div class="post-metadata">

**Author:** ![anusha.ganegoda](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/anusha.ganegoda/32/58_2.png) [@anusha.ganegoda](https://forum.litium.com/u/anusha.ganegoda)\
**Post date:** [September 14, 2020, 11:34am UTC](https://forum.litium.com/t/issue-testing-paypal/1635/2 "2020-09-14T11:34:23Z")

</div>

the values are guids, and it need not be formatted.

> <https://stackoverflow.com/questions/7775439/is-the-format-of-guid-always-the-same>

Do you see any other information in the logs related to this? Is the traceMode in Litium.AddOns.Paypal.dll.config true?

---

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [September 14, 2020, 11:52am UTC](https://forum.litium.com/t/issue-testing-paypal/1635/3 "2020-09-14T11:52:10Z")

</div>

TraceMode is true, this is all i can find in any log

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/3751238efa78fc20022a57e5fde138bb5754fe62.png)

---

<div class="post-metadata">

**Author:** ![anusha.ganegoda](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/anusha.ganegoda/32/58_2.png) [@anusha.ganegoda](https://forum.litium.com/u/anusha.ganegoda)\
**Post date:** [September 14, 2020, 1:34pm UTC](https://forum.litium.com/t/issue-testing-paypal/1635/4 "2020-09-14T13:34:55Z")

</div>

This is the exception, can I see the original data that is sent to PayPal?

---

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [September 14, 2020, 1:59pm UTC](https://forum.litium.com/t/issue-testing-paypal/1635/5 "2020-09-14T13:59:40Z")

</div>

This is what i can find

2020-09-14 15:56:12.1487 [App:02] [45b20346-4c8b-4d05-849d-fc922b250376] [INFO] [] Paypal Trace: LS100030 Calling SetExpressCheckout with following parameters. - LS100030 Calling SetExpressCheckout with following parameters.

VERSION = 97  
METHOD = SetExpressCheckout  
BUTTONSOURCE = Litium\_Cart\_EC  
MAXAMT = 36.00  
RETURNURL = [http://zandparts.mooo.nu/PaymentProviderResult.axd?U=http%3A%2F%2Fzandparts.mooo.nu%2Fen%2Fcheckout.HandleResponse%3FType%3DResponse&I=4de06b78ec9e4475a15070119538bc45&S=True&C=78548fe5bfcc68bd563c5e3380b3cd35&P=760b1205f6f24269a04b3f539d27c4b9](http://zandparts.mooo.nu/PaymentProviderResult.axd?U=http%3a%2f%2fzandparts.mooo.nu%2fen%2fcheckout.HandleResponse%3fType%3dResponse&I=4de06b78ec9e4475a15070119538bc45&S=True&C=78548fe5bfcc68bd563c5e3380b3cd35&P=760b1205f6f24269a04b3f539d27c4b9)  
CANCELURL = [http://zandparts.mooo.nu/PaymentProviderResult.axd?U=http%3A%2F%2Fzandparts.mooo.nu%2Fen%2Fcheckout.HandleCancelResponse%3FType%3DCancel&I=4de06b78ec9e4475a15070119538bc45&S=False&C=d5a51a4e1af2a89c94e07e10578c7e0a&P=760b1205f6f24269a04b3f539d27c4b9](http://zandparts.mooo.nu/PaymentProviderResult.axd?U=http%3a%2f%2fzandparts.mooo.nu%2fen%2fcheckout.HandleCancelResponse%3fType%3dCancel&I=4de06b78ec9e4475a15070119538bc45&S=False&C=d5a51a4e1af2a89c94e07e10578c7e0a&P=760b1205f6f24269a04b3f539d27c4b9)  
REQCONFIRMSHIPPING = 0  
ALLOWNOTE = 0  
PAYMENTREQUEST\_0\_PAYMENTACTION = Authorization  
HDRIMG =  
ADDROVERRIDE = 1  
EMAIL = [eric.sj11@hotmail.se](mailto:eric.sj11@hotmail.se)  
LOCALECODE = en  
L\_PAYMENTREQUEST\_0\_NAME0 = 0A001-00093800\_V  
L\_PAYMENTREQUEST\_0\_NUMBER0 = 1  
L\_PAYMENTREQUEST\_0\_AMT0 = 25.00  
L\_PAYMENTREQUEST\_0\_TAXAMT0 = 0.00  
L\_PAYMENTREQUEST\_0\_QTY0 = 1  
L\_PAYMENTREQUEST\_0\_NAME1 = No shipping note  
L\_PAYMENTREQUEST\_0\_NUMBER1 = 2  
L\_PAYMENTREQUEST\_0\_AMT1 = 10.00  
L\_PAYMENTREQUEST\_0\_TAXAMT1 = 0.00  
L\_PAYMENTREQUEST\_0\_QTY1 = 1  
PAYMENTREQUEST\_0\_SHIPTONAME = Eric Jennerstrand  
PAYMENTREQUEST\_0\_SHIPTOSTREET = Gökgatan 4B  
PAYMENTREQUEST\_0\_SHIPTOSTREET2 =  
PAYMENTREQUEST\_0\_SHIPTOCITY = Vetlanda  
PAYMENTREQUEST\_0\_SHIPTOSTATE =  
PAYMENTREQUEST\_0\_SHIPTOZIP = 57438  
PAYMENTREQUEST\_0\_SHIPTOCOUNTRYCODE = SE  
PAYMENTREQUEST\_0\_SHIPTOPHONENUM =  
PAYMENTREQUEST\_0\_AMT = 35.00  
PAYMENTREQUEST\_0\_CURRENCYCODE = EUR  
PAYMENTREQUEST\_0\_ITEMAMT = 35.00  
PAYMENTREQUEST\_0\_TAXAMT = 0.00  
PAYMENTREQUEST\_0\_INVNUM = LS100030

2020-09-14 15:56:14.4499 [App:02] [45b20346-4c8b-4d05-849d-fc922b250376] [INFO] [] Paypal Trace: LS100030 SetExpressCheckout response. - LS100030 SetExpressCheckout response.

TOKEN = EC-84J92598NG3795237  
TIMESTAMP = 2020-09-14T13:56:14Z  
CORRELATIONID = 81d240e8378ec  
ACK = Success  
VERSION = 97  
BUILD = 54871143

---

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [September 15, 2020, 11:14am UTC](https://forum.litium.com/t/issue-testing-paypal/1635/6 "2020-09-15T11:14:14Z")

</div>

Do you have any idea here?  
I noticed this is empty: PAYMENTREQUEST\_0\_SHIPTOPHONENUM =  
But it did not help to set phone. Same issue

---

<div class="post-metadata">

**Author:** ![anusha.ganegoda](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/anusha.ganegoda/32/58_2.png) [@anusha.ganegoda](https://forum.litium.com/u/anusha.ganegoda)\
**Post date:** [September 18, 2020, 6:53am UTC](https://forum.litium.com/t/issue-testing-paypal/1635/7 "2020-09-18T06:53:47Z")

</div>

We did a internal test, and PayPal is working in our test account. Would you report a issue to Litium so our Expert services can look deep.

---

<div class="post-metadata">

**Author:** ![anusha.ganegoda](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/anusha.ganegoda/32/58_2.png) [@anusha.ganegoda](https://forum.litium.com/u/anusha.ganegoda)\
**Post date:** [September 18, 2020, 7:42am UTC](https://forum.litium.com/t/issue-testing-paypal/1635/8 "2020-09-18T07:42:56Z")

</div>

> [@Ericsj11](#):
>
> PAYMENTREQUEST\_0\_PAYMENTACTION = Authorization

Can you check your PayPal account, may be it is configured to not accept Authorization for the payment method you are trying to use.  
What payment method did you try?

---

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [September 18, 2020, 8:47am UTC](https://forum.litium.com/t/issue-testing-paypal/1635/9 "2020-09-18T08:47:01Z")

</div>

Is it something that needs to be acitvated on the PayPal site? I can’t find anything.  
I get the same error with both “saldo” and “Credit card”

---

<div class="post-metadata">

**Author:** ![anusha.ganegoda](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/anusha.ganegoda/32/58_2.png) [@anusha.ganegoda](https://forum.litium.com/u/anusha.ganegoda)\
**Post date:** [September 22, 2020, 8:52am UTC](https://forum.litium.com/t/issue-testing-paypal/1635/10 "2020-09-22T08:52:50Z")

</div>

In the CheckoutFlow info passed here in the first parameter of this method below:  
\Src\Litium.Accelerator\Services\CheckoutServiceImpl.cs  
var result = paymentInfos[0].ExecutePayment(checkoutFlowInfo, SecurityToken.CurrentSecurityToken)

set the execute mode to Charge and see as below.  
checkoutFlowInfo.ExecutePaymentMode = ExecutePaymentMode.Charge;  
var result = paymentInfos[0].ExecutePayment(checkoutFlowInfo, SecurityToken.CurrentSecurityToken)

Would you check and see what happens?

---

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [September 22, 2020, 9:46am UTC](https://forum.litium.com/t/issue-testing-paypal/1635/11 "2020-09-22T09:46:35Z")

</div>

It solved the issue, so I guess the clients paypal is not setup for reserve. Thanks for you help!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [October 20, 2020, 9:46am UTC](https://forum.litium.com/t/issue-testing-paypal/1635/12 "2020-10-20T09:46:35Z")

</div>

Closed on October 20, 2020, 9:46am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
