Add Surcharge To Payment Type

 

VPCART has a feature for card selection on shopcustomer.asp and this is carried through checkout.



Below are the complete configurations to use with surcharge for payment type:

 

Xpaymenttypes

This is a comma-delimited list of payment types for surcharges. For Visa,MasterCard,American Express,PayPal.

 

If you have other payments (xotherpaymenttypes) available, e.g. Cheque,Bank Deposit, the other payments option need to be added to the surcharge dropdown as well.

So xpaymenttypes value can be listed as : Visa,MasterCard,American Express,PayPal,Cheque,Bank Deposit

Xpaymenttypespercentage

This is a comma-delimited list of surcharges, in percentage, according to what is in xpaymenttypes. For example, you want to charge 0.12% for Visa, 0.05% for MasterCard, 1% for American Express, and 3% for Paypal, then you can enter value as : 0.12,0.05,1,3

Xpaymenttypesfixed

This is a comma-delimited list of fixed surcharges according to what is in xpaymenttypes.

Xenablesurcharge

Yes to switch on surcharge. This will display the Payment Method form in shopcustomer.asp

 

You can enable the payment type surcharge by setting "Yes" to xenablesurcharge.

The surcharge fees will be calculated based on xpaymenttypespercentageorxpaymenttypesfixed.