Skip to content

Commit

Permalink
nativeCheckout is now createBacking (#590)
Browse files Browse the repository at this point in the history
Updated schema.
Moved Snackbar extension to the proper place.
Properly showing pledge errors.
nativeCheckout is now createBacking.
  • Loading branch information
eoji authored Aug 19, 2019
1 parent 900eaad commit c25d4f2
Show file tree
Hide file tree
Showing 11 changed files with 901 additions and 362 deletions.
4 changes: 2 additions & 2 deletions app/src/main/graphql/checkout.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mutation Checkout($projectId: ID!, $amount: String!, $paymentSourceId: String!, $locationId: String, $rewardId: ID) {
nativeCheckout(input: { projectId: $projectId, amount: $amount, paymentSourceId: $paymentSourceId, locationId: $locationId, rewardId: $rewardId }) {
mutation CreateBacking($projectId: ID!, $amount: String!, $paymentType: String!, $paymentSourceId: String!, $locationId: String, $rewardId: ID, $refParam: String ) {
createBacking(input: { projectId: $projectId, amount: $amount, paymentType: $paymentType, paymentSourceId: $paymentSourceId, locationId: $locationId, rewardId: $rewardId, refParam: $refParam }) {
checkout {
state
}
Expand Down
Loading

0 comments on commit c25d4f2

Please sign in to comment.