tom*_*asr 7 php integration zend-framework bitbucket payu
我试图融入payU到eshop我想不出我在哪里,因为很长一段时间去错了.现在我试图使用这些类https://bitbucket.org/meritoo/zend-framework-payu-integration-library/src
有人遇到过类似的问题吗?我认为它还没有实现,因为我找不到如何将数据发送到payu的情况,因为方法$this->getParameters(true)返回空数组.我在哪里可以为payu设置参数以及如何设置?
小智 1
这是表格,您可以用于集成PAY U、支付网关、
<form method="post" action="https://secure.payu.com/api/v2_1/orders">
<input type="hidden" name="continueUrl" value="http://shop.url/continue" >
<input type="hidden" name="currencyCode" value="PLN" >
<input type="hidden" name="customerIp" value="123.123.123.123" >
<input type="hidden" name="description" value="Order description" >
<input type="hidden" name="merchantPosId" value="145227" >
<input type="hidden" name="notifyUrl" value="http://shop.url/notify" >
<input type="hidden" name="products[0].name" value="Product 1" >
<input type="hidden" name="products[0].quantity" value="1" >
<input type="hidden" name="products[0].unitPrice" value="1000" >
<input type="hidden" name="totalAmount" value="1000" >
<input type="hidden" name="OpenPayu-Signature" value="sender=145227;algorithm=MD5;signature=5fa8d94670eee6d182e930a0ccf9c2c6" >
<button type="submit" formtarget="_blank" >Pay with PayU</button>
</form >
Run Code Online (Sandbox Code Playgroud)
您需要确保动态获取所有值,例如产品名称、价格、数量等。另外,请查看更多信息
http://developers.payu.com/en/restapi.html
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1025 次 |
| 最近记录: |