Stripe
stripe-node
Stripe | stripe-node | |
---|---|---|
7 | 39 | |
2,034 | 3,667 | |
0.8% | 0.7% | |
9.8 | 9.1 | |
2 days ago | 7 days ago | |
Swift | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stripe
-
October Stripe Developer Digest
Stripe iOS SDK: iOS SDK versions 22.8.1-22.8.3 contain updates to PaymentSheet, CardScan, and Identity, as well as bug fixes for Financial Connections and the Card Scan UI.
-
September Stripe Developer Digest
Stripe iOS SDK: iOS SDK versions 22.6.0 - 22.8.0 were released this month. These updates contain fixes and updates for PaymentSheet and Apple Pay.
-
August Stripe Developer Digest
Stripe iOS SDK v22.6.0: The stripe-ios v22.6.0 release includes support for Link payment method on payment sheets, adds the ability to capture selfie images in the native component flow for Identity, and fixes several bugs related to Identity.
-
July Stripe Developer Digest
Stripe iOS SDK v22.5.1: In iOS SDK version 22.5.1, you can now use PaymentSheet.ApplePayConfiguration.paymentSummaryItems to directly configure the payment summary items displayed in the Apple Pay sheet. This is useful for recurring payments.
-
January Developer Digest: The new Payment Links API, automatic payment methods, and Checkout updates
Stripe iOS SDK version 21.11.0 and 21.10.0: iOS SDK version 21.11.0 introduces several payment methods in the PaymentSheet including Afterpay/Clearpay, EPS, Giropay, Klarna, P24, and more. Version 21.10.0 introduces the StripeCardScan beta.
-
November Developer Digest: The *new* Payment element, Node SDK + Cloudflare Workers, and Stripe Identity samples
Stripe iOS SDK version 21.9.0: iOS SDK version 21.9.0 introduces several new features to PaymentSheet, including support for more payment methods like SEPA Direct Debit, Bancontact, iDEAL, and Sofort as well as support for setting up future usage for cards, Apple Pay, and Google Pay.
-
Postman API collection, Mobile SDK updates, and new no-code features
Stripe iOS SDK version 21.8.0: This new iOS SDK release adds support for Stripe Identity on iOS. Read more in the docs.
stripe-node
-
Build authenticated and paywall pages with Stripe and Xata
// File: src/pages/api/stripe/webhook.ts import Stripe from 'stripe'; import { getXataClient } from '@/xata'; import type { APIContext } from 'astro'; // Process rawBody from the request Object async function getRawBody(request: Request) { let chunks = []; let done = false; const reader = request.body.getReader(); while (!done) { const { value, done: isDone } = await reader.read(); if (value) { chunks.push(value); } done = isDone; } const bodyData = new Uint8Array(chunks.reduce((acc, chunk) => acc + chunk.length, 0)); let offset = 0; for (const chunk of chunks) { bodyData.set(chunk, offset); offset += chunk.length; } return Buffer.from(bodyData); } // Stripe API Reference // https://stripe.com/docs/webhooks#webhook-endpoint-def export async function POST({ request }: APIContext) { try { const STRIPE_SECRET_KEY = import.meta.env.STRIPE_SECRET_KEY; const STRIPE_WEBHOOK_SIG = import.meta.env.STRIPE_WEBHOOK_SIG; if (!STRIPE_SECRET_KEY || !STRIPE_WEBHOOK_SIG) return new Response(null, { status: 500 }); const stripe = new Stripe(STRIPE_SECRET_KEY, { apiVersion: '2023-10-16' }); const rawBody = await getRawBody(request); let event = JSON.parse(rawBody.toString()); const sig = request.headers.get('stripe-signature'); try { event = stripe.webhooks.constructEvent(rawBody, sig, STRIPE_WEBHOOK_SIG); } catch (err) { console.log(err.message); return new Response(`Webhook Error: ${err.message}`, { status: 400 }); } if (event.type === 'checkout.session.completed' || event.type === 'payment_intent.succeeded') { const email = event.data.object?.customer_details?.email; if (email) { const xata = getXataClient(); const existingRecord = await xata.db.user.filter({ email }).getFirst(); if (existingRecord) { await xata.db.user.update(existingRecord.id, { paid: true }); } else { await xata.db.user.create({ email, paid: true }); } return new Response('marked the user as paid', { status: 200 }); } return new Response('no email of the user is found', { status: 200 }); } return new Response(JSON.stringify(event), { status: 404 }); } catch (e) { return new Response(e.message || e.toString(), { status: 500 }); } }
-
Setting Up Stripe Payments in React
Before you can start accepting payments with Stripe Checkout, you need to create a Stripe account. Visit the Stripe website and sign up for an account. Once you have created an account, you will receive an API key that you will use to authenticate your requests to the Stripe API.
-
Build and deploy a Next.js ecommerce website in 5 steps
Next, we will enable checkout and payment processing through Stripe. First, install the Stripe clients with the following command:
- Where the hell do I create these nice animations
-
Start Charging Customers with Django and DjStripe
Head to Stripe and register if you haven't already. We can use the Stripe API in Test Mode to build the e-commerce app. You can add a bank account and get verified later when you're ready to start collecting real payments.
-
Highlights from Stripe's annual 2023 letter
Stripe published its 2023 annual letter last week. Much like the previous edition it was filled with a lot of interesting nuggets. Stripe has a strong history of being fairly transparent with its practices. These range from engineering challenges through its blogs as well as thought leadership in the financial and entrepreneurship space. I personally like the writing style of this letter as it doesn’t seem corporate or stuffy. Instead it is filled with humorous anecdotes, quirky observations and intelligent historical narratives which make it a compelling read. You can read the letter here → Stripe Annual Letter: 2023
-
From Messy to Memorable: Shorten Your Links, Boost Your Brand
Stripe – payments
- Stripe Is Down
-
Hyper IDE, using No-Code and Low-Code to Generate Software
Imagine you want to create an API endpoint that allows users to register in your backend, while simultaneously making a payment towards Stripe. This could be for something that's a subscription-based service, where you charge people for access to something.
-
We made a tool to detect big signups to your SaaS app. Want to be a beta tester?
Our app – Upollo – connects with your app event data (like Segment) and payment data (like Stripe) to analyze your users and instantly figure out if someone is an important player in your industry. We also help you convert more users, reduce churn, and expand single seats to teams within a company. We're SOC 2 certified and we take data security very seriously.
What are some alternatives?
purchases-ios - In-app purchases and subscriptions made easy. Support for iOS, watchOS, tvOS, macOS, and visionOS.
sanity-next-stripe-starter - Barebones blog set-up with NextJS and Sanity. Comes with Sanity's inbuilt image handler.
SwiftyStoreKit - Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and macOS 10.10+ ⛺
stripe-node-cloudflare-worker-template - Use stripe-node in a Cloudflare Worker.
ios-sdk - Open source SDK to quickly integrate subscriptions, stop worring about code maintenance, and getting advanced real-time data. Full support for iOS, iPadOS, WatchOS, MacOS
firebase-mobile-payments - Firebase Cloud Functions to create payments in native Android and iOS applications.
iCard - Bank Card Generator with Swift using SnapKit DSL 💳
react-stripe-js - React components for Stripe.js and Stripe Elements
card.io-iOS-SDK
Stripe - PHP library for the Stripe API.
Moltin - Swift SDK for the Moltin eCommerce API
stripe-react-native - React Native library for Stripe.