Menu

PayU

Note: To learn about the features of PayU, there's an overviewhere

How to integrate PayU payments.

Direct payment request

For PayU payments, you must supply:

  • The <shopperEmailAddress>
  • The firstName of the shopper
  • The lastName of the shopper
Copied!
<?xml version="1.0" ?>
<!DOCTYPE paymentService PUBLIC "-//WorldPay//DTD WorldPay PaymentService v1//EN" "dtd/paymentService_v1.dtd">
<paymentService version="1.4" merchantCode="YOUR_MERCHANT CODE">
  <submit>
    <order orderCode="YOUR_ORDER_CODE"><!--Use a unique order code each time-->
      <description>YOUR_DESCRIPTION</description>
      <amount currencyCode="PLN" value="5000" exponent="2"/>
      <orderContent>YOUR_ORDER_CONTENT</orderContent>
      <paymentDetails>
        <PAYU-SSL shopperCountryCode="PL">
          <successURL>http://www.worldpay.com/successURL</successURL>
          <cancelURL>http://www.worldpay.com/cancelURL</cancelURL>
          <pendingURL>http://www.worldpay.com/pendingURL</pendingURL>
        </PAYU-SSL>
      </paymentDetails>
      <shopper>
        <shopperEmailAddress>shopper@worldpay.com</shopperEmailAddress><!--Mandatory-->
      </shopper>
      <shippingAddress>
        <address>
          <firstName>;Joe</firstName><!--Mandatory-->
          <lastName>;Bloggs</lastName><!--Mandatory-->
          <address1>;1 Riverside Street</address1>
          <postalCode>;36564</postalCode>
          <city>;Warsaw</city>
          <countryCode>;PL</countryCode>
        </address>
      </shippingAddress>
    </order>
  </submit>
</paymentService>