ghostguild-org/server/api/helcim
Jennie Robinson Faber 0f841912e2
Some checks failed
Test / vitest (push) Successful in 11m5s
Test / playwright (push) Failing after 9m18s
Test / visual (push) Failing after 9m24s
Test / Notify on failure (push) Successful in 2s
fix(helcim): skip HelcimPay verify when a card is already on file
Helcim refuses paymentType:'verify' for cards already saved on a
customer ("A new card must be entered for saving the payment method"),
breaking every "Complete Payment" retry after a partial-failed signup.

Add GET /api/helcim/existing-card and short-circuit HelcimPay verify in
useMemberPayment + payment-setup.vue when a saved card is found, going
straight to subscription creation. The two existence-check fetches run
in parallel with get-or-create-customer so no extra round-trip latency
in the common path.
2026-04-26 17:27:40 +01:00
..
create-plan.post.js refactor(helcim): use helper in unused admin endpoints 2026-04-08 22:11:25 +01:00
customer-code.get.js refactor(helcim): use centralized helper in 5 simple endpoints 2026-04-08 21:44:18 +01:00
customer.post.js refactor(launch): simplify launch-readiness fixes 2026-04-25 19:34:16 +01:00
existing-card.get.js fix(helcim): skip HelcimPay verify when a card is already on file 2026-04-26 17:27:40 +01:00
get-or-create-customer.post.js refactor(helcim): wrapped PATCH body, first-activation welcome email guard 2026-04-18 17:06:30 +01:00
initialize-payment.post.js refactor(launch): simplify launch-readiness fixes 2026-04-25 19:34:16 +01:00
payment-history.get.js feat(billing): add payment history API route 2026-04-19 16:26:19 +01:00
plans.get.js refactor(helcim): use helper in unused admin endpoints 2026-04-08 22:11:25 +01:00
subscription.get.js fix(account): show payment history + next-charge for paid-then-$0 members 2026-04-20 12:36:18 +01:00
subscription.post.js feat(launch): security and correctness fixes for 2026-05-01 launch 2026-04-25 18:42:36 +01:00
subscriptions.get.js refactor(helcim): use helper in unused admin endpoints 2026-04-08 22:11:25 +01:00
update-billing.post.js refactor(helcim): use helper in unused admin endpoints 2026-04-08 22:11:25 +01:00
update-card.post.js feat(billing): add update-card API route with rollback + status gate 2026-04-19 16:29:23 +01:00
verify-payment.post.js refactor(helcim): use centralized helper in 5 simple endpoints 2026-04-08 21:44:18 +01:00