Button Example Code



Discount & Coupon Examples

Add to Cart – Enter the Promo Coupon Code, Get a 10% Discount, on Screen Validation.


This example uses a script to verify the Promo Coupon Code and then applies the associated Discount Rate using the the “discount_rate” and the “discount_rate2” variables.

Give it a try, the Promo Coupon Code is:   GOLD10

Widgets in Space

Widget Cupcakes

Please Choose:

Cupcake Flavors:

Optional Gift Message:

Enter Promo Coupon – Get 10% Off:



In order to test the code, you must replace the “business” value variable with your PayPal Email Address or Account ID in both the View Cart button and the Add to Cart button.