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

Express Checkout - Line Items #676

Closed
angelleye opened this issue May 3, 2017 · 0 comments
Closed

Express Checkout - Line Items #676

angelleye opened this issue May 3, 2017 · 0 comments
Assignees
Milestone

Comments

@angelleye
Copy link
Collaborator

Need to look at the way line items are getting passed, and also remember to account for our "Send line item details to PayPal" option under settings. User reporting...


We got PP Express for WC working but now there’s a change in what we’re getting back via IPN.

Previously, the long IPN string included item_numberN parameters like this &item_number1=OI6_SUBS_MUL
Which carried the WC SKU for that product.

Now all the item_numberN items are empty
&item_number1=
But in both cases, the matching &item_name1= comes back with the correct details.

I’ve looked in the PPEX log and find a major change in what’s being sent to PP. We’re seeing lines like this – which are very long because they contain the HTML from the entire product description page.
[L_PAYMENTREQUEST_0_DESC0] => "A practical guide the new, changed and unfamiliar in Windows 10." Windows 10 Creators Edition for Microsoft Office users is a focused and unvarnished look at Windows 10, especially written for the many people who use Microsoft Office.

    ….

    So the SKU in the form of
    [L_PAYMENTREQUEST_0_NUMBER0] => OI6_SUBS_MUL
    Isn’t being passed to PP – its missing entirely from the log, replaced by the DESC0 entry.

    In PPE for WC this setting was ON

    I’ve turned that OFF – will that stop the [L_PAYMENTREQUEST_0_DESC0] details going to PP and put [L_PAYMENTREQUEST_0_NUMBER0] back?

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

No branches or pull requests

1 participant