#henriquenascimento7167
1 messages · Page 1 of 1 (latest)
Hello, can you send the ID of a card that was created this way but not saved?
id: pm_1O04FZLB13GKEY0LfnPf7kVz
It looks like the PaymentMethod was attached to a customer and should be re-usable https://admin.corp.stripe.com/notification/evt_1O04FbLB13GKEY0LbUVLGstH
Ah, is this expected to show up on the payment sheet itself but is not showing up?
I found the information that the card was added... however, when opening the payment sheet again, no saved card appears...
👋 stepping in here as Pompey needs to step away
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);
}
};