Action to process DPS not triggering
-
Noticed that the response from DPS always ended up on a 404 page rather than taking on any of the logic from Gravity Forms. From looking at the code it appears the action “parse_request” wasn’t getting triggered.
I suspect this was related to the theme I’m using and the priority of the 404 page compared to this action setup. To fix I increased the priority to 50 and it worked fine. This is the new line of cod ein class.GFDpsPxPayPlugin.php on line 60:
add_action(‘parse_request’, array($this, ‘processDpsReturn’), 50); // process DPS PxPay return
Hope this helps
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Action to process DPS not triggering’ is closed to new replies.