YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

How to implement 2 actions for one button ? Options
richard
#1 Posted : Friday, December 27, 2002 5:29:49 PM
Rank: Starting Member

Groups: Registered

Joined: 12/27/2002
Posts: 1
Location: ,
Hi guys, I have my own register form which allows my subscriber to fill in all the personal (except credit card) information. When user click submit button, I want to save all information to my database(ex. www.test.com/register.aspx) and redirect to paypal register page: https://www.paypal.com/cgi-bin/webscr.... So how to implement the submit button to do two actions in same time ? Please give some sample code. Thanks Richard
Sponsor  
 
PayPalStephen
#2 Posted : Friday, December 27, 2002 5:46:24 PM
Rank: Starting Member

Groups: Registered

Joined: 10/17/2002
Posts: 2,139
Location: ,
You would either need to generate a post from your script after you save it to the database, or you would want to use the PayPal IPN feature to update the database after the payment has been made so you can process it.

http://www.paypal.com/cg...l/rec/ipn-intro-outside
https://www.paypal.com/c.../howto_checkout-outside

Stephen Ivaskevicius
PayPal/eBay, Inc.
www.paypal.com/pdn
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.124 seconds.