How to manipulate payment return

  • Thread starter Thread starter FoxSecrets
  • Start date Start date

FoxSecrets

Guest
Member
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

Continue reading...
 
Top