stripe-external-redirect-navigation
CommunityFix back button after Stripe payments
Authorhubeiqiao
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill resolves an issue where the browser's back button incorrectly navigates users back to Stripe checkout after a payment is completed, instead of returning them to the previous page within your application.
Core Features & Use Cases
- Reliable Redirect Handling: Uses
sessionStorageto accurately track returns from external payment providers like Stripe, overcoming limitations ofdocument.referrer. - Seamless Navigation: Ensures the back button functions as expected, returning users to their intended app location.
- Use Case: After a user successfully pays for a subscription via Stripe, they are redirected back to your app's settings page. When they click the "Back" button, it should take them to their dashboard, not back to Stripe.
Quick Start
Implement the BackButton component in your application to manage navigation after external redirects.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: stripe-external-redirect-navigation Download link: https://github.com/hubeiqiao/skills/archive/main.zip#stripe-external-redirect-navigation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.