小弟需要一个worldpay支付接口,哪位高手给做个插件,多谢

2016-07-07 15:35 来源:www.chinab4c.com 作者:ecshop专家

小弟需要一个worldpay支付接口,哪位高手给做个插件,多谢

回答:
Basically all you need to do is send a few parameters to the Worldpay payment page.
This can be easily done through a http form post. An example would be as shown:

<FORM action="https://select.worldpay.com/wcc/purchase" method=post name=BuyForm>
<INPUT name=instId type=hidden value="XXXXX">
<INPUT name=cartId type=hidden value="Test Order from Worldpay">
<INPUT name=desc type=hidden value="test test">
<INPUT name=testMode type=hidden value="100">
<INPUT TYPE=HIDDEN NAME=currency VALUE="USD">
<INPUT TYPE=HIDDEN NAME=amount VALUE="1.00">
<Input type=submit value="Make Payment">
</FORM>

You can use the test Visa card number 4444333322221111 with expiry set to any date in the future to make a test transaction.

怎麼做個worldpay的插件?

算了, 我自己終於做好了, 不好意思.

分享一下吗?????