Showing results for 
Search instead for 
Did you mean: 

How to add product options to PayPal Checkout buttons?

Posted on

I'm using the "Client Side" code snippet from here:


And it's taken me a bit, but I've figured out how to embed variables - the docs don't really make it clear that you need to set a variable in JS, assign your variable value to it, and then use it in the code.


Now, I'm trying to figure out how to incorporate product options such as size or color. With the older "Paypal payments standard" you could do this via os0/os1/on0/on1 per here:


But I'm trying to get away from payments standard, and use Paypal checkout, instead.


Can anyone point me in the right direction? It seems like an item-level option would be in the items[] array but when reviewing the docs at there's no reference to adding options at all.


Haven't Found your Answer?

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