Need a little advice in setting paypal payment up.

Discussion in 'PayPal' started by Alexj17, Jun 14, 2011.

  1. #1
    Hi All

    Im creating a website for a client where they want to sell goods and recieve the payments via paypal. Now i thought this would have bee straight forward with paypal being huge but i cant seem to find the right things.

    I first started setting up a sandbox account using my own username and password. This sort of worked as i went to paypal and back to the website, but there was no price on the paypal screen and also, how do i know who was buying what? Im sure i must send over some information so i can pick it up on the confirmation page correct?

    The second thing is that the client said he has contacted paypal and all i need off him is a merchant ID. Now this is something i know nothing about, this is very different from the sandbox stuff i was setting up. I have tried google-ing this and getting very confused which is why i have turned to you guys.

    1) Can i receive payment just using a Merchant ID, if so how?
    2) If i have to use the way that the sandbox tutorial was sending me, how do i sent over details about customer and the order?

    Any information would be great.

    Alex
     
    Alexj17, Jun 14, 2011 IP
  2. sufia

    sufia Active Member

    Messages:
    358
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #2
    Hello
    Yes!paypal have now other Package to sell Digital product Business account setup with "PayPal Express Checkout" account.I recommend it.i already using and its too good for me.

    Thank you
     
    sufia, Jul 1, 2011 IP
  3. Arthur1

    Arthur1 Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Why not telephone PayPal and tell them what you want? I find them very helpful in sorting out issues
     
    Arthur1, Jul 1, 2011 IP
  4. monosodium

    monosodium Well-Known Member

    Messages:
    1,028
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    100
    #4
    Welcome to the jungle, Alex. PayPal have the most convoluted system and the world's most unintuitive website, and it took me YEARS to figure things out.

    1. Yes. If you have a Merchant ID (or his email) you can create a button on the fly. Your client needs to have things setup correctly - enabled - in their PayPal account. Assuming they did that, this page is basically what you need to generate PayPal buttons:

    https://cms.paypal.com/us/cgi-bin/?...howto_html_Appx_websitestandard_htmlvariables

    For the longest time, I assumed that you had to create and save a button on their site, but this isn't a good way because only the client can edit it.

    2. I wouldn't bother with the sandbox. You can check to see if what you did is working by clicking on the buttons.

    To track who was buying what, use the 'custom' variable. Here's an example.

    <input type="hidden" name="custom" value="$cust_name">
    HTML:
    Feel free to post more Q's. Note that there are many different types of e-commerce, so I'm not too sure exactly what you are trying to accomplish. Post more detail.
     
    monosodium, Jul 1, 2011 IP
  5. monosodium

    monosodium Well-Known Member

    Messages:
    1,028
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    100
    #5
    Here is a sample button from one of my sites.

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    	<input type="hidden" name="cmd" value="_xclick">
    	<input type="hidden" name="item_name" value="$invoice_var{domain}">
    	<input type="hidden" name="business" value="MYMERCHANTID">
    
    	<input type="hidden" name="amount" value="$invoice_var{commission}">
    
    	<input type="hidden" name="no_shipping" value="1">
    
    	<input type="hidden" name="no_note" value="1">
    
    	<input type="hidden" name="invoice" value="$invoice_var{number}">
    	<input type="hidden" name="custom" value="$invoice_var{number}">
    
    	<input type="hidden" name="notify_url" value="https://www.example.com/example-paypal-ipn.pl">
    
    	<input type="image" src="https://www.paypalobjects.com/WEBSCR-640-20110429-1/en_US/i/btn/btn_paynowCC_LG.gif" border="0" name="submit">
    
    	<img alt="" border="0" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/en_US/i/scr/pixel.gif" width="1" height="1">
    	</form>
    HTML:
     
    monosodium, Jul 1, 2011 IP
  6. unknownpray

    unknownpray Active Member

    Messages:
    3,831
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    70
    #6
    Use paypal express check out , that helps and good tool , i have a nice experience with it.
     
    unknownpray, Jul 20, 2011 IP