How to manipulate payment return

Status
This content is read-only, or is not open for further replies.

FoxSecrets

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom