422065529090997 7isag6916podrm5yzk0h97mgrc22l5 const stripe = require('stripe')('sk_test_51IGX5eETQUEvzdyEWIBB0Hytju6TRlIu5zff6wdsJwtlL5o0Vi0413dVzgioaaNsCT1k2gQ8TlLV4BqQZHYJr6Dn00g49vOZfm'); const express = require('express'); const app = express(); app.use(express.static('.')); const YOUR_DOMAIN = 'http://localhost:4242'; app.post('/create-checkout-session', async (req, res) => { const session = await stripe.checkout.sessions.create({ payment_method_types: ['card'], line_items: [ { price_data: { currency: 'usd', product_data: { name: 'Stubborn Attachments', images: ['https://i.imgur.com/EHyR2nP.png'], }, unit_amount: 2000, }, quantity: 1, }, ], mode: 'payment', success_url: `${YOUR_DOMAIN}/success.html`, cancel_url: `${YOUR_DOMAIN}/cancel.html`, }); res.json({ id: session.id }); }); app.listen(4242, () => console.log('Running on port 4242')); ca_IsL9RhouwcgLKGXHWc0TqOIP5YpxA1J2
 
 
Heather Fuller
Admin