You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Get the available payments methods with additional data for gateways:
186
-
```graphql
187
-
query {
188
-
cart(cart_id: "{ CART_ID }") {
189
-
available_payment_methods {
190
-
code
191
-
title
192
-
buckaroo_additional {
193
-
key
194
-
values {
195
-
name
196
-
code
197
-
img
198
-
}
199
-
value
200
-
}
201
-
}
202
-
}
203
-
}
204
-
```
205
-
206
-
- Place order request example: In order to place a order you will need to the following 3 steps:
207
-
- Set the payment method on the card with the required additional parameters using the default `setPaymentMethodOnCart` and the `buckaroo_additional` property
208
-
- Set the return url using our custom migration `setBuckarooReturnUrl` required in order for the payment engine to redirect back to your application after the payment was completed/canceled/failed
209
-
- Finally execute the the default `placeOrder` that will return a redirect url for the payment engine to complete the payment
After this migration is performed you will need to store the buckaroo `transaction_id` and redirect the user to complete the payment
256
-
257
-
In order to get the payment status after the user is redirected back we will use our custom migration `buckarooPaymentTransactionStatus` that will need the stored `transaction_id`
0 commit comments