Payments
Stripe, connected in four fields.
Products, courses, test access, paid appointments: everything is collected through Stripe, card payments included. A successful payment triggers the rest on its own — access, stock, confirmation, receipt.
Payments
Products, courses, test access, paid appointments: everything is collected through Stripe, card payments included. A successful payment triggers the rest on its own — access, stock, confirmation, receipt.
In the admin, Store › Payment methods. You copy three values from your Stripe dashboard, and choose the mode.
Public API key pk_test_… (pk_live_… in production)
Secret key sk_test_…
Webhook secret whsec_…
Test mode ticked while you try things out
Webhook address to declare in Stripe:
https://your-site.com/shop/webhook/stripe/
Once the payment is confirmed, the order is marked paid and everything that depends on it follows, in the same operation.
Buying requires an account: that is what the course, the test access and the order history are attached to. A payment with no recipient would collect money and deliver nothing.
Two paths confirm a payment: the customer returning to the site, and Stripe's notification. JEIKO takes both into account without ever counting twice.
python manage.py jeiko_payments_reconcile_orders --dry-run --days 30
# shows what would be settled, without changing anything
Subscriptions are not handled: JEIKO collects one-off payments. A subscription notification received from Stripe is reported, not silently ignored.