schmittjoh/JMSPaymentPaypalBundle — Issue #22: How to handle the Payment process?
Author: dermythos
Created: 2012-02-15 13:49:53+00:00
State: open

Hi,

I'm trying to implement the PaypalBundle.

But I'm stuck at getting the approved Status to my Payments.
Probably I have a basic lack of understanding the workflow of PayPal.

So how it works:

1.
You need a route which calls the Action of the Controller(In my case its the provided DemoController)
First Problem here:
How to retrieve the payment Id out of the Callback?
Second:
The Return_Url should be the same as the first URL that called the Payment? Or is it better have a second Approve method?

Could you give me a short example how it would work in the routing.yml?

2.
You create the Order information.
3.
You get redirected to PayPal
4.
Login,Pay ...blabla...
5.
You get redirected again to your site.

But I'm realy missing the point of the approvement. The rest works out really great!

With best regards Robin