Question

Hi I need help with omnipay bundle and symfony 2. I am integrating paypal payment on my symfony 2 project , and I do redirection on paypal do PAY there and paypal redirect me on my redirectUrl, with token and payerId.

But when I look in my sandbox account there is no transactions,

I am missing something probably, can anybody help?

Was it helpful?

Solution

You need to call completePurchase() (or completeAuthorize()) once the customer is redirected back to your site to complete the transaction. Pass it the same options you gave when you first called purchase():

$response = $gateway->completePurchase($options)->send();
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top