On 16.05.2007, at 10:19, Jacob Nelson wrote:

Im using paypal to validate credit cards and purchases. I am using project wonder. I am looking for an example of how I send the information to paypal to validate the credit cards.I am finding a wealth of info on receiving the responses from paypal but nothing on sending them billing info ie: credit card# exp date, amount of purchases ect.... Maybe I do not understand the framework that well. I did read T.Cripps response but It mostly addresses the response from paypal.

WOPayPal is not build for that. They have a SOAP API and some newer stuff based on simpler http transfers. We implemented the SOAP API for Express Checkout and some more stuff and also the credit card handling.

But the PayPal SOAP API is, hmmm, how to say that ... well, it's complex, documentated in lots of different places, and nowhere really good. So you have to find the different docs on the PayPal site, get the examples and try it out.

Credit card handling is called "Direct Payment" in the API documentation. There is a document called PP_APIReference, if you want or need to use the SOAP API.

<https://www.paypal.com/en_US/pdf/PP_APIReference.pdf>

There is also example code for the SOAP API. The last I heard is, that they have a new API called NVPAPI (name-value-pair API) which should be easier to use than SOAP, but I can't say anything about that. We used SOAP and got it working eventually but with a lot of pain. Some parts of the API description is not really clear and some things are incorrect or out of date but the developer support at PayPal is really good and they really help you.

cug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to