Skip to content

Commit d757c3f

Browse files
authored
Merge pull request #418 from bakaphp/refact/payment-intent
refact: payment intent
2 parents eec971f + e3789c1 commit d757c3f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.32.4",
2+
"version": "0.32.5",
33
"license": "MIT",
44
"main": "dist/index.js",
55
"typings": "dist/index.d.ts",

src/mutations/commerce.mutation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export const CREATE_ORDER_FROM_GOOGLE_PLAY_IN_APP_PURCHASE = gql`
9393
export const GENERATE_ORDER_PAYMENT_INTENT_MUTATION = gql`
9494
mutation($amount: Money!) {
9595
generateOrderPaymentIntent(amount: $amount) {
96+
id
9697
client_secret
9798
status
9899
message

src/types/commerce.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ export interface OrderItemData {
186186
}
187187

188188
export interface GeneratePaymentIntentResult {
189+
id: string;
189190
client_secret: string;
190191
status?: string;
191192
message?: any;

0 commit comments

Comments
 (0)