[ic] Discount breaks when using Paypal

DB db at m-and-d.com
Fri Mar 2 15:05:23 UTC 2012


> On Thursday 1 March 2012 20:37:31 DB wrote:
>> For some orders I apply a discount on my checkout.html page such as:
>> 
>>     [discount ALL_ITEMS]$s*0.95[/discount]
>> 
>> which has always worked fine. I noticed however that if users pay by
>> Paypal, they do not receive the discount.
>> 
>> Is this an issue with the Paypal module?
> 
> I chose not to pass discounts through to Paypal itself, as there are too many 
> ways to apply discounts and get the  numbers wrong at Paypal, especially with 
> currency conversions. So instead the latest version will optionally display a 
> message stating that discounts will be applied at the final stage, and then 
> you would apply the same sort of discount code as you quote above on the final 
> page after they return from Paypal.
> 
> -- 
> Lyn St George
> eCommerce - build::support
> http://www.zolotek.net



Seems to work. I guess I should have read the code before asking
 :)

I added

<input type=hidden name=pp_discount_note value=1>

in checkout.html and in paypalcheckout.html. Is that the proper way?

DB



More information about the interchange-users mailing list