ppiolu Posted September 28, 2023 Posted September 28, 2023 Hello Community Members, I hope you're all doing well. I'm reaching out to seek some guidance on integrating NatWest's Tyl Direct Virtual Terminal Gateway into my website. I've been going through their user guide, and I've encountered a an HTML form with the required parameters necessary to redirect the cardholder to the Hosted payment page. Following is the code. <html> <head> <title>IPG Connect Sample for PHP</title> </head> <body> <p><h1>Order Form</h1></p> <form method="post" action="link"> <input type="hidden" name="txntype" value=""/> <input type="hidden" name="timezone" value=""/> <input type="hidden" name="txndatetime" value="<% getDateTime() %>"/> <input type="hidden" name="hash_algorithm" value=""/> <input type="hidden" name="hashExtended" value="<% call createExtendedHash("13.00","978") %>"/> <input type="hidden" name="storename" value=""/> <input type="hidden" name="checkoutoption" value=""/> <input type="hidden" name="responseFailURL" value=""/> <input type="hidden" name="responseSuccessURL" value=""/> <input type="hidden" name="transactionNotificationURL" value=""/> <input type="text" name="chargetotal" value=""/> <input type="hidden" name="currency" value=""/> <input type="submit" value="Submit"> </form> </body> </html> My question to the community is where to add this code on my website and whether this HTML form code is the complete integration process, or if there are additional steps or considerations that I should be aware of. If anyone has experience with integrating NatWest's Tyl Direct Gateway or similar payment gateways, your insights and guidance would be greatly appreciated. Thank you in advance for your assistance, and I look forward to your responses. Best regards, Quote
Webitbz Posted September 29, 2023 Posted September 29, 2023 Hi, a new payment gateway should be developed for this purpose, you cannot just copy/paste this code somewhere. Besides that the form code you posted is for ASP and not for PHP. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.