|
|
@ -6,6 +6,7 @@ import type { MutationOptions } from "./options"; |
|
|
import { marriageQueryKeys } from "./query-keys"; |
|
|
import { marriageQueryKeys } from "./query-keys"; |
|
|
|
|
|
|
|
|
const HABCOIN_PAY_SERVICE = "marriagesubscriptionplan" as const; |
|
|
const HABCOIN_PAY_SERVICE = "marriagesubscriptionplan" as const; |
|
|
|
|
|
const HABCOIN_PAY_APP_NAME = "marriage" as const; |
|
|
|
|
|
|
|
|
type HabcoinPaymentResponse = unknown; |
|
|
type HabcoinPaymentResponse = unknown; |
|
|
|
|
|
|
|
|
@ -69,7 +70,7 @@ export async function getHabcoinPayment(params: HabcoinPaymentParams) { |
|
|
const queryParams: Record<string, unknown> = { |
|
|
const queryParams: Record<string, unknown> = { |
|
|
token: getSecurityToken(), |
|
|
token: getSecurityToken(), |
|
|
service: HABCOIN_PAY_SERVICE, |
|
|
service: HABCOIN_PAY_SERVICE, |
|
|
app_name: HABCOIN_PAY_SERVICE, |
|
|
|
|
|
|
|
|
app_name: HABCOIN_PAY_APP_NAME, |
|
|
object_id: objectId, |
|
|
object_id: objectId, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|