that's my understanding but it may not rigt so if you want to check you can send an email to support: https://support.stripe.com/email
xeodus: which specific card are you using? So should be expected as an auth is performed when attaching the card to the customer. Using this card `4000000000000341` should allow you to attach the card to the customer while allowing subsequent charges to fail
ta_ joined the channel
xeodus: yes an authorization with the bank to check if the cards details are correct
psmvac xeodus: yes, so as I mentioned if you want to allow the card to be attached but have the charges fail us this card 4000000000000341
xeodus: np
dev_styl3: amount value should be provided in cents (integers0
dev_styl3: that's up to you no ?
Xionkana joined the channel
dev_styl3: ok I see you didn't mention this specifically in your original question. in terms of the round of of the fees I suggest looking at this article: https://support.stripe.com/questions/what-rules...
xeodus has quit
maestrojed has quit
confusedjoe32 joined the channel
confusedjoe32 has quit
RangerRick22 joined the channel
dev_styl3 has quit
RangerRick22 has quit
predrag_ffwd has quit
predragffwd joined the channel
thomasem16 joined the channel
thomasem16 has quit
Waleed has quit
agitator_ joined the channel
jhanda has quit
karasz joined the channel
karasz has quit
measwel joined the channel
nebojsa joined the channel
FooBarWidget8 joined the channel
measwel has quit
FooBarWidget8 has quit
predragffwd: there is no difference in the approach of creating the source when you need to use the customer for invoice. Once you created the source (say client side) you can send its ID to your backend which creates the customer passing the source ID to the create customer call (https://stripe.com/docs/api?lang=curl#list_char...). Creating card source is documented here:
nebojsa: there is no direct to say have the customer pay for the stripe fee. This is taken when creating the charge. So you would need to incorporate the fee to the amount that you charge your customer for. Here's an article that describe how to calculate this: https://support.stripe.com/questions/charging-s...
nebojsa: I think the receipt doesn't itemize only the amount/ description would be shown. For your record you can store it in the metadata of the charge object. Other than you could maybe chose to create a once off invoice (https://stripe.com/docs/billing/invoices/sendin...) but the flow would be different
predragffwd: sorry not sure I follow why do say that you won't be using the source. The invoice you create will need to be payed ?
predragffwd: if you are referring to Account token, this is different and would be used in the context of creating/updating Connect Account.
nebojsa: np
Youness joined the channel
Youness has quit
chirag joined the channel
HollyW00d has quit
HollyW00d joined the channel
HollyW00d has quit
HollyW00d joined the channel
Daemon4042 joined the channel
Daemon4042 has quit
chirag has quit
diegoaguilar joined the channel
diegoaguilar
Hello, how can I identify a customer.subscription.deleted event received due failed charges or because it had been set cancel with at_period_end=True
stripe581: to make request on behalf of Connected account it's best that you use your Platform API keys and pass the Stripe-ACcount header to the request: https://stripe.com/docs/connect/authentication#...
TheAdversary joined the channel
stripe581: in the code snippet on this page, `{{PLATFORM_SECRET_KEY}}` should be replaced with your Platform's secret API key, and the `{{CONNECTED_STRIPE_ACCOUNT_ID}}` placeholder should be replaced with the ID of the Connected Account which you get as `stripe_user_id` in the response of the OAuth token request (https://stripe.com/docs/connect/standard-accoun...)
stripe581: np sorry could be me misunderstanding. What were you asking then? I thought you were asking what would best to use when making a request on behalf of a connected account. Either using the connected account API keys directly or using the Stripe-ACcount header. I was saying the latter is best
TheAdversary joined the channel
SMLTA: in this case yes, you get notified if the charge succeeded or failed. But in the case you are not sure if the payment request reached us or not you can try the request again with the same idempotency key to check the result
We're switching from Custom Accounts back to Standard Accounts. We would like to show the last 4 digits of the bank account in our application, but as I understand it that isn't possible with Standard Accounts. Is that true? Is there a way to query more information from Standard Accounts? Ultimately, we'd like to notify other admins in that organization if someone changes the bank account as a security measure.
maestrojed has quit
psmvac
Flo354: so I believe that for Standard connect you can make requests using the Test API keys even when the account was connected in Live mode. The requests are of course applicable to the Test environment, but this gives the platform the ability to test their integration against real accounts and avoid them to have the account connect first in test mode to test, to then ask them again to connect in Live mode.
that said, I'm not sure if the same is applicable for Custom connect I would like to say yes but could be wrong. Have tried it? Otherwise to be sure I would suggest asking support about this: https://support.stripe.com/email
TheNewbie: ok so if you want to get the full source object (e.g charge) of the bt in the results of the bt list call you can expand on `source`
We're switching from Custom Accounts back to Standard Accounts. We would like to show the last 4 digits of the bank account in our application, but as I understand it that isn't possible with Standard Accounts. Is that true? Is there a way to query more information from Standard Accounts? Ultimately, we'd like to notify other admins in that organization if someone changes the bank account as a security measure.
Trezy has quit
zonosDustin joined the channel
psmvac
nratter: sorry for missing your question. not fully sure but I think an email is sent to owner of the account when such a change happens. To your question about whether the last 4 digits of the account I'm not sure but I think it isn't. Also `account.external_account.updated` would be fired in such case, so if you setup a Connect webhook and listen for this you can get notified of a change. the only thing is the bank account
Flo354: thanks for the follow up. in terms of transmitting the data, in the case of using Account token technically this info is not sent to your server but rather Stripes (via an iframe hosted on stripe domain). The info is tokenized same principle when you use Elements for collecting card details.
zonosDustin: my understanding is that an authorization charge is made and the info is checked with the bank when attaching it to the customer, so I would say that this info can be checked too.
zonosDustin: sorry for this I could be wrong. this could be that the bank chose to. I'm not sure about this sorry could you send an email to support, they def be able to answer this question: https://support.stripe.com/email