Redirect payment systems

The following brands are covered in this section: PSC, QUICK

Requirements to process redirection payment transactions:

  • Redirecting the customer to the location provided in the AcceptPaymentResponse.
  • The location must not be displayed in an IFRAME. The customer should be redirected from the merchant system to the 3rd party site.

The following example shows a PSC request.

<SOAP-ENV:Envelope 
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
  xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Header/>
  <SOAP-ENV:Body>
    <etp:AcceptPayment>
      <merchantID>90000</merchantID>
      <tid>12090</tid>
      <pType>PSC</pType>
		   <payment xsi:type="etp:PaymentPSC">
		     <brand>PSC</brand>
		     <amount>1000</amount>
		     <currency>EUR</currency>
		   </payment>
    </etp:AcceptPayment>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl">
  <SOAP-ENV:Body>
    <etp:AcceptPaymentResponse>
      <status>OK</status>
      <returnCode>REDIRECT</returnCode>
      <mpayTID>1683984</mpayTID>
      <location>https://customer.test.at.paysafecard.com/psccustomer/[...]</location>
    </etp:AcceptPaymentResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

The AcceptPaymentResponse of a payment system initiating a redirect contains a location element, which content should be used to redirect the customer.