質問

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?

役に立ちましたか?

解決

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();
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top