• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Confusion in Paypal

Hi guys

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="pay_pal">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="Donation">
<input type="hidden" name="item_number" value="1">
<input type="hidden" name="amount" value="9.00">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="AU">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="hidden" name="return" value="http://vipadvantage.com">
<input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but01.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">

1)Submit the paypal form

2)it goes to paypal site

3)customer complete his process

4)redirect to mywebsite

can any one please explain complete flow of paypal integration(steps)

Thanks in advance

Customer buys, he's taken to paypal, after a successfull transaction he's being taken back to your defined 'success' url (you should have 3 url's defined for communication and further action: success, cancel, ipn). Meanwhile Paypal sends a post to your defined 'ipn' url. Your server takes that post, checks back with paypal to verify if the transaction was indeed processed and adds the order or modifies the status of the existing one. It's quite simple.

checkout the Paypal_Lib in the wiki, it makes things easier in terms of dealing with Paypal IPN

Hi there,

I know this is a late reply, but here's how the complete flow:

1) User clicks on the Paypal submit button which sends them to Paypal.
2) User logs into their account or create a new account.
3) User make payment.
4) Paypal submits a hidden form (with some valuable information) back to your site. This will only happen if you set the URL where you want Paypal to submit that info to. The field is called "notify_url". After you've received this information, you should then add the order to your database. Optionally, you can have it send out a payment confirmation email to the customer with the Paypal transaction ID and all.
5) User clicks on the "Return to ..." button and views their receipt.

[eluser]The Wizard[/eluser]
i've also a paypal controller for Code Igniter, someone coded it i dont remember it anymore
but it works flawlessly.

lemme take a look

[eluser]The Wizard[/eluser]

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.