pass gallery path as redirectURL

This commit is contained in:
Abhinav-grd 2021-08-18 14:50:53 +05:30
parent 91bb017de8
commit fc25f7314c

View file

@ -161,9 +161,9 @@ class billingService {
action: string action: string
) { ) {
try { try {
window.location.href = `${getPaymentsUrl()}?productID=${productID}&paymentToken=${paymentToken}&action=${action}&rootURL=${ window.location.href = `${getPaymentsUrl()}?productID=${productID}&paymentToken=${paymentToken}&action=${action}&redirectURL=${
window.location.origin window.location.origin
}`; }/gallery`;
} catch (e) { } catch (e) {
logError(e, 'unable to get payments url'); logError(e, 'unable to get payments url');
throw e; throw e;