pass gallery path as redirectURL
This commit is contained in:
parent
91bb017de8
commit
fc25f7314c
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue