Unique Item Number

Cap10Pat
Contributor
Contributor

I sell one product on my website with a Buy Now buttton. Each individual item has it's own unique item number. I'd like to be able to pass that number to paypal and get it back with the payment information so I know which item was paid for. A customer could make multiple different purchases, so simply knowing who paid for something is not enough. Is there a way to know which item was paid for. Customers never purchase multiple units at once, so all are single purchases. But a customer could configure 4 separate purchases and complete only 3 separate payments. To be clear, there is only one product, but each has a number.

 

 

Login to Me Too
3 REPLIES 3

skier
Advisor
Advisor

You would have to have a way to dynamically change one of the item button variables.  This can be done by some custom scripting on your web page or site.   It's up to you which variable to use, for example, you could use the "item_number" or one of the option variables.  Note, because of the requirement to dynamically change info, you cannot use "hosted" or "encrypted" item button code.  Your code needs tobe manually created or "clear text".

 

If coding your own stuff is not something you care to deal with, there are Developers.  You can find a list of them here.

 

 

Regards,

 

skier

Login to Me Too

Cap10Pat
Contributor
Contributor

I can probably assign a value to a variable myself. Would this still be using the Standard Button? Which documentation should I refer to for this? I've downloaded a few of the documents.

 

Login to Me Too

skier
Advisor
Advisor

There's no official PayPal documentaion available to explain how to dynamically change varialbles.   As for the code, yes, you would be using the standard item button code.

 

Regards,

 

skier

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.