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
) {
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
}`;
}/gallery`;
} catch (e) {
logError(e, 'unable to get payments url');
throw e;