EasyCFM.COM ColdFusion Forums / Tutorial Requests! / smelting

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: smelting -- page: 1 2

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

hollie6001
01-04-2007 @ 3:13 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 7
Joined: Jan 2007

How 'bout a tutorial on implementing Paypals Direct Payment API.  We have a shopping cart, and I understand their instructions on how to send the contents of the cart to Paypal where they can pay.  But some customers don't like Paypal, so we bought Website Payments Pro, so they can "pay with a credit card and never leave our site".  I CANNOT figure out where to begin.  I know Coldfusion, but not xml or how to use/implement APIs or web services or whatever all that other stuff is.  Somebody help me. Pleeeze.

SirRawlins
01-04-2007 @ 3:24 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Moderator
Posts: 951
Joined: Mar 2006

I've been looking into this myself recently.

Paypal as I understand it have an 'integration team' that are intended to help you through this stuff, supply you with code examples and technical support etc.

It might be worth speaking to them to get the ball rolling.

Hope that helps,

Rob

hollie6001
01-04-2007 @ 3:38 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 7
Joined: Jan 2007

They have a list of people that you can "hire" to help you.  I'm smart, and if I know where to begin, I will be able to do this.  Here's the "instructions" to what I want to do.

https://www.paypal.com/IntegrationCenter/ic_direct-payment.html

It says to implement this API call, you must understand how to form the request and read the response.  Well, I don't.  Where do I begin to learn this stuff?

SirRawlins
01-04-2007 @ 3:58 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Moderator
Posts: 951
Joined: Mar 2006

Ok, well I'm not completely sure on this, but i'll try and start the ball rolling for you with integrating with the API.

Now, basicly the API is a public facing programmable interface that you can send requests too, the paypal server then processes it for you and provides you with a response from the request.

Now lucky for you, the web services provided by PayPal use the SOAP method, which is native to coldfusion, which means you wont need to write SOAP XML yourself, you should just be able to use the <cfinvoke> tag with the correct parameters to make your request, and coldfusion will write the XML for you.

Here is the API referance from PayPal.

https://www.paypal.com/IntegrationCenter/ic_api-reference.html

Download the documentation pack and give it a read through, and it should help you start getting your head around it all.

Next, checkout the livedocs for <cfinvoke> and it'll help explain how you use it to post a response to the API from PayPal.

Once you've posted to the webservice, it'll responed to the return variable of your <cfinvoke> tag, and again, coldfusion will read all your lovely XML for you can probably place it into a Stuct which will be easy for you to check for process confirmation and things.

Hope that helps, keep in mind I have not done this before, i'm just making some assumptions from what i've seen.

Rob

hollie6001
01-04-2007 @ 5:04 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 7
Joined: Jan 2007

Wow, I really do appreciate the help that your trying to give me.  I have read all that already.  I've worked my way through the steps that start at

https://www.paypal.com/IntegrationCenter/ic_pro_home.html

That API reference wasn't in English, was it?  (jk, see what I mean?)

Actually I tried step 3, installing the PayPal SDK, but I didn't get what to do with that.

I do know a lot of coldfusion (2 years), but that's all I know  (Well, html and javascript). I don't know soap, cfinvoke, http request, sending a request, post to a web service...  Basically I don't understand anything that you said in your last response.  

Should I just throw in the towel?  Can you help me?

daddyFL
01-04-2007 @ 11:01 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Senior Member
Posts: 373
Joined: Jan 2006

http://paypaldev.org/

Thanks

hollie6001
01-05-2007 @ 9:16 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 7
Joined: Jan 2007

Been there too, daddyFL.  Try finding someone who knows anything about Coldfusion.  Oh, wait I see it... There's a coldfusion section under Instant Payment Notification.  Not what I need, but let's look at it.  Last message was dated 12/4/06 - not bad.  Message before that 5/11/06!!!!!! Bad. Not in the mood to wait months for a response.

Next I did a search for Coldfusion.  I found a topic named "Website Payments Pro with ColdFusion".  WOW! Exactly what I need, right!?  It's people going back and forth on how they don't know how to do it...  Dated 12/7/05.  Yes, 2005.

All other coldfusion questions are unanswered.

Yes, I'm frustrated!!!!!!!!
Please help me SirRawlins.

Hollie

This message was edited by hollie6001 on 1-5-07 @ 9:27 AM

Webmaster
01-05-2007 @ 9:24 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4542
Joined: Jan 2002

ok.... first things first...

where on this list are you right now:


1) Set Up Sandbox Testing Environment
The Sandbox is a test environment which simulates the live PayPal site, except no actual money changes hands.  
  
2) Set Up API Credentials
Your credentials securely identify you to PayPal when you make an API call.  
  
3) Install PayPal SDK
The PayPal SDK makes it easy to call PayPal Web Service APIs from within your code.  
  
4) Implement Direct Payment
Learn how to process a credit card transaction with our Direct Payment API.  
  
5) Implement Express Checkout
Learn the details of the Express Checkout flow and the API calls involved at each step.

Lets start with that and go forward....

Pablo Varando
Senior Application Architect
EasyCFM.COM, LLC.

904.483.1457 \\ mobile
webmaster@easycfm.com \\email

hollie6001
01-05-2007 @ 9:31 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 7
Joined: Jan 2007

I have done 1 and 2.  I tried 3 and it didn't work.  That's when I went to http://paypaldev.org/ and found that everyone is having a problem with the SDK & Coldfusion.  That's where I am.  I don't know where to begin with step 4.

Hollie

Hey, that's where I know you from!  I've read lots of your posts, and tutorials...  Can't find the one to help me.  

This message was edited by hollie6001 on 1-5-07 @ 9:36 AM

shannanrohde
01-05-2007 @ 11:15 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Junior Member
Posts: 62
Joined: Sep 2006

Hey don't feel bad, I am having the same problem but with Authorize.net  I read the tutorial here but it doesnt work right.  I personally am begging my hosting server to help me install this.

VERY VERY HARD!!!

"You control the Internet, It doesn't control you" - http://www.uniquemadness.com

PAGE: 1 2

Website Designed and Developed by Pablo Varando.