Ciao a tutti,
non riesco a far funzionare il callback che mi invia IWBANK quando effettuo la transazione bancaria.
Ho fatto esattamente come dice il manuale solamente che sembra che l'url_callback che gli specifico non viene chiamato.
Sto lavorando nell'ambiente di test di iwbank.
Codice PHP:
<form action="https://testcheckout.iwsmile.it/Pagamenti/" method="POST">
<input type="hidden" name="ACCOUNT" value="700000001">
<input type="hidden" name="AMOUNT" value="{TOTAL_ORDER}">
<input type="hidden" name="ITEM_NAME" value="Pagamento ordine Butterfly Bijoux">
<input type="hidden" name="URL_OK" value="localhost/eCommerce/index.php?display=order_create&step=iwbank_response">
<input type="hidden" name="URL_BAD" value="localhost/eCommerce/index.php?display=order_create&step=iwbank_response">
<input type="hidden" name="URL_CALLBACK" value="localhost/eCommerce/index.php?display=order_create&step=verify_sign">
<input type="hidden" name="PAYER_FIRSTNAME" value="{NAME}">
<input type="hidden" name="PAYER_LASTNAME" value="{SURNAME}">
<input type="hidden" name="PAYER_EMAIL" value="{EMAIL}">
<input type="hidden" name="LANG_COUNTRY" value="IT">
<input type="hidden" name="FLAG_ONLY_CC" value="0">
<input type="hidden" name="FLAG_ONLY_IWS" value="0">
In pratica l'url localhost/eCommerce/index.php?display=order_create&step=verify_sign non viene chiamato.
Nel manuale di integrazione c'è scritto che url_callback deve essere chiamato tramite la porta 80.
Dove sbaglio? non riesco proprio a capire