ToditoCash Card

How to integrate ToditoCash Card payments:

Direct payment request

For ToditoCash Card payments, you must supply:

  • The <shopperEmailAddress>
  • The pan - The voucher card number
  • The pin - The Personal Identification Number corresponding to the card
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE paymentService PUBLIC "-//WorldPay/DTD WorldPay PaymentService v1//EN" "">
<paymentService version="1.4" merchantCode="YOUR_MERCHANT_CODE"> <!--Use your merchant code-->
    <order orderCode="YOUR_ORDER_CODE"> <!--Use a unique order code each time-->
      <description>test order</description>
      <amount value="500" currencyCode="MXN" exponent="2"/>
        <TODITOCARD-SSL shopperCountryCode="MX">

Response URLs

If you are using the Direct model, you must specify the successURL, cancelURL, and pendingURL. If you are using the Hosted model, we recommend that you specify these URLs.

After you submit your order, the Worldpay Payment service returns either of the following response URLs:

  • successURL, if the payment is successful
  • pendingURL, which is returned in exceptional circumstances, for example, if there is an unexpected delay in the bank authorising the payment