RSS Feed/News How to manipulate payment return

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,072
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top