Skip to content

Commit

Permalink
remove email from paypal paymentMethods.create
Browse files Browse the repository at this point in the history
  • Loading branch information
ih-abir committed Feb 8, 2024
1 parent 9e5742b commit 3e8e141
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/workers/dilmahtea-me-stripe/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ const handlePOST = async (request, env, ctx) => {
// @see https://stripe.com/docs/payments/accept-a-payment?integration=checkout
const paymentMethod = await stripe.paymentMethods.create({
type: 'paypal',
paypal: {
email: email,
},
});

function convertPriceToCents(price, quantity = 1) {
Expand Down

0 comments on commit 3e8e141

Please sign in to comment.