Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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,

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...