Compare commits
No commits in common. "edf8a37ddc117ecea4ece6204d94cfdf1326311a" and "91a9c6ff7fca11f1ce5585ce832e2115a42b6887" have entirely different histories.
edf8a37ddc
...
91a9c6ff7f
@ -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"],
|
payment_method_types: ["card", "paypal"],
|
||||||
line_items: [{
|
line_items: [{
|
||||||
price_data: {
|
price_data: {
|
||||||
currency: "eur",
|
currency: "eur",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user