I am using payfort as payment gateway. And y application is in Laravel 5.1. Iam using a pafort library for integrating it. When i am using purchase request api, it returns a html page.
When i check it in postman, for pretty, got response something like
<!DOCTYPE html>
<html>
<head>
<title>Payment redirect page</title>
</head>
<body>
<form method="post" action="http://ift.tt/2bOOvZK" id="frm" name="frm">
<input type="hidden" name="command" value="PURCHASE">
<input type="hidden" name="access_code" value="hjwuuquudhqdjd">
<input type="hidden" name="merchant_identifier" value="klklkns">
<input type="hidden" name="merchant_reference" value="ijijisux">
<input type="hidden" name="amount" value="1000">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="language" value="en">
<input type="hidden" name="customer_email" value="dev@gmail.com">
<input type="hidden" name="return_url" value="http://ift.tt/2yyvTsA">
<input type="hidden" name="signature" value="70ff4d91adef50f91c049bc68b64c12d1b212d5597463c3a2fef30830aa502dc">
</form>
<script>
document.frm.submit();
</script>
</body>
</html>
But for preview, i got a blank page. What should i do? I couldnt proceed without getting that preview.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire