Does anyone have the php/xml codes to connect to http://www.bibit.com?
Specially the php / xml codes to interprete the payment status in xml sent to you from bibit.
Example of an XML confirmation message for status 'Authorised':
<?xml version="1.0"?>
<!DOCTYPE paymentService PUBLIC "-//Bibit//DTD Bibit PaymentService v1//EN"
"http://dtd.bibit.com/paymentService_v1.dtd">
<paymentService merchantCode="TECHMAN" version="1.3">
<reply>
<orderStatus orderCode="0123456789">
<payment>
<paymentMethod>VISA-SSL</paymentMethod>
<amount currencyCode="EUR" debitCreditIndicator="credit"
exponent="2" value="1982"/>
<lastEvent>AUTHORISED</lastEvent>
<balance accountType="IN_PROCESS">
<amount currencyCode="EUR"
debitCreditIndicator="credit" exponent="2" value="1525"/>
</balance>
<balance accountType="AUTHORISED">
<amount currencyCode="EUR"
debitCreditIndicator="debit" exponent="2" value="1525"/>
</balance>
<cardNumber>4111********1111</cardNumber>
</payment>
</orderStatus>
</reply>
</paymentService>
Thanks!
Bibit is a large payment site in Europe but no PHP sample codes for connect to its interface officially provided on its site. So php community has to help ourselves.
Thanks again