I got the same with stripe:
paymentRequest: google.payments.api.PaymentDataRequest = {
apiVersion: 2,
apiVersionMinor: 0,
allowedPaymentMethods: [
{
type: 'CARD' as google.payments.api.PaymentMethodType, // ✅ Correct Type
parameters: {
allowedAuthMethods: ['PAN_ONLY', 'CRYPTOGRAM_3DS'],
allowedCardNetworks: ['VISA', 'MASTERCARD']
},
tokenizationSpecification: {
type: 'PAYMENT_GATEWAY',
parameters: {
gateway: 'stripe', // ✅ Use Stripe as a Gateway
'stripe:publishableKey': environment.stripeClientId,
'stripe:version': '2025-02-24.acacia'
}
}
}
],
merchantInfo: {
merchantId: '...', // Replace with your Google Pay Merchant ID
merchantName: 'App'
},
transactionInfo: {
totalPriceStatus: 'FINAL',
totalPrice: '1.00',
currencyCode: 'EUR'
}
};
Can somebody help ?
OR_BIBED_06