08.09.2015 Views

Sankalp Shakti Demo

hcvdshcvdhscvghds

hcvdshcvdhscvghds

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A1.4 SurchargeXML<br />

Use this field to override the default surcharge in MySagePay for the current transaction. You can set a different surcharge value for each payment type (except PayPal).<br />

The value can either be a percentage or fixed amount.<br />

If a surcharge amount for the payment type selected is NOT included in the Surcharge XML, then the default value for that payment type will be used from MySagePay.<br />

If you wish to remove the surcharge value currently set in MySagePay for a payment type then you should send through the payment type with a surcharge value of 0 in<br />

the Surcharge XML. The XML tags should follow the order stated in the table.<br />

Surcharge XML elements<br />

Node/Element Mandatory Format Max Length Allowed Values Description<br />

No Node The root element for all other surcharge elements.<br />

└ Yes XML container<br />

element<br />

At least one must occur in the xml file. There can be multiple<br />

elements but each must have a unique .<br />

└ Yes 15 chars VISA<br />

MC<br />

MCDEBIT<br />

DELTA<br />

MAESTRO<br />

UKE<br />

AMEX<br />

DC<br />

JCB<br />

VISA is Visa<br />

MC is MasterCard<br />

MCDEBIT is Debit MasterCard<br />

DELTA is Visa Debit<br />

MAESTRO is Domestic and International issued Maestro<br />

UKE is Visa Electron<br />

AMEX is American Express<br />

DC is Diners Club International and Discover<br />

JCB is Japan Credit Bureau<br />

The value should be in UPPERCASE.<br />

└ Yes unless a <br />

element supplied<br />

Maximum 3 digits to<br />

2 decimal places<br />

The percentage of the transaction amount to be included as a surcharge for<br />

the transaction for the payment type of this element.<br />

└<br />

Yes unless a <br />

element supplied<br />

Amount of the surcharge containing minor digits formatted to 2 decimal<br />

places where appropriate.<br />

e.g. 5.10 or 3.29. Values such as 3.235 will be rejected. Minimum for no<br />

minor unit currencies like JPY is 1.<br />

Amounts must be in the UK currency format. The period must be used to<br />

indicate the decimal place. The comma must only be used to separate<br />

groups of thousands.<br />

View example Surcharge XML snippets on sagepay.com<br />

Sage Pay Form Integration and Protocol and Guidelines 3.00 Page 46 of 61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!