Skip to content

Add mutation to add a payment to the checkout#115

Merged
AlessioRocco merged 2 commits intomasterfrom
payment-mutation
Jun 5, 2020
Merged

Add mutation to add a payment to the checkout#115
AlessioRocco merged 2 commits intomasterfrom
payment-mutation

Conversation

@AlessioRocco
Copy link
Copy Markdown
Contributor

This PR adds the mutation to add a payment to the checkout. The mutation accepts the payment method, the amount, and the needed source attributes for the selected payment method.

It raises a CanCan::AccessDenied exception in case the current ability can't update the current order.

@AlessioRocco AlessioRocco self-assigned this May 22, 2020
@AlessioRocco AlessioRocco marked this pull request as ready for review June 5, 2020 10:24
@AlessioRocco AlessioRocco requested a review from rainerdema June 5, 2020 10:24
Copy link
Copy Markdown
Contributor

@rainerdema rainerdema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@AlessioRocco AlessioRocco merged commit 0f2ba54 into master Jun 5, 2020
@AlessioRocco AlessioRocco deleted the payment-mutation branch June 5, 2020 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants