How to manipulate payment return

In getPurchaseObject method, the returnUrl and cancelUrl are added to purchase object which the user is redirected after the payment process.

I'd like to manipulate this return.. I got 2 questions

1) How to update status field of some table according to the return url?

2) How to directly add a popup message according to the return url, is there any attribute to buildLink?

Code:

public function getPurchaseFromRequest(\XF\Http\Request $request, \XF\Entity\User $purchaser, &$error =...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ