Quickly Deploy Mobile-Friendly Payment Pages with Stripe Checkout

Stripe Checkout is Stripe Provides a hosted payment page solution that supports a variety of payment methods and devices responsive design to help developers quickly integrate solutions that do not have to build complex payment UI. This article describes how to use Stripe Checkout to quickly build a mobile-friendly payment page, from basic configuration toCustomized parameters, progressively realizing deployment go-live.

Image [1] - Quickly Deploy Mobile-Friendly Payment Pages with Stripe Checkout

I. What is Stripe Checkout?

Stripe Checkout is a Stripe-providedHosted Payments PageThis can be accomplished through simple configuration:

  • Page adaptation for all devices (including cell phones and tablets)
  • Automatic support for multi-language, multi-currency, multipayment method(credit cards, Apple Pay, Google Pay, etc.)
  • Built-in payment validation (3D Secure, PCI compliant)
  • Supports multiple scenarios such as one-time payments, subscriptions, coupons, etc.

Its biggest advantage -Instead of writing your own front-end payment form, just create a session and jump over to it to complete the payment process.The

Image [2] - Quickly Deploy Mobile-Friendly Payment Pages with Stripe Checkout

Typical application scenarios of Stripe Checkout

Stripe Checkout is particularly suited to the following application scenarios:

  • quick saledigital productor single service (e.g. downloads, courses, reservations)
  • High percentage of mobile users, need to provide the ultimate clean payment page
  • Wanted to go live with payment functionality quickly but lacked front-end capabilities
  • Don't need a fully customizable UI, just want to receive payments quickly and securely

Integration process using Stripe Checkout

The whole process can be split into two parts:Create Checkout Session on the backend + Front-end Jump Payment PageThe

Step 1: Prepare your Stripe account

  1. Register and sign in to your Stripe account:https://dashboard.stripe.com
  2. Getting the API key: Go to the Developer→ API Keys page.
  3. Public key (for front-end use)
  4. Key (for back-end use)
Image [3] - Quickly Deploying Mobile-Friendly Payment Pages with Stripe Checkout

Step 2: Install the official Stripe SDK

Depending on the backend language used by the website (e.g. Node.js, PHP,Python etc.), install the official Stripe development kit (SDK).

Image [4] - Quickly Deploying Mobile-Friendly Payment Pages with Stripe Checkout

Step 3: Create Checkout Session on the Backend

Create a Checkout session on the server side based on product information (e.g., name, price, quantity) and payment settings (e.g., currency, tax included or not, coupon code enabled or not, etc.).

Image [5] - Quickly Deploy Mobile-Friendly Payment Pages with Stripe Checkout

Step 4: Jump the user to the Stripe payment page

The "Buy" button on your website or app should link to the Stripe generated in step 3 Payment PageStripe Checkout. When the user clicks the button, they are redirected to the Stripe Checkout page.

Image [6] - Quickly Deploying Mobile-Friendly Payment Pages with Stripe Checkout

Step 5: Customer completes payment and returns to your website

Users can complete their payment on the Stripe payment page after it has been completed on that page:

  • Show payment success message
Image [7] - Quickly Deploying Mobile-Friendly Payment Pages with Stripe Checkout

The advantages of Stripe Checkout's mobile experience

1. Adaptive design

Stripe Checkout PageAutomatically adapts to mobile, tablet and desktopThe developer does not need to adjust the style additionally. Users can open the payment link in their mobile browsers and get a smooth app-like experience.

Image [8] - Quickly Deploying Mobile-Friendly Payment Pages with Stripe Checkout

2. Support for mobile payment methods

The Checkout page automatically displays the appropriate payment method based on the user's device:

  • iPhone Display Apple Pay
  • Android Show Google Pay
  • Support WeChat payment, Alipay (depending on account opening)

V. Testing and Go-Live Recommendations

1. Testing cards with Stripe

Stripe offers a range of test card numbers to test the full process without having to make a real payment:

card typecard numberinstructions
General Successful Payment4242 4242 4242 4242most common
Payment Failure4000 0000 0000 9995will trigger a failure event
3D Secure4000 0027 6000 3184Test 3D Security Verification Page

2. Enabling Webhooks

In order to make an automatic shipment or send a notification after the payment is completed, you can listen to the following events:

  • checkout.session.completed: Payment completed
  • payment_intent.succeeded: Payment Successful

VI. Common problems and solutions

Can I customize the UI of Stripe Checkout?

It cannot be fully customized, but it can be done through branding settings andParameter ConfigurationChange the color scheme and display items. If you need to completely customize the front-end, consider using the Stripe ElementsThe

Image [9] - Quickly Deploy Mobile-Friendly Payment Pages with Stripe Checkout

Can I open the Checkout page in a WeChat app or app?

The Stripe Checkout page can be loaded in a WebView and it is recommended that you open it in a browser to ensure that Apple Pay, Google Pay, etc. are working properly.

How to interface with membership system or order system?

In the creation of the Checkout Session When the metadata The fields are passed in with the user ID, order number, etc. and are subsequently read and processed after a webhook or successful jump.

VII. Summary

Stripe Checkout is suitable for merchants and developers who do not require high front-end development skills and want to provide a professional, secure and mobile-friendly payment experience. It can be done through simple configuration:

  • Mobile Adaptation
  • Multiple Payment Methodsbe in favor of
  • Security Compliance Guarantee
  • Mature back-office administration and reconciliation support


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
Customer Service
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
This article was written by Millie
THE END
If you like it, support it.
kudos795 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments