#arnotixe-paymentmethods-dashboard
1 messages · Page 1 of 1 (latest)
👋
no, this was just straight on the web dashboard
(the paymentmethod does exist on the customer, and searching cus_id works. but searching the existing pm_id yields 0 results)
cus_LqavcrXhjVGgpQ
https://dashboard.stripe.com/logs/req_T1TQGMVyubu6Xu states the pm_1Oo6jjLYbD2uWeLiNUwxUCC2 was created and attached
(we're creating + attaching with API)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
they all exist, I was just puzzled I can't search for the created pm_id - should that be possible?
the reason for trying to look up the paymentmethod is I'm investigating why a customer can't add his card to an account. We've tried both the Customer Portal Session link and adding the number directly with API, and the closest I've gotten so far is "bank declined the card", and was curious to see if there are any more details on the actual card they try to add.
Failing attach log:
https://dashboard.stripe.com/logs/req_gPPaUlQDA1C9Wg
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hi 👋
I'm jumping in as my colleague needs to go soon
Okay so it looks like you created the Payment Method directly using the CardElement in this request. At this point it is not attached to a customer https://dashboard.stripe.com/logs/req_wpz0bFez7a8su2
Then you attempted to attach it to a Customer in this request https://dashboard.stripe.com/logs/req_gPPaUlQDA1C9Wg and it was declined.
So the payment method did not attach to the Customer.
Can you describe your flow for creating and attaching payment methods?
ok nice
yep the flow for creating is 1 of 2 (we tried both):
- create a customer portal session link and send it to the customer for him to go to the Stripe portal and add the card himself (that's our standard way)
- we Can take his card number and add it from our internal payment system: This is the Stripe React CardElement doing the public createPaymentMethod(), and we attach that paymentmethod to the correct customer in our backend with the Stripe API.
Now, looking at https://dashboard.stripe.com/logs/req_gPPaUlQDA1C9Wg it's pretty obvious that the Bank declined the card
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
And even if there are no logs (visible to us) indicating what happened when the Customer himself used the customer portal session, I'm guessing he hit the same "Declined by bank" error. Customer claims there was no error message on that page, but I wasn't there so can't really tell what he saw/should have seen
this is the customer portal page btw
(on stripe servers)
Okay, thanks. This payment method was created using the Card Element so I think it was the second flow it went through
yeah, at least the logs visible to us. The customer states he did visit the self service portal, but was unsuccessful there too. Only we can't see any logs on those events.
Hmmm... You would see the request to create a portal session in your account logs though: https://docs.stripe.com/api/customer_portal/sessions/create 🤔
yes, we just don't see what the user intended while he was in there
or what failed…
now, for the original question 😁
https://dashboard.stripe.com/logs/req_gPPaUlQDA1C9Wg mentions payment method pm_1Oo4o1LYbD2uWeLiWHmH1HKi
-- should I be able to search that for info?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
cause I get nothing
Okay, so I confirmed with a colleague. We don't have a standalone PM UI to show you this payment method. As such, we would not expect it to be visible until it is successfully attached to a Customer.
You can still retrieve it via the API though