Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
feat(stripe): add paypal
Browse files Browse the repository at this point in the history
  • Loading branch information
floriaaan committed Aug 7, 2023
1 parent 8843355 commit eb0135e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const CreateCheckoutSession = async (
const { total, user_id, name, email } = request;

const { url, id } = await stripe.checkout.sessions.create({
payment_method_types: ["card"],
payment_method_types: ["card", "paypal"],
line_items: [
{
price_data: {
Expand Down

0 comments on commit eb0135e

Please sign in to comment.