stiching worldpay examples together

半世苍凉 提交于 2019-12-24 07:37:41

问题


Hello I am working with worldpay at the moment, I am want to stich a few of the worldpay integration examples together, I have been told it is possible but I personally cannot see how.

The basics behind the e-commerce of the site, if the users selects a product, some extra options, and delivery region, they then click buy. This is much like this example from worldpay http://www.worldpay.com/support/kb/bg/examples/example_0/jr_example0.3.html, when the user clicks purchase I then want to send them to this page, http://www.worldpay.com/support/kb/bg/examples/example_0/jr_example0.5.html then finally take them to worldpay hosted checkout page.

Is this possible? Where do I submit the forms too? How do I pass what has been purchased through my form procedures?


回答1:


Yes this is possible.

You submit the form to https://secure-test.worldpay.com/wcc/purchase

To pass data from one form to the next

1 Set your form like this

<form action="page2.php" method="POST">

2 On page two get the date from $_POST

foreach($_POST as $key => $value)


来源:https://stackoverflow.com/questions/8355880/stiching-worldpay-examples-together

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!