PayPal Direct Payment API Component
3 : Feedback
Useful component that provides a wrapper for PayPal's Direct Payment API, allowing any cake based application to accept payments via Direct Payment (processing credit cards and payments without leaving your website) and Express Checkout (allowing users to use their PayPal account to pay)
I hope this component is useful, I know it is for me anyway :) If you have any comments / questions try to add them (if you think they'll add value to other bakers) as comments on this page. If you want to contact me directly try:
email: mariano@cricava.com
blog: http://www.marianoiglesias.com.ar
Otherwise just drop a question on Cake's Google Group mentioning this component on the subject since I am constantly reading/writing on the group.
On the next page you will find the component source code.
Got your CakeSchwag? I bought myself the Baseball Jersey and the Khaki Cap. I have to wait till December 29 for them to arrive (I asked a friend from the states to buy them and bring it to me down here... Argentina is a long way from the US.) What are you waiting for?
Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge.
BAKE ON
email: mariano@cricava.com
blog: http://www.marianoiglesias.com.ar
Otherwise just drop a question on Cake's Google Group mentioning this component on the subject since I am constantly reading/writing on the group.
On the next page you will find the component source code.
Got your CakeSchwag? I bought myself the Baseball Jersey and the Khaki Cap. I have to wait till December 29 for them to arrive (I asked a friend from the states to buy them and bring it to me down here... Argentina is a long way from the US.) What are you waiting for?
Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge.
BAKE ON
Comments
Comment
1 PayPal Direct Payment API Version
Is the API used the US version for paypal pro?
I am wondering as paypal pro api is now avaliable in the uk but doesn't use the same sdk as the US version.
Would it be easy to have an all-in-one component that handled all version as this could be updated centrally instead of the uk users having to write there own?
Penfold
Comment
2 PayPal Direct Payment API Version
Penfold: Well I'm using the API they give you when you look for DirectPayment's SDK. I find it hard to believe they would change the API for another country. Can you provide a link (to my email) with the information you have that tells you their SDKs are different for US and UK?
Comment
3 Thanks
Question
4 UK version
Comment
5 Thank You
I'll be trying it out today. It will most definitely save me many, many hours.
Question
6 API Question
Controller Class:
<?php$this->Paypal->setEnvironment(CAKE_COMPONENT_PAYPAL_ENVIRONMENT_SANDBOX);
$this->Paypal->setUser('ApiUser');
$this->Paypal->setPassword('ApiPassword');
$this->Paypal->setCertificate('sandbox.paypal.com.pem');
$this->Paypal->setOrder($order);
?>
Hi, where should i put the pem file? technically it is located under {cake}/app/vendors/PEAR/PayPal/cert but the code errors up the says sandbox.paypal.com.pem cannot be located.
Please, badly need help to implement your API.
Comment
7 API Question
Comment
8 important
- Remove setCertificate and replace it with
$this->Paypal->setSignature('signature provided by paypal');.
and people it worked!!
Question
9 Cake 1.2 integration for the Paypal component
Comment
10 Cake 1.2 integration for the Paypal component
Comment
11 Fatal Error
Warning (2): require_once(PayPal.php) [function.require-once]: failed to open stream: No such file or directory [APP/controllers/components/paypal.php, line 12]Comment
12 Complicated Solutions
I try to implement the whole tutorials but it seems...it's quit difficult for me to understand with specially it doesn't give any instruction where to go. Where to put the a certain code. Specially the form and it's components.
Can u or anyone could help me how to make a step by step work in cooking paypal payment methods? Sorry but i'm just a newbie,...could anyone help me???
thnks