Anyone know how to link NOP Cart to NoChex?

Get help with nopcart's interaction with payment provider gateways like Authorize.net, Worldpay, etc.

Moderators: Koibito, Stefko, Randy

Anyone know how to link NOP Cart to NoChex?

Postby Rich_aka_Wig » Thu Jun 17, 2004 9:54 am

The subject title says it all :)

Details on the NoChex Checkout can be found here: http://www.nochex.com/logos/checkout.html

Thanks
Rich_aka_Wig
 
Posts: 7
Joined: Sun May 30, 2004 7:39 am

Not NOCHEX Again??

Postby Mark M » Fri Aug 13, 2004 8:11 pm

Hi Mate

Sorry I can't help but I have the same problem, we all know how good this cart is, but getting it to link to a payment gateway is a common problem.

I know the guys at NOP are doing a great job, and linking to PayPal and World pay are well documented, but if they see more posts about NOCHEX then I am sure they will help? I am very close to a solution and I am sure it will be something quite simple.

Here's Hoping

Regards

Mark
Mark M
 
Posts: 13
Joined: Mon Aug 09, 2004 6:48 pm
Location: UK Manchester

Postby Rich_aka_Wig » Sun Aug 15, 2004 7:59 pm

Yeah, fingers crossed! I'm using a rather primitive way at the moment (online order form then request NoChex payment) which seems fine with some.
Rich_aka_Wig
 
Posts: 7
Joined: Sun May 30, 2004 7:39 am

NOCHEX (Is working)

Postby Mark M » Sun Aug 22, 2004 1:16 pm

Hi

Found the answer, while playing around with the stings in some of the other gateways, I can now pass the totals from the cart to NOCHEX :D

The string that was causing the problem was the amount string. Basically and to keep this post short, all you need to do is use the World Pay link. i.e. Do the following:

In the head of you document on your checkout page just add the following:

<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
PaymentProcessor = 'wp'; </SCRIPT>


Because the function is already included in your original nopcart.js file the function is called.(that's if you haven't deleted it).

Then simply add the following to the Form Action:
<FORM TARGET="nochex"ACTION="https://www.nochex.com/nochex.dll/checkout"METHOD="post">

Making sure you add the hidden field for your e-mail address:

<INPUT TYPE="hidden" VALUE="you@yours.co.uk" NAME="email">

And then when your visitor submits the form the details are passed to NOCHEX.

To ensure I received the full order I created two checkout pages one that passes they information to the checkout.php, which then sends the information to me and redirects to the page that transfers the customer to the NOCHEX gateway. (Hope that makes sense?)

Hope this helps

Regards

Mark…

PS: I now need help with SECPAY????? I have the same problem..
Mark M
 
Posts: 13
Joined: Mon Aug 09, 2004 6:48 pm
Location: UK Manchester

Postby Rich_aka_Wig » Sun Aug 22, 2004 3:31 pm

Good looks on this Mark and cheers for posting it up - appreciated.

Just wondering if you could provide me with the code that allows you to redirect to the NoChex page after all the details (customers name, address, etc.) have been entered? Is it a seperate page on your website, or an adjustment to the checkout.php as at the moment, mine just goes to the "Thank you" page with a NoChex payment link included.

Hope that makes sense,

Rich
Rich_aka_Wig
 
Posts: 7
Joined: Sun May 30, 2004 7:39 am

Header & Footer

Postby Mark M » Tue Aug 24, 2004 3:03 pm

Hi

Sorry for the delay in replying to you last request, I am now busy trying to work out how to link the cart to SECPAY, In answer to your question I used the Header & Footer in the checkout.php to create an additional checkout page, on this page I placed the mechanism that directs the visitor to NOCHEX, this way you receive the order before the customer finally commits to the NOCHEX payment.

It can be tricky creating the reply page using headers and footers, but if you have a reasonable knowledge of HTML then it should not be a problem. The best way to do it is build your page to include the NOCHEX hidden form fields, then split the page at the point where you wish to add additional text from the checkout.pl and save one half as the header.htm and one as the footer.htm, then upload them to your server.

If you are confused by this look at the bottom of the checkout.php
And you should see something link this:

include($header);
echo "<h2>Thank you $b_first</h2>";
echo "Thank you for your order. You will receive a confirmation email of your order ";
echo "momentarily. Please contact us at $youremail if you have any questions or concerns.";
echo "<P>";
echo "<A HREF=\"$returnpage\" target=_top>Return Home</A>";
echo "<P>";
include($footer);


I hope this helps.

Regards Mark
Mark M
 
Posts: 13
Joined: Mon Aug 09, 2004 6:48 pm
Location: UK Manchester


Return to Help: Payment Gateways

Who is online

Users browsing this forum: No registered users and 0 guests