add config field to use finish url set on dashboard instead of module defined
Background:
Some merchant might want to use finish url set on Dashboard (Snap Preference), previously finish url used is hardcoded inside Snap onsuccess callback JS function that redirect to module's Success controller
This PR allow merchant to enable usage of finish url set on Dashboard by utilizing Snap result.finish_redirect_url callback result.
Background:
Some merchant might want to use finish url set on Dashboard (Snap Preference), previously finish url used is hardcoded inside Snap
onsuccess
callback JS function that redirect to module's Success controllerThis PR allow merchant to enable usage of finish url set on Dashboard by utilizing Snap
result.finish_redirect_url
callback result.