php - How to pass total amount with order details in payeezy demo payment gateway -
i have integrated payeezy payment gateway 1 of e-commerce site. can pass order details price , quantity not able pass total amount order details.
here code using---->
<form action="https://demo.globalgatewaye4.firstdata.com/pay" id="pay_now_form_1dcc971562" method="post"> <input name="x_login" type="hidden" value="xxx-xxxx-xxxxxxxxxx" /> <input name="x_show_form" type="hidden" value="payment_form" /> <input name="x_fp_sequence" type="hidden" value="14605299651823126780" /> <input name="x_fp_hash" type="hidden" value="pnb-1.0-eba46929895e57fc4254e9ef11cdbcbcf647334c" /> <input name="x_amount" type="hidden" /> <input name="x_currency_code" type="hidden" value="usd" /> <input name="x_test_request" type="hidden" value="true" /> <input name="x_relay_response" type="hidden" value="" /> <input name="donation_prompt" type="hidden" /> <input name="button_code" type="hidden" value="pay mysite" /> <?php foreach ($_session["cart_item"] $item) { ?> <input name="x_line_item" value="1<|><?php echo $item['title']; ?><|><?php echo $item['title']; ?><|>1<|><?php echo $item['price']; ?><|>yes" type="hidden"> <?php } ?> <div class="cpwrap"> <button type="button" >pay now</button> </div> </form>
if pass value in <input name="x_amount" type="hidden" value="99"/>
then getting error "unable proceed payment " in paymant gateway.
so how resolve issue. please needful.
thanks in advance.
with regards, sudhir
yes.. after doing lot of research on payeezy got link
here code how integrate payeezy php dynamic order details , total amount.
Comments
Post a Comment