Updated the payment integration to be dynamic
This commit is contained in:
@@ -40,7 +40,7 @@ export default function PaymobPayment({user, price, setIsPaymentLoading, currenc
|
||||
amount: price * 1000,
|
||||
currency: "OMR",
|
||||
items: [],
|
||||
payment_methods: [1540],
|
||||
payment_methods: [],
|
||||
customer: {
|
||||
email: user.email,
|
||||
first_name: user.name.split(" ")[0],
|
||||
|
||||
Reference in New Issue
Block a user