is it me, or is paypal hard to use

No, not the website!

The API. I’m working on a new Flex website for my wife’s pottery business, and have come to the check out process. I’ve found a few posts on flexcoders, much the same content on Adobe’s forums, as well as pretty much the same people posting in Paypal’s Developer Forum.

I’ve seen mention of using a proxy to connect Flex to PayPal, fine, that makes sense. Where can I find the web service API? SOAP examples? I’ve gone through a ton of pages, downloaded enormous PDFs, I’ve looked and looked, and really just hope I’ve looked in the wrong place.

Hopefully someone can provide a clear answer for me. I don’t need anything fancy, i don’t think I need web payments pro, I simply want to be able to accept paypal payments, maybe take credit cards. I don’t mind setting up SSL and all that, but jeez Paypal, could you make it harder?

 

Anyone? Beuller?

6 thoughts on “is it me, or is paypal hard to use

  1. professional web designer Post author

    The problem with paypal i think is that they focus on the end users and don’t really give a hoot about us developers. They’re quite lazy where that’s concerned. They know, as developers, we’re tied in cause the client has probably asked specifically for paypal. Hang in there. Not sure if i can offer any specific help, but there’s usually ways around these paypal irritations.

  2. Aral Balkan Post author

    Hey John,

    Are you with their Payments Pro program? (It might be called something different in the US). Essentially, they have a "pro" account that you can integrate via various methods (and I found lots of docs, etc., on the site through the Payment Manager login.) Again, this may be something they only have for that program (the one that comes with the virtual terminal, etc.) Sorry I can’t be of more help.

  3. Ryan Campbell Post author

    Hey John,

    I recently added PayPal support to my Flex-based classified ads site (http://www.petsbc.com) and initially had the same frustrations as you. Basically they have 2 different APIs. A Name-Value Pair API and a SOAP API. I ended up using the Name-Value Pair API (which they suggest) because their SOAP API seems a little over engineered.

    To use their express checkout system you must:

    1. Send a SetExpressCheckout API call.
    In the request you pass a dollar amount, a return url and a cancel url
    In the response you get a unique token string used to identify the transaction
    2. Redirect the browse to the PayPal checkout URL and pass the token id
    3. The user will be redirected back to either the return url or cancel url (depending if they cancel or not)
    PayPal also appends a payer id to the return url
    4. Your return url should be a confirmation screen
    5. When the user clicks to confirm the payment, you send a DoExpressCheckoutPayment API call.
    In the request you need to pass the token, payer id and the amount.

    I'm using Java for my server-side code which talks to the PayPal API. If you are interested in the source code just send me an e-mail.

    Hey maybe there needs to be a "Integrate Flex and PayPal" session at 360|Flex :P

    Hope this helps!
    Ryan Campbell

  4. professional web des

    The problem with paypal i think is that they focus on the end users and don't really give a hoot about us developers. They're quite lazy where that's concerned. They know, as developers, we're tied in cause the client has probably asked specifically for paypal. Hang in there. Not sure if i can offer any specific help, but there's usually ways around these paypal irritations.

  5. Ryan Campbell

    Hey John,

    I recently added PayPal support to my Flex-based classified ads site (www.petsbc.com) and initially had the same frustrations as you. Basically they have 2 different APIs. A Name-Value Pair API and a SOAP API. I ended up using the Name-Value Pair API (which they suggest) because their SOAP API seems a little over engineered.

    To use their express checkout system you must:

    1. Send a SetExpressCheckout API call.
    In the request you pass a dollar amount, a return url and a cancel url
    In the response you get a unique token string used to identify the transaction
    2. Redirect the browse to the PayPal checkout URL and pass the token id
    3. The user will be redirected back to either the return url or cancel url (depending if they cancel or not)
    PayPal also appends a payer id to the return url
    4. Your return url should be a confirmation screen
    5. When the user clicks to confirm the payment, you send a DoExpressCheckoutPayment API call.
    In the request you need to pass the token, payer id and the amount.

    I'm using Java for my server-side code which talks to the PayPal API. If you are interested in the source code just send me an e-mail.

    Hey maybe there needs to be a "Integrate Flex and PayPal" session at 360|Flex :P

    Hope this helps!
    Ryan Campbell

  6. Aral Balkan

    Hey John,

    Are you with their Payments Pro program? (It might be called something different in the US). Essentially, they have a "pro" account that you can integrate via various methods (and I found lots of docs, etc., on the site through the Payment Manager login.) Again, this may be something they only have for that program (the one that comes with the virtual terminal, etc.) Sorry I can't be of more help.

Comments are closed.