#vasant-dhatrak_api
1 messages ¡ Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- vasant-dhatrak_api, 6 days ago, 77 messages
- vasant-dhatrak_api, 6 days ago, 10 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1255773423880114196
đ Have more to share? Add details, code, screenshots, videos, etc. below.
in previous source api returns bank name
but in current paymentintent api not return bank name
bank name i want to print on invoice
Hi, you 'd want to look inside the charges object. Can you retrieve the charge ID from the payment intent, https://docs.stripe.com/api/charges/retrieve and then look at payment_method_details? If that still does not show there, can you share the request id? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
pi_3PWBicLDi2gy2gxo0A1zqSzu
py_3PU1ERLDi2gy2gxo0sqZNJuO
Taking a look
ok let me know
It looks like you're using bank transfers, https://docs.stripe.com/payments/bank-transfers on this payment. It does not look like we surface the bank name details on the response. Can you use the GET method, https://docs.stripe.com/api/payment_methods/retrieve to attain the payment method details and see if that surface the details your're looking for?
pm_1PU1ERLDi2gy2gxorhApqQio for instance. Can you try this?
i am already inform you that i am folllow this steps https://docs.stripe.com/payments/bank-transfers/accept-a-payment?invoices=without&country=eu
Yes, but you're asking how to attain the bank name.. is that right?
yes because in old source api bank name is available in response
but now source api is going to deprecate
Fatal error: Uncaught Error sending request to Stripe: (Status 404) (Request req_S4P86RKvjpImAS) No such PaymentMethod: 'pm_1MqLiJLkdIwHu7ixUEgbFdYF'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account. Learn more at https://stripe.com/docs/connect/authentication Stripe\Exception\InvalidRequestException: No such PaymentMethod: 'pm_1MqLiJLkdIwHu7ixUEgbFdYF'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account. Learn more at https://stripe.com/docs/connect/authentication in C:\wamp64\www\stripe_payment_gateway\vendor\stripe\stripe-php\lib\Exception\ApiErrorException.php:38 Stack trace: #0 C:\wamp64\www\stripe_payment_gateway\vendor\stripe\stripe-php\lib\Exception\InvalidRequestException.php(35): Stripe\Exception\ApiErrorException::factory('No such Payment...', 404, '{\n "error": {\n...', Array, Object(Stripe\Util\CaseInsensitiveArray), 're in C:\wamp64\www\stripe_payment_gateway\vendor\stripe\stripe-php\lib\Exception\ApiErrorException.php on line 38
Are you using the API key from acct_1NoJUWLDi2gy2gxo?
yes you want ?
in source api
[sepa_credit_transfer] => Stripe\StripeObject Object
(
[bank_name] => Banking Circle
[bic] => SXPYDEHH
[iban] => DE25202208000022655040
[refund_account_holder_address_city] =>
[refund_account_holder_address_country] =>
[refund_account_holder_address_line1] =>
[refund_account_holder_address_line2] =>
[refund_account_holder_address_postal_code] =>
[refund_account_holder_address_state] =>
[refund_account_holder_name] =>
[refund_iban] =>
)
return in response
Stripe\PaymentMethod Object
(
[id] => pm_1PU1ERLDi2gy2gxorhApqQio
[object] => payment_method
[allow_redisplay] => unspecified
[billing_details] => Stripe\StripeObject Object
(
[address] => Stripe\StripeObject Object
(
[city] =>
[country] =>
[line1] =>
[line2] =>
[postal_code] =>
[state] =>
)
[email] =>
[name] =>
[phone] =>
)
[created] => 1718952359
[customer] =>
[customer_balance] => Array
(
)
[livemode] =>
[metadata] => Stripe\StripeObject Object
(
)
[type] => customer_balance
)
I was able to confirm this with a teammate that we do not support surfacing the bank deatils on any of the related objects of the payment intent.
how we can solve this issue