Skip to content
Agentguiden.no
Submit

Build a subscription system on Vipps With Claude Code

Martin Opstad Reistadbakk, CTO at Grete Roede, writes in kode24 that Vipps offers only an API, not subscriptions. With Claude Code he wrote agreements, charges, webhooks and invoicing, nearly 100 commits in two days.

Done with Claude CodeModerate

What was done

Martin Opstad Reistadbakk, CTO at Grete Roede, writes in kode24 that Vipps offers only an API, not subscriptions. With Claude Code he wrote agreements, charges, webhooks and invoicing, nearly 100 commits in two days. Codex reviewed the code and found, among other things, that the discount was deducted twice. The system went live on 1 August and nobody has been charged twice so far, but the first version took a month, and the author works at Aller, which owns kode24.

How to do it

  1. Paste the prompt into the tool, and replace the text in brackets with your own.
  2. Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
  3. Check the original before you trust a figure, a name or a date.

Try it with Claude Code

Read the API documentation for [payment provider] and plan subscriptions in [codebase]: agreements, charges, webhooks, upgrades and downgrades. Write tests for double charges, discounts and webhooks that arrive in the wrong order, and run them against [test environment]. Then have a second coding agent review the code. Show me the plan and the findings before anything is changed in production. You are done when all tests pass in the test environment and I have a list of known weaknesses.

Replace text in brackets with your own.

Done when. All tests pass in the test environment and you have a list of known weaknesses.

Read the original

kode24 ·

Five agents a day

A short email each morning with five concrete examples of what people use AI agents for. Each example links to its source. You can unsubscribe at any time.

You will first get an email to confirm the address.