Quantcast
Channel: Active questions tagged paypal - Stack Overflow
Viewing all articles
Browse latest Browse all 518

PayPal IPN discount variable

$
0
0

I am using PayPal IPN to process payments on my website. I would like the user to be able to enter a discount code and the value (amount or percentage) passed through to PayPal and calculated.

I have been looking around the web but can only seem to find the following:

Use discount_amount_cart to charge a single discount amount for the entire cart.Use discount_amount_x to set a discount amount associated with item xUse discount_rate_cart to charge a single discount percentage for the entire cart.discount_rate_cart - Applies to entire cart however, this variable will only work with the "Upload" Method. Not the standard Add to Cart variables.

After testing these out in my request string:

...&discount_amount_cart=10&...

PayPal doesn't seem to recognise this discount. Does this actually exist any more in PayPal IPN?

thanks for your help!


Viewing all articles
Browse latest Browse all 518

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>