@@ -95,12 +68,10 @@ export default function TestPricingPage() {
Test the Stripe payment integration with various pricing scenarios
- and configurations. This page demonstrates the full payment flow
- including subscriptions, one-time payments, and custom amounts.
+ and configurations.
- {/* Test Plans */}
Test Subscription Plans
@@ -110,9 +81,7 @@ export default function TestPricingPage() {
- {/* Custom Testing Section */}
- {/* Custom Payment Test */}
@@ -165,7 +134,7 @@ export default function TestPricingPage() {
- Test Custom{" "}
- {testMode === "subscription" ? "Subscription" : "Payment"} -{" "}
- {customAmount} {customCurrency.toUpperCase()}
+ Test Custom {testMode === "subscription" ? "Subscription" : "Payment"} - {customAmount} {customCurrency.toUpperCase()}
- {/* Quick Test Buttons */}
@@ -196,7 +162,7 @@ export default function TestPricingPage() {
- Test $9.99/month Subscription
+ Test $19.99/month Subscription
Test $49.99 One-time Payment
-
-
- Test Free Trial (Disabled)
-
- {/* Test Information */}
Testing Information
@@ -268,19 +217,10 @@ export default function TestPricingPage() {
Test Credit Cards
-
- 4242424242424242 - Visa (Success)
-
-
- 4000000000000002 - Visa (Declined)
-
-
- 4000000000009995 - Visa (Insufficient funds)
-
-
- 4000002500003155 - Visa (Requires
- authentication)
-
+
4242424242424242 - Visa (Success)
+
4000000000000002 - Visa (Declined)
+
4000000000009995 - Visa (Insufficient funds)
+
4000002500003155 - Visa (Requires authentication)
@@ -293,13 +233,6 @@ export default function TestPricingPage() {
-
-
- Note: This page is for testing Stripe
- integration. No real payments will be processed. Make sure your
- environment variables are set correctly with Stripe test keys.
-
- This feature requires a {userSubscription === 'free' ? 'Pro' : 'Enterprise'} subscription to access.
+ This feature requires a Pro subscription to access.