Improved some issues with the payment

This commit is contained in:
Tiago Ribeiro
2024-05-27 13:05:38 +01:00
parent 1f8e9106de
commit 4166781f7e
6 changed files with 47 additions and 63 deletions

View File

@@ -20,6 +20,7 @@ interface Props {
export default function PaymobPayment({user, price, setIsPaymentLoading, currency, duration, duration_unit, onSuccess}: Props) {
const [isLoading, setIsLoading] = useState(false);
console.log(user.id);
const router = useRouter();