started implementing stripe

This commit is contained in:
2025-06-26 15:15:16 +02:00
parent 3a0659b63b
commit 9b85f3bb8d
24 changed files with 2025 additions and 103 deletions

View File

@@ -164,8 +164,9 @@ function loadPlanForEdit(planId) {
document.getElementById('editMonthlyPrice').value = plan.monthly_price;
document.getElementById('editAnnualPrice').value = plan.annual_price;
document.getElementById('editButtonText').value = plan.button_text;
document.getElementById('editMonthlyStripeLink').value = plan.monthly_stripe_link || '';
document.getElementById('editAnnualStripeLink').value = plan.annual_stripe_link || '';
document.getElementById('stripeProductId').value = plan.stripe_product_id || '';
document.getElementById('stripeMonthlyPriceId').value = plan.stripe_monthly_price_id || '';
document.getElementById('stripeAnnualPriceId').value = plan.stripe_annual_price_id || '';
document.getElementById('editIsPopular').checked = plan.is_popular;
document.getElementById('editIsCustom').checked = plan.is_custom;
document.getElementById('editIsActive').checked = plan.is_active;