简体   繁体   中英

Get item name in PayPal payments

I forward users from my website to the PayPal payment page via a simple POST request that contains payment information:

<FORM action="https://www.paypal.com/cgi-bin/webscr" method="post">

This form contains everything that is needed including an hidden element "item" that describes the product to be paid. Amazingly in my PayPal backend I never see the value of this "item" field but only the name of the person who paid.

So: what has to be changed to see the item/product name together with the received payments?

Thanks!

You should take a look: Paypal variables

item_name

Description of item. If this variable is omitted, buyers enter their own name during checkout.

  • Optional for Buy Now, Donate, Subscribe, Automatic Billing, Installment Plan, and Add to Cart buttons
  • Not used with Buy Gift Certificate buttons

Hope it helps!

Elmi, the name of the variable for the name of the object is "item_name".
Hope that helps.

您应该使用字段名称“item_name”而不是“item”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM