We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d9de27 commit 0520ceeCopy full SHA for 0520cee
2 files changed
src/resolvers/billingNew.ts
@@ -86,6 +86,7 @@ export default {
86
currency: string;
87
checksum: string;
88
nextPaymentDate: Date;
89
+ cloudPaymentsPublicId: string;
90
}> {
91
const { workspaceId, tariffPlanId, shouldSaveCard } = input;
92
@@ -178,6 +179,7 @@ debug: ${Boolean(workspace.isDebug)}`
178
179
currency: 'RUB',
180
checksum,
181
nextPaymentDate,
182
+ cloudPaymentsPublicId: process.env.CLOUDPAYMENTS_PUBLIC_ID || '',
183
};
184
},
185
src/typeDefs/billing.ts
@@ -270,6 +270,11 @@ type ComposePaymentResponse {
270
Next payment date (recurrent start)
271
"""
272
nextPaymentDate: DateTime!
273
+
274
+ """
275
+ CloudPayments public id (merchant identifier for widget)
276
277
+ cloudPaymentsPublicId: String!
278
}
279
280
0 commit comments