PayPal Express Checkout api line items not showing

reblevins
Contributor
Contributor

I have been successfully using Express Checkout API for more than a year now, but a client realized that no line items are being sent, so I set about implementing that according to these docs here: https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECCustomizing/#provide-...

 

However, after implementing everything as described, the line items are not being sent.

 

Here is a snippet of the serialized code (we're populating hidden fom inputs and serializing before being sent):

PAYMENTREQUEST_0_ITEMAMT=450.13
PAYMENTREQUEST_0_SHIPPINGAMT=10.36
PAYMENTREQUEST_0_TAXAMT=0.00
PAYMENTREQUEST_0_AMT=460.49
PAYMENTREQUEST_0_SHIPTONAME=Customer+Name
PAYMENTREQUEST_0_SHIPTOSTREET=Address
PAYMENTREQUEST_0_SHIPTOCITY=City
PAYMENTREQUEST_0_SHIPTOSTATE=
PAYMENTREQUEST_0_SHIPTOZIP=ZIP
PAYMENTREQUEST_0_CURRENCYCODE=USD
PAYMENTREQUEST_0_PAYMENTACTION=Sale
PAYMENTREQUEST_0_CUSTOM=custom_info
L_PAYMENTREQUEST_0_NAME1=Product+1
L_PAYMENTREQUEST_0_DESC1=Product+1
L_PAYMENTREQUEST_0_NUMBER1=UPC
L_PAYMENTREQUEST_0_AMT1=%24371.20
L_PAYMENTREQUEST_0_QTY1=1
L_PAYMENTREQUEST_0_NAME2=Product+2
L_PAYMENTREQUEST_0_DESC2=Product+2
L_PAYMENTREQUEST_0_NUMBER2=UPC2
L_PAYMENTREQUEST_0_AMT2=%2478.93
L_PAYMENTREQUEST_0_QTY2=1

I have redacted some things, but this should give you the idea.

 

Any help is appreciated. Any other info needed let me know.

Login to Me Too
1 REPLY 1

reblevins
Contributor
Contributor
Quick Note: I'm trying this in the sandbox, I haven't tried it in production.
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.