Skip to content

Commit 51bfd9f

Browse files
pbennett1-godaddywcole1-godaddy
authored andcommitted
payment type CREDIT_CARD for all GDP methods
1 parent 93b26ea commit 51bfd9f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/react/src/components/checkout/payment/checkout-buttons/applePay/godaddy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export function GoDaddyApplePayCheckoutButton() {
176176
if (nonce) {
177177
const checkoutBody = {
178178
paymentToken: nonce,
179-
paymentType: event?.source,
179+
paymentType: PaymentMethodType.CREDIT_CARD,
180180
paymentProvider: PaymentProvider.POYNT,
181181
};
182182

packages/react/src/components/checkout/payment/checkout-buttons/googlePay/godaddy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export function GoDaddyGooglePayCheckoutButton() {
176176
if (nonce) {
177177
const checkoutBody = {
178178
paymentToken: nonce,
179-
paymentType: event?.source,
179+
paymentType: PaymentMethodType.CREDIT_CARD,
180180
paymentProvider: PaymentProvider.POYNT,
181181
};
182182

packages/react/src/components/checkout/payment/checkout-buttons/paze/godaddy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export function PazeCheckoutButton() {
175175
if (nonce) {
176176
const checkoutBody = {
177177
paymentToken: nonce,
178-
paymentType: event?.source,
178+
paymentType: PaymentMethodType.CREDIT_CARD,
179179
paymentProvider: PaymentProvider.POYNT,
180180
};
181181

0 commit comments

Comments
 (0)