1

I want to add a Paypal Express Checkout button on a CMS page to capture specific payment. Please help me. How can I accomplish that?

  • 1
    Can you explain a bit what are you trying to achieve? I mean the actual use case. – Marius Jul 8 '14 at 7:27
0

Create a phtml file, and then call your phtml file via CMS Pages:

{{block type="core/template" template="page/page.phtml"}}

Use your paypal express checkout code in that file.

The button on cart page links to the url "STORE.DOMAIN/paypal/express/start/" which is ultimately handled by startAction() method in

app/code/core/Mage/Paypal/Controller/Express/Abstract.php

| improve this answer | |
  • Can you tell me where can i find my Paypal Express Checkout code? – Shivbhadrasinh Gohil Jul 8 '14 at 7:26
  • This link can help you, i also update my answer for the path to ecc file: stackoverflow.com/questions/4855441/… – TBI Infotech Jul 8 '14 at 7:28
  • I am able to display the button on the CMS page but how can i make it checkout with the desired amount i want to be captured? And also i'm getting this error: "Unable to communicate with the PayPal gateway." – Shivbhadrasinh Gohil Jul 8 '14 at 14:04
1

If you are a programmer, you have to do custom work or hire a developer. Follow the helping Guide provided by Paypal. They have provided SDK's and some samples as well. you can make it work accordingly.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.