简体   繁体   English

EBS 支付集成 - PHP

[英]EBS Payment integration - PHP

I am trying to integrate EBS payment in php我正在尝试在 php 中集成 EBS 支付

Well i have a EBS secret key, accoundID as well as username and password to login into https://secure.ebs.in好吧,我有一个 EBS 密钥、accountID 以及登录https://secure.ebs.in 的用户名和密码

Basically i have downloaded PHP kit of EBS from here基本上我已经从这里下载了 EBS 的 PHP 套件

https://support.ebs.in/app/index.php?/default_import/Knowledgebase/Article/View/620/29/version-3-php . https://support.ebs.in/app/index.php?/default_import/Knowledgebase/Article/View/620/29/version-3-php

My download file includes a file named submit.php which POSTs values into EBS server, which is happening through <form method="post">我的下载文件包括一个文件名为submit.phpPOSTs值代入EBS服务器,这是通过发生<form method="post">

Now the document says现在文件说

Merchant Website will redirect the Customer to EBS Payment Page.商家网站会将客户重定向到 EBS 付款页面。

After submitting my form with MD5 $secure_hash and i have enabled Secure Hash validation in Request Preference in my admin panel.使用MD5 $secure_hash提交form后,我在管理面板的Request Preference中启用了Secure Hash validation

My form action URL will redirect to我的表单操作 URL 将重定向到

https://secure.ebs.in/pg/ma/reporting/graph/ https://secure.ebs.in/pg/ma/reporting/graph/

Should i have to get Payment Method screen where user enter credit/debit card details?我是否应该获得用户输入信用卡/借记卡详细信息的付款方式屏幕? Where i am i missing?我在哪里失踪? what is the exact flow of EBS integration through PHP?通过 PHP 进行 EBS 集成的确切流程是什么?

Try using the submit as a button not as an input on "pay.html" page.尝试将提交用作按钮而不是“pay.html”页面上的输入。

Replace代替

<input name="submitted" value="Submit" type="submit" />&nbsp;

with

<button type="submit" form="frmTransaction" value="Submit">Submit</button>

The error is occurring because even the submit value is getting posted as an input value.发生错误是因为即使提交值也被作为输入值发布。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM