payment intent test
This commit is contained in:
@@ -5,14 +5,14 @@ import Stripe from "stripe"
|
||||
|
||||
const stripe = new Stripe("", // <--- API AVAIN
|
||||
{apiVersion: "2023-08-16"}
|
||||
)
|
||||
);
|
||||
|
||||
const paymentIntentTest = async () => {
|
||||
const intent = await stripe.paymentIntents.create ({
|
||||
amount: 8,
|
||||
currency: "eur",
|
||||
})
|
||||
return intent
|
||||
});
|
||||
return intent;
|
||||
}
|
||||
|
||||
const JoinPageView: React.FC = () => (
|
||||
|
||||
Reference in New Issue
Block a user