Solved

PayPal Integration and PHP

Posted on 2006-10-25
4
651 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

863 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

22 Experts available now in Live!

Get 1:1 Help Now