Appearance
Express Docs / ComputopGooglePayOptions
Type Alias: ComputopGooglePayOptions
ComputopGooglePayOptions =
Omit<GooglePayOptions,"gateway">
Defined in: src/types.ts:894
SDK-level options for the Computop Google Pay provider (Computop:GooglePay).
Remarks
Based on GooglePayOptions with gateway removed because the Computop provider always uses 'computop' as the gateway identifier.
Example
ts
const computopGooglePay: ProviderButtonConfig<'Computop:GooglePay'> = {
providerProtocolType: 'Computop',
paymentMethodType: 'GooglePay',
container: '#computop-googlepay-container',
style: { buttonColor: 'black', buttonType: 'buy' },
options: {
totalAmount: 19300,
currencyCode: 'USD',
countryCode: 'US',
gatewayMerchantId: 'mac_test',
merchantName: 'My Shop',
},
};