Compare commits
4 Commits
91a9c6ff7f
...
edf8a37ddc
| Author | SHA1 | Date | |
|---|---|---|---|
| edf8a37ddc | |||
| 7b743e5c57 | |||
| 82faf47585 | |||
| bc6cbe7d86 |
@ -51,7 +51,7 @@ router.post("/shop/checkout", requireLogin, async (req, res) => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const session = await stripe.checkout.sessions.create({
|
const session = await stripe.checkout.sessions.create({
|
||||||
payment_method_types: ["card", "paypal"],
|
payment_method_types: ["card"],
|
||||||
line_items: [{
|
line_items: [{
|
||||||
price_data: {
|
price_data: {
|
||||||
currency: "eur",
|
currency: "eur",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user