0
votes

I'm trying to pass item_name and item_number through Paypal ExpressCheckout and to receive them with Paypal IPN(in PHP).

In SetExpressCheckout I set item_name and item_number like this:

rest if SEC query string +

."L_PAYMENTREQUEST_0_NAME0=". urlencode($product_label). "&" .
"L_PAYMENTREQUEST_0_NUMBER0=". urlencode( $product_id );

The problems comes when Paypal sends me back ipn from payments made, but the item_name and item_number variables are empty. Those two fields are not empty when I make GetExpressCheckoutDetails call ( as L_PAYMENTREQUEST_0_NAME0 and L_PAYMENTREQUEST_0_NUMBER0 ).

I don't know if I explained well my problem but I hope you'll understand my tiredness
Thanks!

1

1 Answers

0
votes

It sounds like you're including the item details in SetExpressCheckout but then you're not including them in DoExpressCheckoutPayment. If you don't include them in DECP they won't be included in the actual payment, so they won't be returned in IPN or show up in transaction details.