apply "thawani" way payment

This commit is contained in:
2026-01-17 11:05:00 +03:00
parent 8083e9ec96
commit 69425580d6
7 changed files with 39 additions and 21 deletions

View File

@@ -75,8 +75,6 @@ export default function useOrder() {
duration: 0,
});
console.log(order?.roomNumber);
createOrder({
phone: mobilenumber || phone || giftDetails?.senderPhone,
comment: specialRequest,
@@ -152,8 +150,9 @@ export default function useOrder() {
);
else {
const redirectMessageKey = "order-redirect-loader";
if (
orderType === OrderType.Gift &&
localStorage.getItem("fascano_payment_method")?.toString() === '"thawani"' &&
mutationResult.data?.result?.orderID
) {
message.loading({