--
Some checks failed
Deploy / CreateImage (push) Has been cancelled
Deploy / DeployService (push) Has been cancelled

This commit is contained in:
Nastya 2025-07-24 12:27:53 +03:00
parent ce2582569b
commit e94eea6d3f

@ -34,8 +34,9 @@ export const sendPayment = async ({
additionalinformation?: string; additionalinformation?: string;
}): Promise<[SendPaymentResponse | null, string?]> => { }): Promise<[SendPaymentResponse | null, string?]> => {
// Правильно формируем returnUrl // Правильно формируем returnUrl
const domain = fromDomain || 'localhost:3000'; const domain = fromDomain || `${isStaging ? "s" : ""}hub.pena.digital`;
const path = backWay ? `/${backWay}` : ''; const path = backWay ? `/${backWay}` : '';
let returnUrl = `https://${domain}${path}?userid=${userId}&action=${action || 'buy'}`; let returnUrl = `https://${domain}${path}?userid=${userId}&action=${action || 'buy'}`;