Solved

PayPal Integration and PHP

Posted on 2006-10-25
4
650 Views
Last Modified: 2008-01-09
I am having a website developed and I am struggling with the capability of the developers.  I need to pay via PayPal, but not using their shopping cart and then get the user to pick a u/n and p/w for the members section of the website.

How the ORDER process must work:
User clicks on Order software
Doesn’t launch a new window, merely the relevant parts in the iframe – this is only the order part of PayPal, not the full shopping cart.

The user buys the software and will be a new page in the frame.  

This one will say:
Thanks for buying xxx.  You will soon receive an email with the download details delivered into your email.

To set up your user account, please enter your proposed username:

Username : ______
Password : ______
Confirm : ______

If the name is not already taken – a customizable message to the user is returned in the frame
If it is not alreay taken – a customizable message to the user is returned in the frame asking the user to ‘Try Again’

Once a successful name has been selected, that name is then added to the members area.

Can someone help with this?

Thanks,
Chrism
0
Comment
Question by:Chrism
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:anilande
ID: 17809920
i can do it. but it is not a snipet of code to give it like that.
better option is ask your developer to do through the paypal integration document. they have provided code also.
or u can pay me to get it done.

anilande
0
 
LVL 2

Author Comment

by:Chrism
ID: 17810365
Hi anilande,

I'm interested.  How long would it take and how much would it cost me?

Thanks,
Chrism
0
 
LVL 4

Accepted Solution

by:
anilande earned 500 total points
ID: 17810431

if it is IPN then here is the code. u have to submit the form and the user will be taken to paypal site where he have to do the payment and then he will be returned to the http://your_domain.com/continue.php which is the return url specified in the form

=============================================================
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"  target="_blank">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="paypal_primary_email@your_domain.com">
<input type="hidden" name="return" value="http://your_domain.com/continue.php">
<input type="hidden" name="notify_url" value="http://your_domain.com/step1.php">
<input type="hidden" name="item_name" value="ENTER THE NAME OF YOUR ITEM ON SALE">
<input type="hidden" name="item_number" value="ENTER THE NUMBER OF YOUR ITEM ON SALE">
<input type="hidden" name="amount" value="$ENTER THE PRICE IN US DOLLARS">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="cs" value="1">
<input type="image" src="https://www.paypal.com/images/x-click-but23.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
=========================================================

if u want paypal credit card integration or still intrested in hiring contact me at anil_ande@yahoo.com

anilande
0
 
LVL 2

Author Comment

by:Chrism
ID: 17810521
Hi, tried the email addy and no luck - said it didn't exist.

Try me at chrism@anasoftconsulting.com

Thanks,
Chris
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now