Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PayFlow 2.0 - Issue with Sandbox and Live environment. #758

Closed
iMansoorAliKhan opened this issue Jun 1, 2017 · 0 comments
Closed

PayFlow 2.0 - Issue with Sandbox and Live environment. #758

iMansoorAliKhan opened this issue Jun 1, 2017 · 0 comments
Assignees
Milestone

Comments

@iMansoorAliKhan
Copy link

iMansoorAliKhan commented Jun 1, 2017

@kcppdevelopers Please take a look at below comment and please do the necessary adjustments.

ticket-> https://www.angelleye.com/support/scp/tickets.php?id=1202

When live keys are added and a coupon for 100% discount is applied and the only fee is the shipping fee, following error occurred. for the sandbox, it works fine so Andrew summed up this as below.

PayFlow API call failed.

Error Code: 7
Detailed Error Message: Field format error: 10413-The totals of the cart item amounts do not match order amounts.

Summery of the issue

First, if we look at the log, with Line Item Details disabled, we should not be getting a FREIGHTAMT value filled in
When that Line Item Details option is disabled, the PayPal request should be very basic, and include nothing but the total AMT being charged
It seems that we are dropping the actual line item amounts, but we're still adding FREIGHTAMT, and I think that's what's triggering the error on the live server
When it sees FREIGHTAMT, it expects to also see taxamt, handlingamt, and the individual line item amounts
And when it doesn't see those, it throws that error we're facing

Log file is attached below
paypal_payflow.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants