omnipay - Integrate Mollie in Sylius payumbundle -


i'm trying integrate mollie in sylius payumbundle via omnipay bridge. configuration looks like:

sylius_payment:     gateways:         mollie: mollie payum:     contexts:         mollie:             omnipay_onsite:                 type: mollie                 options:                     apikey: test_... 

it works fine, after payment procedure mollie redirects , following error:

the transactionreference parameter required

did succeed in integrating sylius mollie?

it seems offsitecaptureaction omnipaybridge not compatible omnipay/mollie gateway.

the following part offsitecaptureaction.php incompatible:

if (false == $details['returnurl'] && $request->gettoken()) {     $details['returnurl'] = $request->gettoken()->gettargeturl(); } 

if replace incompatible part following lines of code, works:

if (false == $details['returnurl'] && $request->gettoken()) {     $details['returnurl'] = $request->gettoken()->getafterurl(); }  if (false == $details['notifyurl'] && $request->gettoken()) {     $details['notifyurl'] = $request->gettoken()->gettargeturl(); } 

the mollie gateway uses notifyurl webhook confirm payments. important part of payment. after used webhook/notifyurl in background, customer redirected returnurl/afterurl. original piece of code missing notifyurl, , redirecting customer payment confirmation url.

it possible these changes not compatible other gateways. use mollie not big problem me.

i have made fork 0.14 branch: https://github.com/goemaere/omnipaybridge/blob/0.14/src/action/offsitecaptureaction.php#l43-l49


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -