Quickpay API
Jeg kan ikke helt gennemskue hvordan jeg skal udfører dette via deres API med PHPEksempel på Cancel, Example 1. HTTP POST request for cancel:
POST /api HTTP/1.1
Host: secure.quickpay.dk
User-Agent: Mozilla/4.0
Content-Length: 107
Content-Type: application/x-www-form-urlencoded
protocol=3
&msgtype=cancel
&merchant=11111111
&transaction=22222222
&md5check=9625ae14fab6adf160cdd3be434dc071
------------Example 2. XML response for cancel:-------------
<?xml version="1.0" encoding="UTF-8"?>
<response>
<msgtype>cancel</msgtype>
<ordernumber>RTEST-119756038112</ordernumber>
<amount>234</amount>
<currency>DKK</currency>
<time>071213163941</time>
<state>5</state>
<chstat>000</chstat>
<qpstat>000</qpstat>
<qpstatmsg>OK</qpstatmsg>
<merchantemail>test@quickpay.dk</merchantemail>
<merchant>QuickPay test account</merchant>
<transaction>5366754</transaction>
<cardtype>Dankort</cardtype>
<md5check>a429f70032e131bed9364a3578953f47</md5check>
</response>
