e-Billing

Discout for paying membership online

Hi,

I would appreciate your advice on the most efficient way of implementing a 10% discount on membership dues if a user pays online using e-Billing.

Thank you in advance for your advice and suggestion.
Kind regards,
Bilal

ProcessPayment in CPayment class

I am calling the ProcessPayment function in the CPayment class to process credit card transactions. This function has worked very well, but I began receiving errors from this function on a few specific users. I tracked the error down, and the ProcessPayment function itself was throwing an exception.

It turned out that the exception was being thrown when an ampersand was in the billing address.