ANY HELP for PAYPAL BUY NOW custom variable?

by newbim
7 replies
Hi.

I've tied this post about 4 times already. I just want to know if anyone knows any good beginner / intermediate level tutorials about sending custom variables through a PAYPAL BUY NOW button?

I'm trying to send a $ number variable through, but it's not sending it back to the success page.

I've only spent about 8 hours trying to figure this out and read no end of articles and tutorials on it, but nothing seems to be helping.

ANY ADVICE would be greatly appreciated.

Thanks,

Andy.
#buy #custom #paypal #variable
  • Profile picture of the author KirkMcD
    Originally Posted by newbim View Post

    I've tied this post about 4 times already.
    No, this is the seventh time. Post once. If there are no answers, guess what, nobody who has seen your post knows the answer.
    Why don't you try the PayPal Developer forums?

    https://www.x.com/developers/paypal/forums
    {{ DiscussionBoard.errors[6223025].message }}
  • Profile picture of the author newbim
    Thanks for the sarcasm (helpful). I guess it's my fault that WF wasn't displaying it.

    Productive response though, thanks.
    Signature
    If what I said helps, let me know, throw me a 'thanks'.
    {{ DiscussionBoard.errors[6224807].message }}
  • Profile picture of the author aisdbuilder
    Hi Newbim,

    If i understand correctly, you have an encrypted Buy Now button and you want to include the $number var in the submission. You can add unencrypted form fields to one hosted by paypal. Just add the field normally within the form tags:

    PHP Code:
    <input type="hidden" name="custom" value="<?php echo  ?>" />
    Also, I don't believe Paypal actually sends the vars back to the success page. This would be handled by their IPN system.

    Hope that helps.
    {{ DiscussionBoard.errors[6226493].message }}
    • Profile picture of the author AdwordsMogul
      Originally Posted by aisdbuilder View Post

      Hi Newbim,

      If i understand correctly, you have an encrypted Buy Now button and you want to include the var in the submission. You can add unencrypted form fields to one hosted by paypal. Just add the field normally within the form tags:

      PHP Code:
      <input type="hidden" name="custom" value="<?php echo  ?>" />
      Also, I don't believe Paypal actually sends the vars back to the success page. This would be handled by their IPN system.

      Hope that helps.
      Exactly - you need to specify your notify_url when creating the button - this will send the IPN as a POST array.

      Save the data in a database including something that uniquely identifies the customer - using the custom field.

      For instance you could create an array and serialize it and then send it as part of the custom value.

      Then make sure you add that value to the return_url so the customer can be identified. Then do what you need to do with them.
      Signature
      "Those who can - DO IT. Those who can't, say it's impossible."
      Jean Paul a.k.a AdwordsMogul
      PHPDevelopers.net - Top of the range PHP developers

      Easy Link Saver - Are you tired of the pain of constantly searching for your affiliate links? ( Chrome extension - FREE )
      {{ DiscussionBoard.errors[6227245].message }}
  • Profile picture of the author jewelraz
    Hey mate, I have made this by myself,
    Check:
    Order Now | SEO Service Provider only offers Manual and White Hat SEO, No Black Hat or Automatic, Sorry

    Are you talking about this Buy now button? I have created a success page and inserted that link url in paypal buy button page....

    If you need help then you can pm me.
    {{ DiscussionBoard.errors[6255597].message }}

Trending Topics