#FrancescaM
1 messages · Page 1 of 1 (latest)
Sorry, I wrote this code flowController.configureWithPaymentIntent(
"pi_3MSHFMDFRkIUCY8O01kJjpqq_secret_EF7UXOVt4772g06TmzmxBTZKM",
new PaymentSheet.Configuration(
"Example, Inc.",
new PaymentSheet.CustomerConfiguration(
"pm_1MI7SBDFRkIUCY8OqFw6Ydlx",
" pk_test_go1gfDIzAfF4Oaspj9KXLmZu0083I5ce0x"
)
),
(success, error) -> {
if (success) {
flowController.getPaymentOption();
} else {
Log.e(LOG_TAG, "Error in PaymentSheet.FlowController");
}
}
);
hi! sounds like for whatever reason you gave it a PaymentIntent that already succeeded and has charged the customer, so that makes no sense to do
for example, there you created the PaymentIntent on the backend, passed confirm:true, so it attempted a payment and succeeded. There was no need to do anything on the frontend in the app, the payment succeeded already. https://dashboard.stripe.com/test/logs/req_sHoJiYIPo2id8Q