Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4279
  • Last Modified:

Payment gateway script/code

Hi,
Does anyone know where I can get script or codes that processing payments from a shopping cart?
What I am looking for is something like this:

<form action="https://www.paypal.com/cgi-bin/webscr" method="POST" onSubmit="return CheckForm(this)">
<NOBR>
<SCRIPT>
CheckoutCart();
</SCRIPT>
</NOBR>
<INPUT type=hidden value=_cart name=cmd>
<INPUT type=hidden value=1 name=upload>
<INPUT type=hidden value=emailaddress name=business>
<INPUT type=hidden value=USD name=currency_code>
<INPUT type=hidden value=http://www.site.com/cart/thanks.htm name=return>
<INPUT type=hidden value="Please include additional instructions if needed. Thank you!" name=cn>
<INPUT type=image height=35 alt="BUY NOW VIA PAYPAL" width=136 src="">
</form>

I'm looking for the following payment gateway scripts/codes: e-Gold and Moneybookers

I have this question because I am trying to set up a java cart, which you can find the script here: http://nopdesign.com/freecart/
Example site: http://shop.nopdesign.com/
But the problem is I only know how to intregate PayPal as a payment, and have no idea how to add the other payments.
So, I would like to know if there anyone know how to intregate a payment to any shopping cart(or the shopping cart that I'm using right now [NopCart])

Thanks~

P.S. This thread also refer to this post:
http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_21114286.html
0
Skiyuki
Asked:
Skiyuki
1 Solution
 
BrianMMCommented:
When using PayPal, as far as I am aware, payment from your site can only be done in this way, this is because when somone make a paypal payment, they require to login  to PayPal also... and so the form as above is the only way to do it, you can obviously get PayPal to return the user to your site once the transaction has succedded or indeed failed. You can be passed to an appropriate page.

In your 'return' you can pass an ID so you can return to thanks.php?custid=1234 and finish processing that you need to do at your end.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now