aws-serverless-airline-booking icon indicating copy to clipboard operation
aws-serverless-airline-booking copied to clipboard

[Payment] Experiment with payment through AppSync

Open heitorlessa opened this issue 5 years ago • 0 comments

As per discussion on #87, there's value in bringing Payment into GraphQL Schema and possibly integrate with Stripe directly via HTTP data source.

We'd also need custom mutations and fine-grained authorization to secure certain transactions such as refund.

Initial steps to make this happen:

  • [ ] Create Payment type in GraphQL
  • [ ] Create custom mutation to collect and refund payments
  • [ ] Create custom resolver to call Stripe
  • [ ] Apply fine-grained authorization to allow IAM operations only
  • [ ] Merge collect payment with confirm booking
  • [ ] Update refund payment to use GraphQL API instead

heitorlessa avatar Jan 11 '20 23:01 heitorlessa