SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 27 of 27
  1. #26
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If you are an advanced enough programmer to be preprocessing by POSTing to your own form then redirecting to PayPal, you don't need to use their basic cart. Record the order when it's POSTed to you, then redirect to a standard PayPal payment page with the order total and an item_id containing the ID of the order you recorded to connect the payment to the order once it's made.

  2. #27
    Theoretical Physics Student bronze trophy Jake Arkinstall's Avatar
    Join Date
    May 2006
    Location
    Lancaster University, UK
    Posts
    7,062
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dan Grossman View Post
    If you are an advanced enough programmer to be preprocessing by POSTing to your own form then redirecting to PayPal, you don't need to use their basic cart. Record the order when it's POSTed to you, then redirect to a standard PayPal payment page with the order total and an item_id containing the ID of the order you recorded to connect the payment to the order once it's made.
    That's exactly what he's doing.

    The problem is getting that data to paypal without a user directly sending a form to them.

    Of course, going through $_GET rather than $_POST is an easy solution but the question was weather one could replicate the posting of a form by the browser through PHP.
    Jake Arkinstall
    "Sometimes you don't need to reinvent the wheel;
    Sometimes its enough to make that wheel more rounded"-Molona


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •