Solved

Payment gateway script/code

Posted on 2004-08-31
1
4,237 Views
Last Modified: 2013-11-29
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
Comment
Question by:Skiyuki
1 Comment
 
LVL 11

Accepted Solution

by:
BrianMM earned 500 total points
ID: 11951006
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What's wrong with this PDO query? 5 27
PHP alternative to file_get_contents('php://input') 4 72
Delete  php pages of a part of our site 8 33
PHP Mail error 3 28
This article discusses four methods for overlaying images in a container on a web page
Businesses who process credit card payments have to adhere to PCI Compliance standards. Here’s why that’s important.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question