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)
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
the values are guids, and it need not be formatted.
c#, string, guid
Do you see any other information in the logs related to this? Is the traceMode in Litium.AddOns.Paypal.dll.config true?
TraceMode is true, this is all i can find in any log
This is the exception, can I see the original data that is sent to PayPal?
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
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
REQCONFIRMSHIPPING = 0
ALLOWNOTE = 0
PAYMENTREQUEST_0_PAYMENTACTION = Authorization
HDRIMG =
ADDROVERRIDE = 1
EMAIL = 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
Do you have any idea here?
I noticed this is empty: PAYMENTREQUEST_0_SHIPTOPHONENUM =
But it did not help to set phone. Same issue
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.
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?
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”
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?
It solved the issue, so I guess the clients paypal is not setup for reserve. Thanks for you help!
system
Closed
October 20, 2020, 9:46am
12
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.