amplify icon indicating copy to clipboard operation
amplify copied to clipboard

[Documentation] Stripe Checkout

Open Alex-is-Gonzalez opened this issue 1 year ago • 2 comments

Currently, the Amplify project uses Stripe for its checkout process.

While comments alongside code can be helpful, separate documentation for how the Amplify app uses / implements Stripe Checkout can be even more useful, for example

To do Try highlighting functions(/create-transaction or /create-checkout-session) related to Stripe checkout like amplify/server/routes/api/checkout.js/ and try the following Copilot prompts:

  • [ ] "What does this function do?" or use the /explain slash command
  • [ ] "Refactor this more readable?"

Alex-is-Gonzalez avatar Oct 13 '23 15:10 Alex-is-Gonzalez

Hi can I work on this documentation task?

EmaleeSoto avatar Oct 19 '23 20:10 EmaleeSoto

Adding my updates to the issue

Currently, the Amplify project uses Stripe for its checkout process.

While comments alongside code can be helpful, separate documentation for how the Amplify app uses / implements Stripe Checkout can be even more useful, for example

Try highlighting functions(/create-transaction or /create-checkout-session) related to Stripe checkout like amplify/server/routes/api/checkout.js/ and try the following Copilot prompts:

  • "What does this function do?"
  • "How can we make this more readable?"
  • "How can we make this more robust?"

or use the /explain slash command

soumya03Surya avatar Mar 14 '24 13:03 soumya03Surya