Item name/description with CI Merchant

777 Views Asked by At

I've been playing with CI Merchant library and have a question about the item name/description when I get to the PayPal checkout page. Basically this is what I get when I send my request.

enter image description here

My question now is, how do I change the name and description of an item to something like "banner size XXX"? I tried adding L_PAYMENTREQUEST_n_NAMEm and L_PAYMENTREQUEST_n_DESCm but then it just keeps on doing nothing!

2

There are 2 best solutions below

3
On BEST ANSWER

Found the solution, what I needed to pass is the PAYMENTREQUEST_0_DESC and not the single items! All done :).

0
On

Please add name and description parameters in purchase_return method which you will be calling after payment complete.