урлы переадресации автерпей, запрос юмани в копейках целым числом
This commit is contained in:
parent
9e188fba5c
commit
5d2d8396ca
@ -37,7 +37,7 @@ const { domain, pathname } = (() => {
|
||||
const host = window.location.hostname;
|
||||
return {
|
||||
domain: (host.includes("s") ? "s" : "") + from,
|
||||
pathname: from === "hub" ? "/wallet" : ""
|
||||
pathname: from === "hub" ? "/tariffs" : "/list"
|
||||
};
|
||||
})();
|
||||
|
||||
|
@ -102,7 +102,7 @@ export default function Payment() {
|
||||
fromSquiz,
|
||||
body: {
|
||||
type: selectedPaymentMethod,
|
||||
amount: Number(paymentValueField) * 100,
|
||||
amount: Math.floor(Number(paymentValueField) * 100),
|
||||
},
|
||||
paymentPurpose: notEnoughMoneyAmount ? "paycart" : "replenishwallet",
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user