#henriquenascimento7167

1 messages · Page 1 of 1 (latest)

narrow hareBOT
steel bronze
#

Hello, can you send the ID of a card that was created this way but not saved?

sick loom
steel bronze
#

Ah, is this expected to show up on the payment sheet itself but is not showing up?

narrow hareBOT
sick loom
#

I found the information that the card was added... however, when opening the payment sheet again, no saved card appears...

violet patio
#

👋 stepping in here as Pompey needs to step away

#

Are you passing an ephemeral key and Customer ID to initPaymentSheet?

sick loom
# violet patio Are you passing an ephemeral key and Customer ID to `initPaymentSheet`?

this is my initPaymentSheet:

const initializePaymentSheet = async () => {
const {
paymentIntent,
ephemeralKey,
customer,
// publishableKey,
} = await fetchPaymentSheetParams();

const { error } = await initPaymentSheet({
  merchantDisplayName: "Blist, Inc.",
  googlePay: {
    merchantCountryCode: 'US',
    currencyCode: 'usd',
    testEnv: true,
  },
  applePay: {
    merchantCountryCode: 'US'
  },
  customerId: customer,
  customerEphemeralKeySecret: ephemeralKey,
  paymentIntentClientSecret: paymentIntent,
  allowsDelayedPaymentMethods: true,
  defaultBillingDetails: {
    name: userData.name,
  }
});
if (!error) {
  setLoading(true);
}

};