apply "thawani" way payment
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user