Wechatpay
WECHATPAY is a redirect payment system.
See chapter Redirect payment systems
<soapenv:Envelope
xmlns:soapenv="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"
xsi:type="AcceptPayment">
<soapenv:Header/>
<soapenv:Body>
<etp:AcceptPayment>
<merchantID>90000</merchantID>
<tid>1234</tid>
<pType>WECHATPAY</pType>
<payment xsi:type="etp:PaymentWECHATPAY">
<amount>1000</amount>
<currency>EUR</currency>
</payment>
<successURL>https://www.yourdomain.at/succ.php</successURL>
<errorURL>https://www.yourdomain.at/err.php</errorURL>
<confirmationURL>https://www.yourdomain.at/confirmation.php</confirmationURL>
</etp:AcceptPayment>
</soapenv:Body>
</soapenv: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>
<SOAP-ENV:Body>
<etp:AcceptPaymentResponse>
<status>OK</status>
<returnCode>REDIRECT</returnCode>
<mpayTID>5899651</mpayTID>
<location>https://test.mpay24.com/app/bin/checkout/proxy/cb84bb82bca0d6f51e534df412c5ff42</location>
</etp:AcceptPaymentResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Updated over 5 years ago