plugin conekta for connect payment
npm install conekta-plugin-capacitor
npx cap sync
setPublicKey(...)
getPublicKey()
setLanguage(...)
getLanguage()
createToken(...)
setApiVersion(...)
getApiVersion()
deviceFingerPrint()
getBaseUri()
setPublicKey(params: { key: string; }) => Promise<void>
Param | Type |
---|---|
params |
{ key: string; } |
getPublicKey() => Promise<{ key: string; }>
Returns: Promise<{ key: string; }>
setLanguage(params: { language: string; }) => Promise<void>
Param | Type |
---|---|
params |
{ language: string; } |
getLanguage() => Promise<{ language: string; }>
Returns: Promise<{ language: string; }>
createToken(card: { number: string; name: string; cvc: string; exp_month: string; exp_year: string; }) => Promise<any>
Param | Type |
---|---|
card |
{ number: string; name: string; cvc: string; exp_month: string; exp_year: string; } |
Returns: Promise<any>
setApiVersion(params: { api_version: string; }) => Promise<void>
Param | Type |
---|---|
params |
{ api_version: string; } |
getApiVersion() => Promise<{ api_version: string; }>
Returns: Promise<{ api_version: string; }>
deviceFingerPrint() => Promise<{ fingerprint: string; }>
Returns: Promise<{ fingerprint: string; }>
getBaseUri() => Promise<{ uri: string; }>
Returns: Promise<{ uri: string; }>