Alguien sabe como solucionar el error de RefInvalido ? tengo este codigo de prueba
el coddigo es este <?php
$ApiLogin = '11959c415b33d0c';
$ApiKey = '6u39nqhq8ftd0hlvnjfs66eh8c';
$merchantId = '500238';
$accountId = '500547';
$referenceCode = 'XSECRETS01';
$amount = 40;
$currency = "MXN";
//“ApiKey~merchantId~referenceCode~amount~currency”.
$string = $ApiKey.$merchantId.'~'.$referenceCode.'~'.$amount.'~'.$currency;
$signature = md5($string);
?>
<form method="post" action="<?php echo $url; ?>">
<input name="merchantId" type="hidden" value="<?php echo $merchantId; ?>" >
<input name="accountId" type="hidden" value="<?php echo $accountId; ?>" >
<input name="description" type="hidden" value="Test Xsecrets" >
<input name="referenceCode" type="hidden" value="<?php echo $referenceCode; ?>" >
<input name="amount" type="hidden" value="<?php echo $amount; ?>" >
<input name="tax" type="hidden" value="0" >
<input name="taxReturnBase" type="hidden" value="0" >
<input name="currency" type="hidden" value="<?php echo $currency; ?>" >
<input name="signature" type="hidden" value="<?php echo $signature; ?>" >
<input name="Submit" type="submit" value="Enviar" >
</form>