payment-checkout

Manage Stripe payment flows from cart to confirmation with polling.

Updated Nov 14, 2025
One-click install
npx skills add https://github.com/ernitpt/ernit_test --skill payment-checkout
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: payment-checkout
Source: https://github.com/ernitpt/ernit_test/tree/main/.agent/skills/payment-checkout
Command: npx skills add https://github.com/ernitpt/ernit_test --skill payment-checkout

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures all payment and checkout processes within the Ernit app adhere to consistent, secure, and user-friendly patterns, streamlining the gifting experience.

Core Features & Use Cases

  • Stripe Payment Integration: Manages the entire payment flow from cart to confirmation using Stripe.
  • Gift Creation & Polling: Handles the asynchronous creation of gifts post-payment and client-side polling to confirm their availability.
  • Empowerment Flow: Facilitates buying experiences for others' goals, including mystery gifts.
  • Use Case: When a user selects an experience and proceeds to checkout, this Skill guides them through secure payment, ensures the gift is created, and presents a clear confirmation, adapting the flow whether they are buying for themselves, gifting to a friend, or empowering someone's goal.

Quick Start

Use the payment-checkout skill to process a payment for a selected experience.

Frequently Asked Questions about payment-checkout

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle asynchronous Stripe payment confirmation and gift creation in an ecommerce app?

To handle asynchronous Stripe payment confirmation, use Stripe Elements for client-side processing and implement polling mechanisms to verify gift creation status. This ensures reliable delivery by continuously checking asynchronous Cloud Functions until the transaction and gift are fully confirmed.

What is the best way to structure a Stripe checkout flow for empowering user goals?

The best way to structure a Stripe checkout flow for empowering user goals is to adapt the payment processing logic based on the transaction type. Facilitate buying experiences for others' goals, including mystery gifts, by routing the checkout through specific empowerment flows before reaching user confirmation screens.

Can I use Stripe Elements for client-side payment confirmation without managing server-side checkout sessions?

Yes, you can use Stripe Elements for client-side payment confirmation. The skill manages the flow from cart selection directly through secure payment processing, handling asynchronous gift creation via Cloud Functions rather than relying solely on server-side checkout session management.

Why does my ecommerce gift delivery fail after a successful Stripe transaction?

Gift delivery fails after a successful Stripe transaction when asynchronous Cloud Functions do not complete gift creation. Implement robust error handling and client-side polling mechanisms to confirm gift availability and ensure the user reaches the correct confirmation screen.

How do I build consistent checkout patterns for self-purchases versus gifting to a friend?

Build consistent checkout patterns for self-purchases versus gifting by enforcing unified payment processing rules while adapting the confirmation flow. The same Stripe transaction logic applies, but the interface adapts whether the user is buying for themselves, gifting to a friend, or empowering a goal.