#dev-help
1 messages · Page 111 of 1
hi @bold basalt
@cunning ember you just cancel the Subscription, did you give that a try? or did that not work for you?
it doesn't work for us
@cunning ember what error do you get
We have 3 and 6 months subscription that need to expire for the user to be able to cancel it
So, there are also other features that wired to the dates
We just can't find the way to assign future dates to the invoices
@cunning ember I don't understand fully, what do you mean by "We have 3 and 6 months subscription that need to expire for the user to be able to cancel it", can you share a Subscription ID for a subscription, and what happens if you try to cancel it right now? Does it give you an error? Like I'm not understanding what happens when you cancel
We do not have issues with the regular cancel subscription on Stripe.
How can I trigger a subscription to have the status of unpaid rather than past_due in the test env?
What i am saying is that in our website we implemented cancel at the end of subscription button that eliminates auto renewal. To test that we need to have all invoices to be processed for the first 3-6 months and then to see if our website functions properly
@daring lodge still there? I have a request id for you - req_YKUS0cWcoPGGSH. Thanks!
@vocal wagon hello, that happens after all retries on a Subscription's Invoice fail, so it transitions from past_due to unpaid
Ah sorry i missed that just before i stepped away for lunch - apologies
no worries!
@wild wyvern Can you try that same request without the stripe-account header?
@cunning ember Do you have a subscription ID we care take a look at? That'll help us better understand how you've modeled your subs on top of stripe and why cancellation isn't working for you
thanks @bold basalt so am I able to use the payment intent on the latest invoice to complete the payment?
What subscription status' can I do this for
would you prefer test subscription or real subscription id?
Let's start with the test subscription
Bonjour, quelqu'un du support parle français? Pour parler en privé
Hello! We only provide support in english here - if you need help in another language you can contact support at https://support.stripe.com/contact
hmmm i'm using a ruby library so didn't realize I was including that header. Let me try it using curl instead...
dm'd you
You should be able to do this with invoices that are draft, open, or unpaid
@cunning ember For the future - it's perfectly safe to send over those object IDs in this channel 🙂
oh ok:)
So could it be possible then for a subscription to be past_due and the invoice' status is not either draft, open or unpaid?
basically, ideally I want to use the sub status to see whether I need to confirm the payment intent after an off_session payment failture
@cunning ember So this looks like a pretty standard subscription - is the cancellation logic something you have implemented on your end? Also want to clarify - when you cancel these 3/6 month subscriptions do you want them to still continue to pay for the invoices until the end of the commitment, or do you want the subscription to cancel immeidately with no future payments?
-u sk_live_XXXXXXXXXXXXXXXX: \
-d object=bank_account \
-d limit=3 \
-G
{
"error": {
"message": "You cannot perform this request as you do not have Platform Controls for Standard on the account.",
"type": "invalid_request_error"
}
}```
@wild wyvern so it made no difference?
yeah still got the same error message
- Yes, logic is in our source code
- We want them to pay till the end of the commited period and then they can cancel it. Iss ue is that currently we have cancel button only after last payment is processed. We want them to have it available from the beginning but act after last payment is processed.
Hi i need some assistance regarding shipping. I have been on this for the past 4 days. I am looking to at a shipping rate charge to my checkout and it does seem to appear there
@vocal wagon Sorry, small correct here - invoice statuses don't include unpaid . For a subscription that is past_due the only possible status is open since a draft invoice doesn't have a due date yet. I wouldn't recommend using sub status to indicate an off_session payment failure. You should just look at the payment intent status instead
@bold basalt
I checked what you gave me and it looks like this is what works for me.
only I added one more required action when creating an invoice.
await StripeService.stripe.invoices! .update (invoice.id, {
payment_settings: {
payment_method_types: [
'card',
'ach_debit'
]
}
})
I am very grateful for your help!
Hello! Can you clarify a bit further - is this shipping in combination with Stripe Checkout?
yes
Gotcha! So I would suggest that when a user cancel in the middle of the subscription you update the subscription with cancel_at (see https://stripe.com/docs/api/subscriptions/object#subscription_object-cancel_at) and set it to the last day of the subscription. Stripe will automatically cancel the subscription at the date/time you choose
I am trying to tie it together but can't seem to do so.
@obsidian belfry And have you taken a look at this: https://stripe.com/docs/payments/checkout/shipping
Learn to use shipping rates and collect shipping addresses with Checkout.
yes. and i couldn't do it
not sure what to do
@obsidian belfry What specific step are you having an issue with?
Out of interest what's the harm of relying on subscription status? What I am doing now is checking to see whether the subscription is unpaid. If it is I get the latest invoice and check the payment intents status
i am looking to add shipping to my checkout. I did look into the link you gave me before but i am not sure how to do it
@vocal wagon I don't think there's any harm, it's just not how I would choose to do it and it depends on where you're checking the status. Assuming you're doing this with subscriptions where collection_method: charge_automatically and you're checking the status soon after payment is attempted it'll probably be fine.
@obsidian belfry Yes, but is there a particular part of the doc/a specific step you're confused about?
Thanks @dim hearth it could be a couple of days after the failed payment in theory as the payment is off_session. I want to be able to check the subscription status then get the latest invoice and get the payment id. Would that be a problem (seeing as it might not be soon)?
It's the coding i'm not sure on how to do it all
No, that shouldn't be a problem - it's more of a concern if it's 30+ days and your dashboard settings are configured to transition a subscription from past_due -> unpaid
ah interesting yes they should transition to cancelled and our billing periods is every 30 days
Gotcha! So once you have the setup rate created in the dashboard, you need to change your Checkout Session creation request to use the ID of the rate and set it as shipping_rates (see https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-shipping_rates). You also need to specify shipping_address_collection (https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-shipping_address_collection)
Yeah, really what you've proposed is fine - I was just being overly cautious. As a general rule if you want to know the status of the payment intent I'd say just check the payment intent status, but it sounds like you're using the subscription status as an initial signal to then dig deeper into the intent and check whether it needs additional action
thanks you 
@daring lodge hey just checking back in. were you still looking into this?
we're still looking into this!
ahh cool thank you! just checking!
Hello! I have a question about the Subscription object. I am assigning an application_fee_percent as well as transfer_data.destination. Do I need to fill out transfer_data.amount_percent if I want the entire amount minus the fee transferred to the designated destination?
Yes, you would use transfer_data.amount_percent . You can see the difference in the two flows here (https://stripe.com/docs/connect/destination-charges#application-fee) - there are some nice little graphics there that show the flow of funds
@wild wyvern I'm taking another pass at this but may have to write in to support if i can't get a clear answer so we can follow up via email later.
sounds good! thanks for your time with this!
Hi? my account is activated but I have problems receiving card payments.
error: Your account cannot currently make live charges. If you are the site owner, please activate your account at https://dashboard.stripe.com/account/onboarding to remove this limitation. If you are a customer trying to make a purchase, please contact the owner of this site. Your transaction has not been processed.
@torpid quiver Hello! Sounds like you need to activate your account at https://dashboard.stripe.com/account/onboarding
the account is activated!
I don't understand this reason either!
@torpid quiver You should contact support so they can assist: https://support.stripe.com/contact/email
nice, thank you!
So payment intent doesnt need a from/to ?
I mean you create a payment intent on the server that goes automatically to your account ?
@cloud pasture Correct, it knows where the funds are going based on your API key.
i see, are you able to set a different too ?
@cloud pasture You can use Connect to specify the funds should go to a different Stripe account that's connected to yours: https://stripe.com/docs/connect
Learn how to route payments between multiple parties.
hello everyone
@nimble parcel Hello!
We are creating the Custom Connect connected account. Also we are passing the appropriate capabilites for transfers and Card Payments but still those are marked as inactive in the response we recieve.
@nimble parcel Is this in test mode?
We are sending the below request body: Request Body
country: "US"
type: "custom"
capabilities[transfers][requested]: "true"
capabilities[card_payments][requested]: "true"
@wild wyvern Just checking an assumption here - this is new behaviour you're trying to add, correct? Not anything existing you're having issues with?
@nimble parcel Connected accounts take time to verify; the process is not instant, even in test mode. If you provided all the required validation information it will take a few moments for the account's capabilities to reflect the changes.
This is in test mode we are cheking an integration using Postman
Yes that's correct
@nimble parcel Do the capabilities become available after a few minutes?
No the capabilites are not becoming active after a day as well. Are we missing any step here?
How can I use Stripe Checkout for subscriptions with trials? if im making a subscription with a trial, and then when the trial is expired, direct the user to a Stripe Checkout session. but the checkout session then itself creates another subscription, so how should I handle this?
https://api.stripe.com/v1/accounts
country:US
type:custom
capabilities[transfers][requested]:true
capabilities[card_payments][requested]:true
2021-06-22 12:17:49 --> payment_intent.created
2021-06-22 12:29:38 --> payment_intent.created
2021-06-22 12:29:40 --> charge.succeeded
2021-06-22 12:29:40 --> payment_method.attached
2021-06-22 12:29:40 --> payment_intent.succeeded
what is the difference between charge.succeeded and payment_intent.succeeded ?
@nimble parcel Can you provide the account ID so I can take a look?
@shut blaze Hello! You can specify a trial period when creating a Checkout Session in subscription mode, but it sounds more like you want to wait to collect payment information until after the trial is over?
but it sounds more like you want to wait to collect payment information until after the trial is over?
ya, this
@wild wyvern Ok thanks! After all sorts of testing and confusing myself this is only going to be possible by switching to creating these accounts via the API and then only for the new accounts. The pre-existing oauth accounts won't support that, but you can check this in the account object on the controller property:
https://stripe.com/docs/api/accounts/object#account_object-controller
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@cloud pasture Payment Intents will generate one or more Charges. The first Charge to succeed will make the Payment Intent succeed, but there may be failed Charges prior to success.
@cloud pasture Those events are showing you the different events for the different objects involved.
So if i understand you right to fulfill on my side i would listen to payment_intent.success
@cloud pasture Yep, that's what I would recommend.
alright and how should i redirect/not redirect on client ?
In other words can i trust stripe.confirmCardPayment 's results ?
@cloud pasture No, you should never rely on client-side code for fulfillment. You should listen for payment_intent.succeeded events with a webhook endpoint.
@cloud pasture Payments can succeed without your client-side payment flow/code finishing.
@daring lodge ok thanks so much for your help here! I've got a task in to start using the new account creation method instead of OAUTH for new accounts. We'll make due by using the destination data that gets returned with each Payload object for existing accounts. THANK YOU!!!!!
@cloud pasture What do you mean by "routing"? Where to send the customer you mean?
@cloud pasture Ah, yeah, then you would use the result from stripe.confirmCardPayment, yes.
@wild wyvern You're welcome -- thanks for your patience here! this is new stuff rolling out so i was pretty confused myself 😄
So the results from confirmCardPayment are to be trusted, thanks
@cloud pasture What do you mean by "trusted"?
@cloud pasture Client-side code should never be "trusted" as it can be altered by the client.
if it is successfull that mean i can send the user to say thank you pay or show some kind of feedback
Hi guys, just got here from the IRC chat, looking to ask a question! Let me know if it's cool to post here
the fulfilment ofc will be done using the webhook
@cloud pasture Yeah, as long as you're not sending them someone sensitive/relying on the client-side code to give them access to something.
and in the next page/thank you page i can ask to see the result
@cloud pasture For example, if you have some kind of "secret" success URL in your client-side code people can extract it and get there directly without going through your payment flow.
@proper sundial Welcome! What's up?
a more correct question to ask is, when stripe.confirmCardPayment finishes that means you guys consider it done and already have sent the webhook request yea ?
@mighty hill acct_1J5FSsRJ3ekOOgah
@cloud pasture We consider it done, but the event may or may not have been delivered to your webhook endpoint at that point in time. If you want to show the customer something based on the result of the payment you should fetch the Payment Intent using the Stripe API and confirm its status in the code that generates the page they're going to see.
@nimble parcel Taking a look, hang on...
I need help too 👋🏾 not about developing but it’s Skrill based.
Hey @mighty hill , I think we were just talking about that refund_failure balance transaction (in the other IRC chat), and how the source object was null. I have a follow-up question! I noticed we actually have code which avoids checking the source object of a balance transaction if the reporting category is fee or other_adjustment, can you confirm if source is usually null for these also?
(basically I'd love a defined list of reporting categories which result in null source objects)
@vocal wagon This channel is only for developer questions; what is "Skrill"?
@proper sundial I don't know if I have a way to confirm that in all cases, but I don't think source is missing on fee Balance Transactions as I believe the source would point to the object the fee came from?
Okay I see. So perhaps it would be better if we just assumed source could be null instead of expecting it for certain types
@proper sundial That sounds like a good approach!
Thanks again!
Looking into setting up an account and was curious about he process and set up.
@broken marsh What specifically are you curious about?
@nimble parcel Sorry for the delay. It looks like you've only requested capabilities for this account, but haven't provided any of the required information under requirements.currently_due or requirements.past_due.
@nimble parcel You need to supply that information before the account gets access to the capabilities requested. See here for more information: https://stripe.com/docs/connect/identity-verification
Use identity verification to reduce risk on your platform when using Connect.
@mighty hill I've already set up an account with Stripe, I have my web designer working on my site. He mentioned using Stripe for my payment process. Not sure what steps I may need to make to move forward after I activated my account.
@broken marsh That depends on what your web designer/developer built for you and is a better question for them than us. For example, did they build a custom Stripe integration? Are they using a third-party plugin?
@mighty hill I understand I'll try and communicate with them as see what they say. Thank you.
Stripe* sorry my bad KEK
Where can I ask for other help>
Since mailing clearly doesn't work.
@vocal wagon You can contact our support team here: https://support.stripe.com/contact/email
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Yeah I did
10 times'
And I am getting kinda tired of it as we speak.
I am getting canceled without any type of feedback.
Hi, how can I retrieve unit amount from volume-based price using API?
Thanks for the response. I will try this out. Thank You!
Also how long will it take to do the KYC?
@nimble parcel That depends on a lot of things, like the country and type of information being verified. For specific issues you should contact support for assistance.
@solid kraken Can you say more about what you mean / what you're trying to do?
@daring lodge i need this values using api
@solid kraken Gotcha - thanks. You need to request the price object and use expansion to include the tiers:
https://stripe.com/docs/api/prices/object#price_object-tiers-unit_amount
https://stripe.com/docs/api/expanding_objects
eg: expand[]=tiers
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@daring lodge thx
np!
im using the cardElement mount, can i change layout him?
How is a merchant account blocked?
@stable pagoda what are you trying to change about it?
@fair shuttle What do you mean?
This function create a input with cvv and validation.. I would like to split into 3 fields
I work with a external lead company that is using Stripe for their merchant account and my advisor was charged however the lead company was black listed because my advisors bank flagged it as fraud.
@stable pagoda You can see a "split fields" example here: https://jsfiddle.net/ywain/whj357u9/
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
The lead company is new using Stripe and couldn't get in contact with anyone to see why they were kicked out of the Stripe merchant account. Also my advisor has not received his funds from Stripe. The lead company is 920 Media and my advisors money has not been refunded back to his bank account. 920 media said they did not receive the funds. And now have been black listed.
@fair shuttle we can help with account specific questions like that here please see #help or contact https://support.stripe.com/contact for assistance
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
@daring lodge thank you ! love the discord family!!!
Hi is anyone here to help me?
@dapper solstice hello, sure what is your question
Thank you!
I am about to put up an online store using Woocommerce, and Stripe is my payment method
However I am very afraid that someone can track who I am and where I live through Strip
Is this true?
I am about to fill up all my information regarding my Business, but Stripe requires everything about me, will my customers be able to find me?
Because I am a psychologist, and I prefer to be unknown
@dapper solstice the answer to that is no, your customers won't have your business address but also, this question is better answered by Support https://support.stripe.com/contact, please ask there and they can help you out.
^^ Good question, I've wondered the same as I am a sole trader and have no business premises
@dapper solstice I just told you, the Stripe Support team
Yeah I just read
Is it possible for my customers to refund money, after they downloaded my self-help book?
Because that would be stupid
@dapper solstice not refunds but they can create Chargebacks (like any customer with a credit card can), that opens a whole Dispute flow where you can provide evidence against it https://stripe.com/docs/disputes etc (it is a detailed topic). This would also be a question for Stripe Support, our docs also cover this a bit but please reach out to Stripe Support at https://support.stripe.com/contact , they can give you answers for this as this is their area of expertise.
Hey guys! Got a weird issue when using stripe.paymentRequest and Apple Pay where the label displays $0.05 instead of $5.00. Anyone have any clue why this would be?
@wispy zinc hello! I think I know, this is PaymentRequest Button right?
Correct.
@wispy zinc what total.amount are you passing to the PaymentRequest
@wispy zinc it looks like you're passing amount: 5 right?
@bold basalt correct.
@wispy zinc it takes in a value in the lowest denomination for your currency. So that 5 there means 5 cents in USD. So amount: 500 means $5.00.
So I should pass in a number as 5.00 or 20.00 instead?
@wispy zinc you pass an integer, so amount: 500, it doesn't support decimal, as the value is already in cents. like if you want to display $20.99, you pass 2099
@dapper solstice you got a chamber of commerce?
What does that mean Papi?
Come PM’s @dapper solstice
can i add bank acc from jordan
I don't believe so, but the folks over at support would be able to confirm https://support.stripe.com/contact
I can confirm that Jordan bank accounts aren't supported
@sharp marten Also want to highlight for more info - usually stripe accounts created in a Stripe-supported country (https://stripe.com/global) are required to have a physical bank account in the same country. There is an exception for Canada and Europe accounts, but even then the bank account must be in a country supported by Stripe (see https://support.stripe.com/questions/requirements-to-open-a-stripe-account-in-another-country)
Hello, does anyone know if there is any advice to create an LCC for the page, since I see that it only asks for data and the payment of 500 usd but there is no advice to avoid making a mistake
What does LCC stand for?
sorry LLC
Sorry LLC
@deft wren Ahh gotcha - it's definitely not required to create an LLC to use Stripe, but I'm not really well versed in the specific benefits of being an LLC (we are focused on technical issues in this channel)
Are you looking for tips around Atlas registration?
Thank you very much for the information, I need to create an LLC and I saw that through stripe Atlas I can do it, but when trying to do it, it only sends me to a form where I have to fill out data and payments, which does not seem so simple to do for the reason that you are creating a "company" thank you very much for your help friend
partly, yes! but also an internal advice from stripe atlas to create the account verifying that if it is possible for me to have the benefits.
@deft wren You probably want to be talking to support (https://support.stripe.com/contact) for this
thanks for the link friend! i will contact them
Hi there, I have a question about payouts if anyone might be available to help. Basically we are reaching our daily limit for instant payouts to connected accounts. We get an error back saying weve reached our daily limit, but instead of just failing a "standard" payout is being created. Is there way to make it so that standard payout is not created and it just fails.
Hi there! Are you creating these payouts through the API or the dashboard?
@dim hearth through the API
@vestal trench Gotcha - do you have an API request I could take a look at?
Hi All! Quick question--what is the easiest way to have a monthly Subscription's first payment be a month from the start date
@weak linden Can you clarify - are you trying to start off a subscription with a month of trialing? or are you trying to do somethign else?
We don't have a phone number, but you can request a callback at https://support.stripe.com/contact
Hi @dim hearth -- thaks for your response -- I have a donation form using a card reader and I create the payment intent which captures the first charge and then if it is a monthly donation i create a subscription and attache the payment method, however currently they are charge twice one for the payment intent and then for the subscription
@dim hearth I can DM you the request I am making, Or I can send you the id of the connected account in question
@vestal trench If you have a request ID it's perfectly safe to send here 🙂
It sounds like you want to set a trial period. https://stripe.com/docs/api/subscriptions/create#create_subscription-trial_period_days
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Roger that--thanks!
How can i close my account bc i close it but there’s still a acc name hyper thats open
What do you mean by an "acc name hyper"?
Been trying to close this for the longest
You'll want to reach out to Hyper. They can close that account from their end. You'll want to ask them to reject the account for you.
Says i have no account at hyper
What's the email you use to log into the account?
You can DM to me
@dim hearth the user in question has seemed to create a standard payout still even though all of the payout requests for the account have failed
Thanks for sending that over! It looks like that connect account has automatic payouts enabled. Since the instant payout failed, there was balance left in the account and it was automatically pulled into a standard payout (failing to create an instant payout does not automatically generate a standard payout)
ok thank you, makes sense
is there an easy way to update all accounts for manual payouts
we have a significant number of accounts and its steadily growing
@vestal trench When you create accounts I believe you can set settings[payouts][schedule][interval]: manual to have them set to manual payouts by default. For the existing accounts, you'll have to go in an update each of them (see https://stripe.com/docs/api/accounts/update#update_account-settings-payouts-schedule-interval)
@vestal trench I know it's a pain, but we don't offer a way to update them all in a batch. You'd need to write a one-off script or something similar to retrieve all the accounts and update each one
ok thanks
Should i try a delete the hyper account from the api somehow?
No, I don't think that'll work - this looks like an express account created by Hyper, so they would be the ones able to delete this using the API. If you're having trouble getting through to them, you can contact support https://support.stripe.com/contact and they should be able to delete the account for you
Yea i got there mind if i send u the email they sent me in dm
@fringe hemlock I'd respond and say that it needs to be escalated as you've already contacted Hyper and they say that you have no account
Okay
Hi All! I have created a subscription with a trial_period_days set to 30, but the subscription doesn't show up in stripe--is that normal? will it show up in 30 days?
This is not normal - do you have a request ID I can take a look at?
one second @dim hearth -- just getting it
sub_JilvvBcVlkDZje
is a test subscription
i am making a payment_method.list call, it returns 4 payment method with the same CC,
when i check the dashboard i cannot find the customer that has 4 payment methods
Where were you looking for it? I see it listed in your dashboard on my end
i am looking for it in test mode under payments
@weak linden Ahhhh gotcha - that's your issue right there 🙂 Because it's trialing there is no payments made yet for that subscription. Instead, you can find it under the "Subscriptions" section of the dashboard
wonderful thanks @dim hearth !
@cloud pasture Do you have the customer ID you used to list the payment methods?
yea
Found it
for some reason it wasnt in the list
so i put the customerId direwctly in the URL
and it worked
@cloud pasture awesome! weird that it wasn't showing up before...
Is there a way to create a Dispute in test mode?
I've never had a dispute yet, and obviously I plan to keep it that way, but preparedness is good
Yup! You can use one of these test cards during payment to have it automatically create a dispute https://stripe.com/docs/testing#disputes
Learn about the different methods to test your integration before going live.
@cloud pasture Yup! We don't have a separate "delete" for a payment method, but detach will remove the payment from the customer and make it unusable for future charges
Yup, you just need to pass in the stripe-account header
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I am looking on this
i dont see anywhere i specify the customer id
You don't need to provide a customer ID. That operation will detach the PaymentMethod from the customer it's currently attached to. It can only be attached to one customer so no need to pass in a customer ID
Ah noice
so ya regarding this, how would I accomplish this with a subscription with a trial and Stripe Checkout?
like basically when the trial is over, i want to prompt the user to pay using a Stripe Checkout Session
vs having to go to the billing portal and manually edit details there
I am trying to handle failed refunds in our system. https://stripe.com/docs/refunds#failed-refunds
In the docs, it has this line This process can take up to 30 days from the post date. Does it mean that a refund can be marked as succeeded and then fail a few days later ?
Learn how to refund or cancel a payment.
Once a refund is processed, and marked as succeeded, it's successful. The money is going back to that card.
However, because banks are slow, just as a general rule, it may take them up to 30 days to make those funds available to the cardholder
So what's the process for banks, the refund status will be pending for 30 days ?
that's not entirely true
refunds can fail after being marked successful (though it's very rare)
- I stand corrected
- Why is this a thing, I hate it
this happens more frequently if you're refunding a very old charge, because you get scenarios like "the cardholder closed their account, so the issuer is no longer capable of returning the money to them"
You’d think the bank would be able to notify at the time of refund, that it wasn’t successful. Not like a week later
Bank tech is weird. Rant over.
this process all happens via flatfiles exchanged via sftp, though 😛
ok, that's good to know. Not a big deal, I can modify my code to handle late refund rejection.
it takes a couple days for everything to percolate through
brb, gonna go cry.
another fun one is if there's fraudulent charge made in eg: USD, where the cardholder's account is in eg: CAD
That one makes sense as to why it’d be challenging though
initially, the bank would have done an FX to debit the cardholder in CAD
then let's say you realize the charge is fraudulent and refund it
the bank does a second FX to credit the cardholder CAD, and those may not be the same two amounts in CAD
The FX could result in an overpayment to the consumer, right?
Yeah, we had one like that. We ended up refunding a different amount to the customer.
now the cardholder shows up, and is like "what is this garbage, why am I now missing a couple bucks"
one option that the bank has is to dispute both the charge and the refund, which pushes the FX exposure back on you / on the stripe side
(and the way that stripe models a disputed refund in the product is by saying that the refund failed)
This is interesting, because konami handles their "API" requests in a similar way for their games
thogh instead of flatfiles, they use XML files that are encrypted using the game's account dongle, then decrypted by konami's server using the associated account number from the IP address
I... have some questions
they're getting an account number from the IP address?
and what - you've got a copy of the game locally, but they hold the encryption keys & send it back to you? that's an exciting security model
Kind of
The account number is fixed in the header, but locations are required to have Fixed IP addresses on routers installed by konami
Each game has 2 dongles
1 for game data, 1 for account identification
they know what account numbers to expect from a location
locations are required to have Fixed IP addresses on routers installed by konami
what
Yep!
Every arcade that buys a Konami arcade machine has to allow konami to install a router that acts as a VPN for that game
i have done integration with stripe, now to every user based on specific location, i want that user can see the checkout page in their local currency/local language/local payment method(see in screenshot attached). for example:- if i need a payment of 100usd from indian user then it should be shown 7000INR, that is equilant to 100usd in INR (let 1usd=70INR).
can anyone suggest me any method through which i can represent checkout amount to the users equivalent to their local currency amount(exactly same as shown in screenshot), so that they can pay in their local currency.
The presentment currency is determined by the currency of the Price you provide when creating the Checkout Session
Checkout won't convert the amount based on locality, if you want your user to pay in INR you'd specify that currency when creating the session
The locality only determines the language of the text shown in the Checkout Session, not the currency or the amount
so how the amount will be converted to the equivalent amount of users locality
That happens after the Checkout Session is complete and the payment is made. Stripe converts the presentment currency into the currency of the card and makes the payment
So your user will see a Checkout page charging $100 USD in your example, but will see whatever the INR equivalent of $100 USD is on their statement
my product price is fixed in USD, suppose i want to sell the product of 100usd price to indian customer, then on the checkout page indian customer will see the product amount 7000 INR (let 1usd=70 INR), and indian user will pay 7000INR with his local pay method
Stripe won't do the FX conversion for you, you'd have to create the Checkout Session and specify 7000 INR if you want the customer to see what they'll be charged in INR
but i have users from 100+ countries, it means i have to create 100+ checkoutsessions (equal to number of countries)?
Well you need to create a checkout session per user anyway
If you want to charge in their local currency, then you'd have to do the FX on your end and create the Checkout Session with the converted amount and currency
so finally you mean we need to use currency conversion Api?
You don't have to, but I'd recommend it if you want to be accurate
sorry paul but did't get it cleary, i mean have to do the FX or without using FX also it is possible ?
Stripe doesn't do FX, so if you want to charge exactly $100 USD in other currencies then you'd have to the FX on your end, probably through a 3rd party API
this is the stripe screen, it there any reference code for this?
For FX? No that's something you need a 3rd party API for
as you see in this screnshot, if you change your country location then based on that country the equialant amount is reflected in user's currency
Sure, but that's just an example, which states in the tooltip:
it says nothing about doing currency conversion, that's something you handle on your end
ok thanks, want to suggest any good conversion api ?
None I can have enough experience with to recommend unfortunately
i will handle conversion on my end but how will i reflect payment methods according to the user's location?
You pass in payment method types when creating the Checkout Session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_types
If the payment method supports the currency you're charging in Checkout will automatically prioritize payment methods based on the locale of the user's browser
ok thanks for your help
Hello everyone
I need a help
I have a requirement i have a yearly subscription plan and it's a recurring based and if user chooses the yearly subscription it's usual that user will charge automatically for the next year subscription after the completion of the first year
But i want to charge for the next year subscription before the completion of the current year subscription.so i want to charge before 3 months for the next renewal.
Hi @exotic rain, you'd want to set the billing cycle anchor of the subscription to be three months before the end of the year: https://stripe.com/docs/api/subscriptions/create#create_subscription-billing_cycle_anchor
More information here: https://stripe.com/docs/billing/subscriptions/billing-cycle
If you set the default_payment_method in Subscription.create() will it auto charge the user at the time of creation or will it still require stripe.confirmCardPayment(clientSecret, {}) on the client side to initialise the subscription?
I notice that stripe.confirmCardPayment(clientSecret, {}) has its own payment_method: 'pm_123456789' as well.
Sorry missed this earlier
If you provide a PaymentMethod when creating the subscription then the first invoice created will automatically attempt to use that PaymentMethod
Thank you but it doesn't create the invoice then and there ? I still need to do stripe.ConfirmCardPayment(cs, {}) on the frontend?
If that is the case which payment_method: takes precedence ?
If you haven't got a trial period set then creating the subscription should automatically create the first invoice. You only need to confirm the card payment if the first invoice's payment fails and the underlying PaymentIntent moves to the requires_action status
Ah thanks
Hi paul
I have go through the resources you have sent
So now my concern is , in my point of view billing_cycle_anchor doesn't resolve my problem this need to set a manual date for every period of subscription and i need a automatic solution for this
I'm not sure what you want is possible @exotic rain, you can't charge for a subscription months before an invoice is due. You could do something approximating this with trial periods though:
- Create a subscription with a 9 month recurring Price
- After 9 months a new invoice is created, when it's paid update the subscription to have a 3 month trial period
- 9 months after the trial period has completed an invoice is automatically created again and you repeat step 2
Hi there! I read that Stripe doesn't retry invoice payments with SEPA debit (https://stripe.com/docs/invoicing/automatic-collection#smart-retries). As this is listed under the section "smart retries", I was wondering if you use your own retry schedule, are they retried? Follow up question: if you set x smart retries for 2 weeks and the action to "cancel subscription" after all attempts failed but the subscription has a SEPA payment method, will the action be executed immediately after the first failed payment (as no retries are made)?
Learn about the automatic collection features of Stripe Invoicing and how to configure them.
Sure, Stripe doesn't retry SEPA to prevent bank fees, but you could certainly do your own retry logic
For your second question, since no retries are made I believe it immediately cancels the subscription (if you've set up subs to cancel in that case) but I'm not 100% sure on that. You could either test it out or ask support for clarification: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Thanks! Regarding your first response, so if I do not use smart retries but custom schedule in the settings (https://dashboard.stripe.com/settings/billing/automatic) the SEPA debits are retried?
Hey guys, I'm trying to setup Stripe Connect and I'm trying to figure out where you get the account ID to create an Account link, is it just ```php
$account = \Stripe\Account::create([
'country' => 'AU',
'type' => 'standard',
]);
$account_links = \Stripe\AccountLink::create([
'account' => $account->id,
'refresh_url' => 'https://example.com/reauth',
'return_url' => 'https://example.com/return',
'type' => 'account_onboarding',
]);```
Hello! My website is having issues with the Prestashop Stripe Payment module unfortunately. Be it either on desktop or mobile, it lags considerably, and sometimes a confirmation doesn't show up at all but the transaction has went through. Our page speed is ok, as other payment modules are working well. We just have the issue with Stripe unfortunately.
You'll have to reach out to Prestashop directly for help with this. It's their integration so there's very little we can do to help debug
Yup that should work! If you do a var_dump($account) before creating your account link you should see the ID property in there
many thanks Paul
I actually don't know to be honest, I suspect that we don't do retries at all but I'm not entirely sure
Thanks, I'll reach out to Stripe customer support. Greatly appreciate your feedback
@bleak breach
:question: Have an account question, @vocal wagon?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
@vocal wagon This is a public forum, I just deleted your message because you posted your full credit card number here. Please don't do that
Okay, thanks!
rWebhook get the response from Stripe , do we need to return any status ?
Hello all, can you please let me know how will I be able to get the fee Stripe has charged to my subscription transaction? I'm not able to find such field in webhooks.
If I cancel a subscription like so
$this->_stripeClient->subscriptions->cancel(
$subscriptionId,
[
'prorate' => true
]
);
Would that prevent any unpaid invoices from retrying payment too?
@solid ocean Hello! The stripe fee is stored on the BalanceTransaction (txn_123) which represents the movement of funds in your balance. The BT is linked to the Charge (ch_123) which itself is linked to a PaymentIntent (pi_123) and an Invoice (in_123) which finally is linked to the Subscription.
So every time you get an event for an Invoice, you can basically retrieve the Charge and its BT to find the Stripe fee. The easiest is to use the Expand feature https://stripe.com/docs/expand
So in summary: Call the Retrieve Invoice API (https://stripe.com/docs/api/invoices/retrieve) and pass expand: ['charge.balance_transaction'] to get both objects expanded and then you can read invoice.charge.balance_transaction.fee for example (depends on your language of choice)
@pseudo remnant Yes you do need to! Basically when we send you an event, we need to know that you received it properly, because if not we would retry sending it for up to 3 days. This ensures you can't lose information because you're down for example. We cover this in more details here: https://stripe.com/docs/webhooks/build#acknowledge-events-immediately
@vocal wagon yes we will not retry any invoice. We mention it in this doc https://stripe.com/docs/api/subscriptions/cancel
By default, upon subscription cancellation, Stripe will stop automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription.
Be careful though if you pass prorate: true they could get credit back in their customer balance even though the previous invoice was not paid
I have done stripe integration and also able to get regional language in checkout, but How to get regional currency from browser?
cheers
@simple mantle that's not really a thing, usually you either ask the customer for their preferred currency, or you use things like country detection from their IP and default to what you think is best
@simple mantle does it make sense? I think you asked my colleagues this question a few times recently already so I want to make sure you're unblocked
it is resolved now, thanks
awesome!
Integration with Active Campaign: When mapping fields from Stripe to AC, Stripe is not populating fields related to Address. Any thoughts?
Thanks @crimson needle
@full falcon I haven't heard of Active Campaign before, you likely want to talk to them about their integration
@solid ocean let me know if you get stuck!
@crimson needle Thanks. Everything seems fine on the AC side. In a related query ... where can I see what a new customer entry looks like in the Stripe Dashboard?
https://dashboard.stripe.com/customers is where all your customers would live
Hi, i am locked out of my stripe account with 2fa and i no longer have the device that it was on, i reset my password 5 times and each time i reset it and try to log back in it says my password is wrong, im at a lost cause and i need to update the card info on my stripe account
:question: Have an account question, @bitter lotus?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact
Is there any way to save a card to a customer after a payment intent has been created or charged?
It says my password is wrong every time, and i have reset it 6 times now!!
@smoky lark it depends how you configured the PaymentIntent. You need setup_future_usage on the PI to indicate your plan to save the card details. Otherwise no it's too late
@bitter lotus we can't help here as the bot mentioned. Please contact support, there are many options on https://support.stripe.com/contact and otherwise you can email support@stripe.com
Thanks
that's a bit of catch-22. I want to add a "save card" checkbox to the card form but I need to set setup_future_usage before the form is created. It seems to me that from a UX standpoint it is wrong to ask the user to save a card before asking for card details. Or does Stripe have any recommendations for making a payment flow where the user just completes payment or saves a card?
@smoky lark You can pass setup_future_usage during PI confirmation: https://stripe.com/docs/payments/save-during-payment
Hello everyone,
I have designed 2 subscriptions, “basic” and “pro”, and I would like to provide a “custom” subscription. Is there any best practice to do it ? I would like to be able to have different prices for different customers.
I have found a way to do this, which is to create a new product for each of my "custom" customer. Is there another way, like creating a unique custom product, and defining the units and price for each customer?
@hollow sand Hey! Have you looked into using ad-hoc Price objects: https://stripe.com/docs/billing/prices-guide#ad-hoc
You will need to provide an existing Product ID, however: https://stripe.com/docs/api/subscriptions/create#create_subscription-items-price_data-product
Thx I will check it out. Is is accessible from Stripe Dashboard ?
setup_future_usage would have to be set when creating the PI. So it means I have to ask the customer to save the card before creating the payment form. I have never seen this design pattern in checkouts.
@hollow sand Yep, they'll exist in the Dashboard just like any other Price object! Worth noting that they are inactive by default after initial creation, but can be reused
@smoky lark It doesn't have to be set during the create call, you can set it during confirmation too
Thx ! I will check after lunch. Bye
@smoky lark That guide I linked before is basically the exact payment flow you need. That should unblock you!
@smoky lark You'd create the PI and then when collecting the payment details (via Elements) you'd pass the setup_future_usage parameter when confirming
@smoky lark Let me know if something doesn't make sense 🙂
@hollow prairie I was looking at that guide previously. I wasn't aware that I could pass setup_future_usage in the js. However it looks like I still have to create a customer even if I just want to charge a card without saving it?
If you don't want to save the created PaymentMethod for future re-use then you wouldn't need to pass the customer parameter, no. It could be attached to a Customer object later on though
@hollow prairie ok, I'll explore options for adding to customer object later. Thanks.
Hi, guys! I was wondering , is it possible to get the total amount directly calculated from graduated tiers?
Hi @meager hawk .. We (XXX marketplace) need to provide services(like furnishing ) which we defined here as product and price .. each service should be paid by customer on hourly basis for fulfilment of that service. So in that case how should I define my service?
some one kindly respond .. wat shld I do if service got fulfilled in 1 and hour hours .. how to say quantity of that price as 1.5 ?
@bleak quartz Hey! There's no specific endpoint to calculate this, no. What is it you're looking to do exactly?
@junior ivy I'm not sure I entirely follow or if that's really something it's possible to model on Stripe, our recurring Price models etc are designed for long term subscriptions, not hour-by-hour billing. What I would probably do is manage it in your system — track how long the service takes, then compute how much that should cost and pass that amount to the API directly when charging the customer or creating a CheckoutSession etc.
@hollow prairie I want to show total amount of subscription bill for company users and they have two separate plans. One for them self and one for the no. of employees those work for the company users. So I was looking if stripe can do the heavy lifting for me.
Actually not subscription.. kind of having one time payments..
@bleak quartz Got it! You could retrieve an upcoming/preview invoice for the relevant subscriptions: https://stripe.com/docs/api/invoices/upcoming
That will give you an invoice total, as well as a breakdown per line item. Then you can compute an overall total from this. Does this help?
@junior ivy yep, so even more so, it's really something you'd build in your own system, Stripe is only doing the payment processing part. In your system you'd have something for tracking how long the task took and what it was(like maybe the employee providing the service fills in some form in your system saying what they did for the customer and how long it took), and then you'd write some business logic to decide how much to charge the customer based on that and pass that amount to Stripe's APIs.
okay @meager hawk .. Thank you
ok, I think I have a working solution now. But is it possible to attach a payment method to a customer and make it default? Or do I have to update the customer and set default_source after PaymentMethod.attach ?
@smoky lark Yeah you have to make a separate API call to update the Customer object if you want to set a default PaymentMethod. invoice_settings.default_payment_method is the field you want: https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
However this is only really applicable for recurring payments. It doesn't apply to one-time payments (which I believe you're working with)
@smoky lark default_source isn't really applicable here as you're working with PaymentMethod objects, not Sources
maybe not in this case, but in my SaaS admin I save cards for recurring payments (manually, not using Stripe invoice). Is default_source only applicable for Stripe functions such as Stripe Invoice or does it have a purpose in other cases? I would assume it let the customer have multiple cards, and with a default_source it would let me charge that card on recurring or other off_session transactions?
@smoky lark You can't use the default_source field with PaymentMethod objects (pm_xxx). That's an older field for integrations still using the Sources API.
There's no real way to set a default PaymentMethod for one-time payments. Like you can't just pass a cus_xxx ID when using PaymentIntents and it charge the default PM. There has to be a PaymentMethod directly passed at some point.
What generally people do in their checkout UIs is list all 0 the attached PaymentMethods for that specific customer and prompt them to choose one.
ok, so for off_session charges I would either just charge latest added PM or save default_pm_id in my database and charge that?
@smoky lark Yep, exactly. You'd need to store the specific PM you want to charge off-session somewhere.
An alternative would be to store something in metadata on the PM that denotes it's the default, then have some UI that allows your customer to set/unset that: https://stripe.com/docs/api/payment_methods/object#payment_method_object-metadata
Then when you list them all, you can filter/find locally according to that metadata hash.
ok, thanks for all the help 🙌
@smoky lark Np!
Hi guys, I'm trying to integrate bacs debit on my .net core API but when I submit to stripe, I got the message "Error creating payment: This PaymentIntent requires a mandate, but no existing mandate was found. Collect mandate acceptance from the customer and try again, providing acceptance data in the mandate_data parameter.". I'm not using stripe checkout, so, how can I get the mandate? Could someone point me in the right direction (or at least, some direction?), thanks in advance
Is there an easy way to put Stripe in "test mode" and use their "testing credit cards" to see if everything is set up correctly?
@chilly night hi! Checkout should collect the mandate for you automatically. Can you share a request ID req_xxx for the error you got so I can understand your flow a little better? https://support.stripe.com/questions/finding-the-id-for-an-api-request
@full falcon hi — it's not really a global toggle or setting, it's just, you use your test mode API keys (pk_test_xx/sk_test_xx) to make API calls and they happen in test mode and can work with test cards. So if you have some existing code, you would configure it to use those keys instead of your production pk_live_xx/sk_live_xxx ones. https://stripe.com/docs/testing
@ruby kiln oh, you're not using Checkout? Being able to do that is a private feature :p But you want to look at https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance since you have to provide that when confirming the PaymentIntent.
I guess where I get confused is, how do I change the "test api" when I am using a Stripe form (so I never entered in the api key)
@full falcon you have to be entering a key somewhere.
if you're not coding that directly yourself maybe reach out to the maintainer of the plugin/platform you're using!
I'm literally using everything inside of Stripe ... It's their form
then you must be providing a key somewhere. What product are you using, do you have a link to the guide you followed to integrate? If I know that I might be able to show you what to change.
Hey there, I have upadted stripe java version from 19.12.0 to 20.58.0, because the older version did not have PromotionCode class. now, afger the upgrade, an existing code is not compiling: Subscription.getPlan seems to not exist any more - is there a replacement code I can use?
@pearl crow hi! Yep, getPlan is legacy(since subscriptions can have multiple plans for a while now) so it was removed in the major version. Instead you'd use getItems() in order to look at https://stripe.com/docs/api/subscriptions/object#subscription_object-items
like subscription.getItems().getData().get(0).getPrice();
Great, I'll check that out.. is there any doc I can read about possible breaking changes after updating to the new version?
yes, https://github.com/stripe/stripe-java/blob/master/CHANGELOG.md#2000---2020-08-31 (which calls out Removed plan and quantity from Subscription, use items instead)
we use https://semver.org/ for the libraries so updating from 19.x to 20.x will have breaking changes that might require changing your code
All I'm doing is sending to the page below ... and wanting to test the page:
ah right, it's a PaymentLink. Then you test that by creating a link for a testmode product. i.e. go to https://dashboard.stripe.com/test/products and create a Product/Price there and a PaymentLink for one of those.
In this case im not able to set tax for the amount that i set
@meager hawk Thanks!
Hi! Is there any option like payment_behavior='default_incomplete', for Subscription Schedules? I'd like to pass the client_secret so then, the user can make the payment from their end using Elements' API
@junior ivy hmm, well that really depends on how exactly you're integrating. You can apply tax to one time payments with Checkout. https://stripe.com/docs/payments/checkout/taxes So you can certainly charge for some custom amount and charge tax on it.
random example :
const session = await stripe.checkout.sessions.create({
payment_method_types: ['card'],
line_items: [{
price_data : {
unit_amount:9001,
currency:"gbp",
product_data: {
name: "3.5 hours Furnishing support"
}
},
quantity: 1,
tax_rates: ['txr_1GkpiHJoUivz182DnfGJSQuT'],
}],
mode: 'payment',
success_url: 'https://example.com/success',
cancel_url: 'https://example.com/cancel',
});
@rigid ridge hi! great question actually. I think SubscriptionSchedules work this way already, when they create a subscription, the first invoice does not get paid immediately. But let me check something.
@meager hawk Isn't that like setting up a "test product" only ... part of what I'm testing is the 3rd party integrations (ex. into Active Campaign as a CRM)
@full falcon yes, so then it would really depend on if that third party is configured to respond to test mode activity with test mode activity products on your account, which is not something I can answer
Im not using checkout in tis case .. got the solution to set tax rates in addTaxRate
Thank you
@rigid ridge yeah, there is no great answer here unfortunately 😦 default_incomplete is quite new and doesn't have an equivalent in the SubscriptionSchedule API.
The best I could come up with is like this :
let customer = await stripe.customers.create({
email: "test@example.com",
});
//start subscription now, managed by schedule
const schedule = await stripe.subscriptionSchedules.create({
customer: customer.id,
start_date: 'now',
end_behavior: 'release',
phases: [
{
items: [{ price: 'plan_DQYe83yUGgx1LE', quantity: 1 }],
iterations: 12,
},
],
expand: ["subscription.latest_invoice"]
});
// finalize first invoice
let invoice = await stripe.invoices.finalizeInvoice(schedule.subscription.latest_invoice.id, {expand:["payment_intent"]})
// pass client_secret to frontend to call confirmCardPayment()
console.log(invoice.payment_intent.status)
console.log(invoice.payment_intent.client_secret)
but the problem is that, while you can take the client_secret to the frontend and confirm it and that all works, it doesn't attach the payment method used to the customer, so future payments won't work, so it's not really an option :/
so I don't think there's an answer here beyond, you need to have the customer already created, with an attached payment method ,first, and then create the Schedule
hmm okay, and how could I make SubscriptionSchedule work with 3D secure in this case? Because with normal subscriptions 2-step auth is done on the customer's end with JS, but how can I check if additional steps are needed with SubscriptionSchedule charges?
@rigid ridge it's basically the same. You need to have the customer and their payment method ready , so on the backend it would be like this :
email: "test@example.com",
});
// instead of pm_card_visa , use https://stripe.com/docs/js/payment_methods/create_payment_method
// on the frontend and pass here
let pm = await stripe.paymentMethods.attach("pm_card_visa", {customer: customer.id});
await stripe.customers.update(customer.id, {
invoice_settings:{
default_payment_method:pm.id
}
})
//start subscription now, managed by schedule
const schedule = await stripe.subscriptionSchedules.create({
customer: customer.id,
....
....
then when you pass the client_secret to the frontend, call https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-attached and it will process the payment and handle 3D Secure if required.
sorry, it's a bit obtuse and hard to explain, but that would work.
hi @crimson needle
i have tried the solution but it is calculating the unused time after the update date suppose I have update the subscription today so it is calculating the unused time amount from today to last day of subscription and substract the amount from the subscription price.
do you know if there are any plans to expand the scope of Stripe Elements to support showing list of saved cards, select an existing card to charge, and 'save card' checkbox for new card?
see image for reference
@exotic rain yes, when you change the Price of a subscription, we by default will apply proration to it, as you describe. You can disable it if you want when making the update : https://stripe.com/docs/billing/subscriptions/prorations#disable-prorations
@smoky lark I don't, so right now I would build your integration assuming that functionality won't be available via Elements
Hey there, is there anything we can do to have a response sooner for Stripe Tax access ? Thanks
Hi @meager hawk
Actually i have disable it but still it is calculating
@exotic rain that's not possible, you are not disabling it correctly in that case. What's the subscription ID sub_xxx where this happened?
@languid dew Hi! Generally no, just a case of waiting I'm afraid
let me show you the code @meager hawk
please confirm is it right way to update the existing subscription price?
@exotic rain that looks right yes.
@meager hawk And Actually i have disable proration in second time after knowing about the proration.
so in first time i have not written the proration code and update the price do you think that will effect it?
yes, the setting is per-update
so if you made an update previously and forgot to pass proration_behavior:none then that update would have created some proration
Do we have more information on why is the access only on-demand ?
if you want to delete it(and it hasn't been invoiced for yet) then you can use https://stripe.com/docs/api/invoiceitems/list + https://stripe.com/docs/api/invoiceitems/delete to find and remove the proration items
@languid dew that's a product decision we can't really comment on here, no!
Thanks @meager hawk and
can I also manually delete the proration items from stripe?
@exotic rain yep, you can use https://stripe.com/docs/api/invoiceitems/list + https://stripe.com/docs/api/invoiceitems/delete to find and remove the proration items
👋🏻 Hi there!
❓ Is it possible to add a thank you page URL to a Payment Link?
😊 Thanks in advance!
@hollow prairie thank you very much sir.
I can ask here about my Strippe account?
@cedar ingot Hello! That's not currently possible I'm afraid
:question: Have an account question, @vocal wagon?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact
Ok, thanks @hollow prairie
It is something we absolutely want to add, but no timeline
for right now if you need that level of control you might want to use Checkout directly(https://stripe.com/docs/payments/checkout) which is more complicated to integrate, but it does let you fully control where the customer goes after paying
Yes I know that but, as you said, it's more complicated to integrate 😔
We are looking for something "easier" 😄
There is no way with Links? Either a "hacky" one
Not that I'm aware of, no, the customer stays on the Stripe hosted page so you don't really have any access to their browser session.
Okok, thanks again
Hi @meager hawk , thanks for your answer, I'm not using checkout
You should use Checkout to collect the mandate for BACS, following the links on https://stripe.com/docs/payments/payment-methods/bacs-debit#mandates
Good Morning! I have finally gone live with my website and have gotten my first 6 orders
how do i know if the payments were successful?
and typically how long will it take for the funds to be deposited into my account?
Pessimos, bloquearam minha conta sem motivo e ainda estão com meu dinheiro.
horrivel vocês
You would see the payments as successful on https://dashboard.stripe.com/payments and the support team can answer any account-specific questions about timing and availability via https://support.stripe.com/contact
nem adianta pessimo atendimento
sempre com resposta padrão
nunca resolve so falam que estão verificando
:question: Have an account question, @tulip pelican?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact
desonestos
Looks like you set those payments up as separate auth and capture. What's one of the payment intent ids? pi_*****
here is one of the IDS
can you copy-paste that instead of a screenshot please?
src_1J5Fd7BGY1NWwIo80oXMFszK
thanks
Hi. How can I reschedule a subscription schedule to start immediately using the APIs? I'd like to have the same effect of using the option "Reschedule start date" in the dashboard
You are indeed creating PaymentIntents with capture_method: "manual" which means you also need to call https://stripe.com/docs/api/payment_intents/capture to actually complete those payments. You likely just want to create any future PAymentIntents with capture_method: "automatic" instead.
where do i call to complete the payments? and also where in the stripe portal do i go to change the setting to automatic capture?
Since you're using WooCommerce, you'll want to reach out to their support and ask how to change that. They control their integration's code. You likely turned on https://docs.woocommerce.com/document/stripe/#does-stripe-support-authorization-and-capture
so, if I'm not using checkout, I can't get a mandate and not using bacs debit?
You should be able to hit the Capture button on the existing Payments, in the Dashboard
Not by default, no. You can ask the support team via https://support.stripe.com/contact if you qualify to enable BACS setup without Checkout, but they'd need to approve you.
yes, I'm on support right now and for now, I got more answers from you guys here than there
Hello, about webhooks, I'm not sure of the difference in the Stripe admin panel between "endpoint that receive events from the account" and "endpoint receiving event from the connect platform"?
The connect endpoints receive all events from your connected accounts (not your own account's events). A non-Connect endpoint receives all events from your own account only.
more details at https://stripe.com/docs/connect/webhooks
ah perfect, thanks for the link !
Hi all. I'm a newbie to this forum. I wanted to ask how best to use this / about etiquette. My team of developers are native Arabic and speak some English, but it might be a little broken. It is OK to let them ask questions directly to remove me as the middle man, or would people prefer if I cleaned up the language to asked clearer more direct questions?
We're not too picky, as long as they can explain what they need in English enough to understand it.
Awesome. Thanks for the flexibility.
I actually have the first question here, do I just ask directly in this chat?
Hello guys, we use stripe.confirmCardSetup to save a card and charge it later. But it often triggers a 3D Secure authentication challenge (with a 0€ transaction) wich can be very disturbing for a customer who has not purchased yet. Is there a way to avoid 3D secure on saving and delay it on the first purchase - or - pay and save the card at the same action during the first payment ? Thanks
OK great. Thanks.
We are switching over from Connect accounts to an Express account. We will continue to charge our customers the payment processing fees advertised by Stripe. However, there are a lot of different fees based on countries/card types/scenarios etc. To make sure we always get this right, do you have either an API we can plug into, or even just a table of processing fees across each country/scenario so we can automate this please?
I found something confusing with the Ruby docs and gem usage.
https://stripe.com/docs/api/payment_methods/detach?lang=ruby
I am unable to execute the documented method with Stripe Connect auth parms.
Docs says: Stripe::PaymentMethod.detach('pm_1J5WNf4S2qRpnllJVd8AtGq0', auth) - auth added by me according to generic auth docs.
I must use: Stripe::PaymentMethod.detach('pm_1J5WNf4S2qRpnllJVd8AtGq0', nil, auth). So I must set params to nil even though the method has no relevant params.
I think this is due to detatch endpoint not taking any params and the Ruby method defines params: https://github.com/stripe/stripe-ruby/blob/master/lib/stripe/resources/payment_method.rb#L24
With attach it is needed to specify params (customer).
Is this intented behavior of the gem?
If you want to delay the 3DS authentication until the first payment, you'd just use https://stripe.com/docs/js/payment_methods/create_payment_method and do not save that payment method to a Customer yet or use it with a SetupIntent. You would then later use it with a SetupIntent (specifying a Customer) or a PaymentIntent to authenticate then.
There isn't an API but you can replace the gb in https://stripe.com/gb/pricing with the proper country code to see regional pricing
Thank you, I will check the doc and come back to you if needed 👍
Hello. I need to get in contact with someone from Stripe's IT department. I bought a laptop from eBay a few years ago and it was working well until I decided to sell it and did a factory reset. Then I learned that the laptop was registered to be remotely managed by Stripe through Apple's Device Enrollment program. I can no longer use the laptop as it is locked. I've contacted Apple and computer repair services but they all say the only solution is for Stripe to unenroll the computer's profile from its MDM. I have not been able to use the laptop for a year now. Can somebody please help me out?
@trail pond The support team can help with that via https://support.stripe.com/contact -- make sure to specify exactly what you just typed out there and specifically request an escalation to the IT department
I contacted the support team last year but the person that responded to me was not helpful unfortunately. They did not understand the problem and did not let me directly contact the IT department. In the end, they told me it was out of Stripe's scope which in truth, it is only in Stripe's scope. I can try again but I'm not very hopeful:/
Yeah you need the nil for params there. The docs for the individual methods don't specify how many optional parameters they each have (params, headers, etc.). Some have params, others don't.
@trail pond If you get blocked by that again, let us know here and we can find your email to support and escalate it.
Alright, thank you very much. I will update you.
So we've noticed this, and even though we have customers in a lot of countries, we can do this manually. Our concern is more about situational pricing. So a card payment from one card in New Zealand to a NZ account will generally match what you've advertised, but when it's a US citizen on holiday using an AMEX to pay for a class in NZ, that's where I'm afraid we'll get it wrong. Is there anything we can do to make sure we always get the payment fees right, and / or avoid any human error likely to be found in copying fees over from all countries manually?
If you are calculating and charging the fees after the payment, you can see them all on the balance transactions for the payments (for example if you use separate charges and transfers, or you debit the connected account for the fees). That's the easy way rather than calculating fees in advance, if you can do it.
@trail pond 👋 I work for Stripe too with @sick talon. Let's DM so that you can give me some details
We're taking our 2% fee as well as adding Stripe's advertised fees at the same time too (rather than on a later bill). We also have negotiated rates with Stripe, so the fees we are charged aren't the same as the ones we will pass onto the user. So with that in mind we will need to pre-programme Stripe's expected fees into our automation to make sure our charges are correct.
So we can get the standard fees from Stripe's individual country pages. If there as a method that was less prone to human error that would be wonderful, but if not we can definitely do it manually. This just leaves us with the gaps of the payments for the more unusual transaction types where we're a little blind. What do you recommend is the best course of action here?
Does anyone know anything about Two Layer Stripe Connect and international payments? having trouble billing an account and handling destination charges when the platform/connected accounts are in different regions
@sick talon the answer I got from support on the Mandate subject was: "So BACS would be available only with the Stripe Checkout. This would also be the easiest way to do this. The only other way to do this is to create a custom form. If you would be looking to create your own form, then I would need to escalate this to a more specialized department to advise more details as to how this is done. As they specialize in this, they will be able to share more information on what exactly the procedure would be."
I believe that must be a way to work with Bacs Debit on Stripe without using the checkout feature. Any other advise?
Oh if you're using custom fees with us then you want to talk to the support team as they can likely generate a doc that shows the fees and explain the different scenarios. The published fees are likely different from what you pay.
which is https://support.stripe.com/email
you want to read https://stripe.com/docs/connect/cross-border-payouts (long story short: you either need to use Direct Charges or the on_behalf_of parameter, those docs will cover everything)
you're not supposed to use OBO or direct charges with recipients right?
The escalation to the specialized team is what I was talking about, that team can approve or deny your request to be able to do it without Checkout.
Perfect, yeah we're using on_behalf_of for direct payments, but I don't believe this is supported for subscription payments? Is there a way to do this with subscriptions and destination charges through Stripe internationally?
Ok great, thanks!
ah, wrong link, you want https://stripe.com/docs/payments/connected-accounts @jade pier
ah ok, yeah subscriptions you'd create them as Direct if it's cross-border (you can't make a Transfer in that scenario)
We are aware of the desire to use OBO with Subscriptions though, we're working on it
They will be different. But we're not looking for the list of fees we pay, we're looking for the list of fees Stripe normally charge. This is what our customers will expect to pay, and what we will be charging them.
Ah you mean you want to charge the "normal" Stripe fees that anyone pays when they use Stripe? In that case yeah, the public pages are the only resource there, nothing programatic.
I can't speak to what the edge cases might be beyond that for the scenarios you described.
Usually it's listed on the individual country pages (e.g. Europe has fees for EU vs. non-EU cardholders)
Stripe will have specific fees for when (example) A UK cardholder with an AMEX pays a New Zealand Stripe account in USD. For us to pass this on we will need to know what it is in advance. How can we program for these scenarios?
Hi Guys, I need help to save card information within Customer object at the time of PaymentIntent create (Server)
We don't have a programmatic way to retrieve the fee schedule. If you have that information saved somehow from the docs, you can see the card issuer country in https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-country but actually doing the calculation would have to be manual (e.g. you scrape the fees from the docs and store them locally)
The actual calculation formula is at https://support.stripe.com/questions/passing-the-stripe-fee-on-to-customers
(but you'd need to provide the rates)
OK thanks Turbotime - (Awesome screenname btw!)
is there a phone number i can call someone from WooCommerce that can help me push through the uncaptured payments? I went on their site and unable to enter a ticket or have much luck with the process online
WooCommerce is an entirely separate company from Stripe. AFAIK they don't do phone support and you have to open a ticket via https://woocommerce.com/my-account/create-a-ticket
Have you checked on the individual payments on https://dashboard.stripe.com to see if the Capture button is there?
No problem, I thought that was the case. Just out interest, do you know what kind of timeline there is in place for that? Just roughly if you can as I'm working with a client who needs Connect with EU as one region and APAC as another?
No official timeline at the moment
I mean unknown parameters
What's the request id where you get the error? https://stripe.com/docs/api/request_ids
@sick talon Okay wait
Is there an unofficial timeline? 😁 Not holding anyone to it, just want to know if its in the works, or just a backlog idea at the moment 🙂
We generally don't do timeline announcements, features are released when they are ready.
It's in the works, if that helps
Yeah that helps massively, thanks for the help
CheckoutSessions don't support off_session. What are you trying to do, more specifically?
My task is to fetch payment methods to in user area with email that customer paid using payment intent checkout
but when I'm trying to get cards using API by passing customer ID
I'm getting nil Array
Sorry, I'm confused. What you just said now is completely unrelated to the requests you provided above.
and when I check over Stripe Dashboard Payment method is not set to Customer object or might be it's not default
@sick talon ignore everything please, my main task is what I just descried you
For these calls that create a CheckoutSession, you don't need off_session: true for anything. Remove that parameter from your call.
Okay I did
I'm using Ruby gem to create payment Intent btw
Stripe::Checkout::Session.create
OK so a PaymentIntent is different from a CheckoutSession, but CheckoutSessions use PaymentIntent under the hood so that's fine. Are you saying you want to save the PaymentMethod created during the Checkout to an existing Customer?
OK then you want to pass that existing Customer's id when creating the CheckoutSession (and specify the setup_future_usage parameter as mentioned in the docs here) https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
then if you want that to be the default PaymentMethod for any Invoices/Subscriptions you would update the Customer and set that PaymentMethod's id on Customer.invoice_settings.default_payment_method https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method
There isn't a default for PaymentIntents, you just specify the Customer and PaymentMethod when creating PaymentIntents in the future
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi!
I'm having issues testing Standard connect onboarding. Using test keys in a test environment, I've setup account creation and account link generation using https://stripe.com/docs/connect/standard-accounts guide.
Everything seems to work fine, but even though I'm using a test key (sk_test_...) the account link seems to be created in your production environment:
- There's no "Force Form Skip" option;
- I receive email confirmation messages from you once I create an account
Am I doing something wrong? I can't find any information on that matter. How can I test it?
Thanks!
Integrating with Standard accounts is the fastest and easiest way to get started using Connect, since Stripe will handle the majority of the user experience and user communication.
Standard Accounts are always real accounts, by their nature. They exist in live mode regardless but will be connected to your platform in test mode.
you just don't try to activate them and they're fine for test mode
@sick talon suppose if I don't have customer_id at this stage, reason customer is not existing at this state.
If you don't have a Customer already, Checkout will create one automatically and its id will be on the PaymentMethod.customer if you look it up after payment succeeds
Hi are there any solutions to take payments over the phone other than terminals
how can I combine Stripe Checkout Sessions with subscriptions with trials? I want to create a subscription with a trial when a user first signs up, and then once their trial is over, have them go to the Checkout session to actually subscribe with their payment info
:question: Have an account question, @shadow cobalt?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
You'd set them up with a trial first and then can direct them to the Billing Portal later https://stripe.com/docs/billing/subscriptions/customer-portal
The simplest way to offer subscription and billing management functionality to your customers.
@sick talon but what happen to credit card information that customers fills on checkout?
I want that by default to assign that new customer
otherwise you'd just send them to Checkout when you want to with the mode set to setup, and attach that PaymentMethod to the Subscription when you get the webhook events
I don't want any custom code or call to update that later
If you're not specifying an existing Customer, Checkout will create the new Customer. If you create a Customer first, pass it to Checkout as customer and it will use that one.
ah, thanks!
oh ok so i realized setup isnt what i want since i dont want them to have to enter payment info until the trial is up
@sick talon here is a problem again, I have payment button that takes customers to Stripe checkout, so on click first it sends request to my server create Checkout Session and send back to session_id and then takes customers to checkout page.
I did try that, but after entering email and password, I'm prompted to enter a phone number. So as far as I understood, I could use the account id for transacting at this point?
Is there any way to detect which user is the 'subscribing user' then in the billing portal, like there is with Checkout? (each Stripe 'customer' for me is a team, and i want to record which member of a team actually subscribed)
during this whole process I don't have email available to create customer first.
my customers enters email only on Stripe Checkout page
Yep, and we'll use that email with a new Customer. Either way you're going to have to do something after Checkout to connect everything together.
Are you using an email that doesn't have an existing Stripe account already? You'll end up using your real Stripe account if you reuse that email address.
is there any way that entered card details get attached to this new customer automatically?
A Subscription just belongs to a Customer, but you could use metadata to specify anything you need to keep track of outside of Stripe's fields https://stripe.com/docs/api/metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Email could be anything, those email are from my customers
They will get attached automatically, yes, and you'll find them if you list the Customer's PaymentMethods via https://stripe.com/docs/api/payment_methods/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ya so i have the customer who actually created the subscription, and I associate that with a team, but i also want to somehow access the user who actually entered biling details too
@sick talon Yes I am. I did use both fake addresses and existing but unregistered ones. I can generate an standard account with stripe.accounts.create(), create a new account using the generated account link and wathever email address. As soon as I get to entering phone number (the second step of account creation) that will be good for transacting?
There isn't any context of that type in the Subscription object, no. Just the Customer object.
Once the user can log in to the Dashboard and thus authorize the connect platform's connection, you'll be fine.
is it possible to merge two Stripe Customers when a duplicate record is created? Stripe:Customer.merge('cus_a','cus_b')
@sick talon but I'm getting blank Array
It's not, you'd just stop using one and continue using the other, and then you'd need to look at the "unused" one for recordkeeping purposes.
What's the request id when you get an empty result?
Ok, thanks a lot! As a suggestion this could be detailed in the standard integration docs. When I searched about testing it, I found Oauth integration docs in which screenshots are very similar, and there you have the "Force skip form" option. That probably caused the confusion.
Thanks again for the quick help!
Do you have a "remember me" or something yet that is live and will allow an existing customer on checkout.stripe.com to log in and make sure the 2nd payment is associated with the existing Customer instead of making a new Customer? Do we have to add something to the session to do this? And is it live yet?
You would have to pass the Customer id in when creating the CheckoutSession (https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer). Link with Stripe will remember their payment details, but a Customer object on your account isn't tied to that in any way.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@sick talon wait please
@sick talon. Use case: Stripe Checkout is embedded into a Wix website. We don't have the customer id. Is there a way to merge the two Customer records after the fact? We had a flow with legacy where we knew the customer ID but with new Checkout, we do not about 50% of the time since the payment button is embedded into a public page.
Question - can we use stripe verification in mobile games? for example a user can earn coins in an game and he then can redeem gift cards with those coins. can we use stripe for the user first verify their ID before they can redeem a gift card?
@sick talon - will "Link with Stripe" pass the original customer ID on payment 2,3,4.... in the webhook?
There isn't a way to move a PaymentMethod from one Customer to another, no. You'd have to talk to Wix and see if there's any way they can add to their integration to let you specify a Customer id.
no
And is Link with Stripe a live feature?
https://support.stripe.com/questions/using-link-with-stripe-to-save-your-payment-information but it's not going to do what you're looking for
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
The easiest way to verify identities.
OK, how about this. If we send the customer to Customer Portal can the customer create a second subscription (not upgrade/downgrade)? And would that 2nd sub be associated with the existing customer? Or, is Customer Portal only for upgrades/downgrades and won't allow a new subscription to be created on an existing customer?
@sick talon I'm getting #Stripe::ListObject:0x3ff5eaf53758 JSON: {
"object": "list",
"data": [
],
"has_more": false,
"url": "/v1/payment_methods"
}
here is request ID req_dfRViKR776ynwJ
You'd need to create the second Subscription first and then use the Portal to let the Customer make any changes. They can't start a new Subscription via the portal.
Hmmm. OK.
Hello All,
I am trying to connect P400 terminal through native android sdk
I am able to discover areader but whenever I am trying to connect to the reader I am getting "No address associated to the host name"
is enable global payments available?
And does that mean if my account is set to USD, but a person is in India, that the payment is shown in rupees and is taken in rupees, and then deposited in my account in USD?
@sick talon Do you need anything else to check, why I'm getting blank array?
When you create the CheckoutSession, you need to pass setup_future_usage so that the PaymentMethod gets attached https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Shall I pass like this setup_future_usage: true
The payment will be charged in whatever currency you specify when creating the PaymentIntent, and then converted based on the details in https://stripe.com/docs/currencies/conversions and https://stripe.com/docs/connect/currencies
Learn more about how Stripe handles currency conversions for you.
Support processing charges in multiple currencies with Connect.
Sounds like a DNS issue, see https://support.stripe.com/questions/the-stripe-terminal-sdk-is-encountering-dns-errors-when-connecting-to-an-internet-reader
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
@sick talon here is my hash {
payment_method_types: ['card'],
mode: mode,
allow_promotion_codes: add_coupon_code,
success_url: success_url,
cancel_url: cancel_url,
line_items: [ line_items_hash ],
subscription_data: subscription_hash,
billing_address_collection: 'auto',
metadata: metadata_hash
}
yep, add the parameter I mentioned and it should do what you want, try it out in test mode
Do I need to pass another parameter to this cause, I did this already and getting, unknow parameter
I'm not familiar with "Global Payments" as a Stripe term, where are you seeing that?
Stripe Sessions
Ah must be something new, I'd suggest reaching out to the support team via https://support.stripe.com/contact as they likely have up to date context
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
OK. On our legacy checkout, sometimes the buttons says:
"Pay US$100"
and sometimes says
"Pay $100"
- Is there a way to remove the "US" so it just says "Pay $100"?
- Is it identifying the location and adding "US" when not in the US?
hello
i have a new account for my webshop Merch Enzo in the Netherlands but if someone want ot make a payment is there a error and people cann't pay for thinks and the orders are not comming true because people cann't pay
kind greeds
Joaquim Pereira Calado
'
i'am sorry for my bad English btw
It sometimes adds "US" to dollar amount. Is there a way to avoid this?
@sick talon Received unknown parameter: setup_future_usage
this is what I'm getting
here is req_CSkmfg2EHK86yY
Per the docs I linked it should be payment_intent_data[setup_future_usage] https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay let me check this one as well, thanks
Can you clarify what is causing the payment button to sometimes appear one way and sometimes the other?
"Pay $100" vs "Pay US$100". I think the former looks better so we are trying to remove the currency designation.
Not that I'm aware of. Legacy Checkout is long deprecated at this point and nothing new as far as customization has been released.
:question: Have an account question, @vocal wagon?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
There's no need to repeat the question multiple times, folks here are helping multiple people at once and it takes some time to get to everything.
can i localize the onboarding steps for standard accounts? I see you can pick a locale for the checkout session page, but didnt see anything for onboarding connect accounts
The Dashboard and onboarding will use the individual user's browser preferences, so no, you can't control that from your end.
@sick talon ok thanks, that was my assumption
Are you using Connect? If so, make sure you're making the request as the platform or the connected account that the object actually exists on https://stripe.com/docs/api/connected_accounts
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
What's the id of that request where you get the error?
Since legacy Checkout is deprecated, can we move customers using :billing_anchor to new checkout yet? Where you bill on the 1st of each month?
You can set the end of a trial on any new Subscription to be the first of the month via https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_end (you can't backdate Subscriptions using Checkout so that you prorate the rest of the current month though)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi, I'm using the stripe VS Code extension to forward events to my machine. Is there a way I can get these webhook events to only go to my machine?
Is it possible to get a payment_intent.succeeded, and then later on some time for that charge to get revoked ?
if that is possible how do you counter for that ?
@cosmic tide you might want to create a separate stripe account testing if you want to do that (you can create a new stripe account under the same email address, though - there's a "new business" button under the account picker dropdown at the top left of the dashboard)
events are global within a given stripe account, so each webhook endpoint within a stripe account will get all events
@cloud pasture yeah - charges can be disputed: https://stripe.com/docs/disputes
Learn what disputes are, how the process works, and how to prevent them from happening.
I thought this might be the case. Is there any cost associated with setting up a new stripe account if I intend to use it solely for testing?
nope - it's free to create an account. fees are only on livemode charges
perfect, thanks for your help
np!
i must change address of residance. how do it?
I can't change the state. the way is clear.
@vocal wagon You should be able to update that in your dashboard settings (https://dashboard.stripe.com/settings/account). If you have further issues with it please contact support at https://support.stripe.com/contact
thank
We are a Stripe Connect Platform (hence the name). So we ask the customer, "When do you want to bill your customers" and have 1..31. If they choose the 15th, then we want to bill the customer always on the 15th. We used to use :billing_anchor. So now we set a free trial? And we have to calculate the current date and how many days are in the month and set a dynamic free trial duration before making the session so that the 1st billing lands on the 15th? Is that correct? And there will be no prorated 1st charge but instead the first charge would occur on the 15th and the customer would see a "Free Trial" designation in checkout.stripe.com?
@viscid burrow Hello! Let's back up for a second - you want all your subscriptions to always bill on the first of them month. When a user subscribes on the 15th do you want them to be charged for the time from the 15th to the 1st, or do you want their first charge to be on the 1st?
@viscid burrow Actually, re-reading your question it sounds like you actually want all your subscriptions to start on the 15th correct?
We are a Stripe Connect Platform!
That means customers have standard Stripe accounts and "tell" us what they want. Every possible scenario occurs.
We have customers who want to bill now as per normal, but sometimes customers like to get fancy and bill on a certain date of the month. Usually people who want that, want to bill on the 1st or 15th of a month so we just ask them what they want and give it to them. If they want the 1st, we create a billing anchor on legacy to bill on the 1st. If they want the 15th, we create that. We need to have a flexible solution always since it is not me making the decision - it is the standard Stripe account owner. Is that clear?
@viscid burrow For your question Connect isn't really relevant - I'm just trying to narrow in on what specific billing behavior you're looking to model with Stripe. Typically when you want the billing renewal to be on a specific date of the month I would recommend using the billing cycle anchor, but are you looking for something different? If so, it would help if you could describe the potential behavior your connect accounts are looking for
@viscid burrow No, unfortunately billing_cycle_anchor is not available with Checkout - as a workaround we typically suggest you use Checkout in setup mode (to get the payment method properly configured for recurring usage) and then create the Subscription in a separate API call
Right? That is the issue. We have a great solution for the last 3+ years for legacy but I don't see a good solution for New Checkout. We are a Stripe Connect Platform so cannot do what you are describing.
If the API call happens on our end (i.e. legacy), we can make any API call we want, but once we send it to you (i.e. New Checkout) then you create the Customer and Sub and then we get a webhook and the customer is redirected. By that time, you have already made the Sub. So using Checkout is setup mode is not something that is possible with Stripe Connect since we have a plethora of Stripe standard accounts - it is not our account.
Is billing_cycle_anchor perhaps something that can be added as a possible thing we pass in on New Checkout session create?
@viscid burrow Checkout in setup mode should be completely compatible with connect platforms - assuming you're working with Standard connect accounts that want subscriptions created directly on the connect account you would create the Checkout session using the Stripe-Account header which will set up the payment method on the Connect account. You would then make the request to create the subscription (also using the Stripe-Account header) which will create the subscription on the connect account, not the platform
I hate billing on the 1st but some people - like the Dollar Shave Club model - like to bill on the 1st and ship on the 1st. Personally I like rolling payments but people are people and choose strange things.
karbi yes of course. But what to you mean "Checkout in setup mode"
Hi, I hope i'm in the right place. I have a new stripe account and really need to set up apple pay with it, I am so confused.
@viscid burrow It's the flow described here (https://stripe.com/docs/payments/save-and-reuse?platform=checkout). Checkout has three "modes" (see our api ref https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-mode). For a checkout session in setup mode you are not making any payment, just taking in card/payment method information to be used with future purchases
Aha! OK, interesting. That might work. Let me look at that.
@oak tinsel Hello! What specific issues are you having?
Hi. I want my customers to be able to have a choice to pay with apple pay but i dont know how to set that up within stripe
@oak tinsel Do you want to accept apple pay on the web, or in a native ios app?
I want to be able to send links within emails to my customers to pay for certain services.
Later on down the line I will intergrate it within a website
@oak tinsel So what stripe product are you looking to use? Payment links? Invoicing/billing? Checkout?
I'm really new to stripe, so I am open to suggestions
@oak tinsel as far as I know, custom emails aren't possible with Stripe. At least it's very limited. You can use some kinda tool like Zapier for delivery
(I'm not a stripe employee tho so someone correct me if I'm wrong)
Hey, I meant I would email from my email a stripe payment link for the customer to pay 😊
@oak tinsel Yeah, what @edgy axle says is correct we don't offer email customization, but it sounds like you'd be happy with using payment links (https://stripe.com/payments/payment-links). Let me check how those work with apple pay
It's like on the little promo vid graphic for payment links it shows a payment link, customer opens and it shows the apple pay button but when i set my own up it doesn't give an apple pay option
@oak tinsel Can you check your dashboard settings here (https://dashboard.stripe.com/settings/checkout) and tell me if apple pay is enabled?
Yes all are inc google pay
@oak tinsel Hmm... give me a few minutes to look into this.
@oak tinsel I've just checked it again and I'm seeing it enable/disable apple pay with payment links on my end... let me switch to DM really quick
Is there a developer who can answer a couple questions for me? I'm trying to set up payment on a business account and I'm confused why it needs my social security number as opposed to a number linked to the business's banking information.
It's for Reggora if that matters
Hey where is the dm?
:question: Have an account question, @river estuary?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact
@oak tinsel I have DMs disabled, so I sent a friend request - if you accept then I can DM
Hi! I've activated the options for Apple Pay and iDeal payments, but i cant seem to find the options to pay with either those, only creditcard. Can someone help me out with this? DM's preffered
The option for the client, to pay with those.
@twilit vale We prefer not to respond in DMs unless necessary - how are you integrated with stripe?
Oh sure, then here is fine. Im using a website with "donorbox" for 1 client, who wants to accept donations through Stripe. Another one i need active is for myself, as we're selling prescriptions to clients for $x.xx a month, which i would very much like to be able to pay once with ideal, and then monthly from there.
@twilit vale Are you using Checkout? Elements?
Don't know either of those, for the client we're using wordpress
@twilit vale Ah, for wordpress you should be contacting their support team - it's likely you're missing some small part of their setup process for these payment methods and they'll be able to help
Well, i have 1 stripe payment option with is completely without any interference of wordpress or other software, we just send people the subscription link. How would i be able to add the possibility of paying with iDeal on that one?
In the settings of Stripe i have checked to options for those payment ways
Says active
@twilit vale When you say you send them a subscription link - can you be more specific? Are you send an invoice email? A payment link?
Payment link yes, from the Stripe admin
We made a product, for which we can then send a payment link for subscription
@twilit vale Right now payment links only work with credit/debit cards, google pay, and apple pay (it's listed as a limitation here https://stripe.com/docs/payments/payment-links)
Ai oké. Any way to get customers to pay subscriptions easy through Stripe with the ability of paying through additional payment methods? Then should i integrate a payment option in Wordpress probably?
@twilit vale Well it depends on your definition of easy - if you're comfortable coding then Stripe Checkout is a pretty simple integration that is compatible with ideal (https://stripe.com/docs/payments/ideal/accept-a-payment?platform=web). If you want a no-code solution you'd need Wordpress or some other plugin
Hi is it possible to create an application fee with a transfer rather than a charge?
@vestal trench Can you clarify - for a transfer between two stripe accounts what is the need for an application fee? Wouldn't you just choose to transfer a smaller portion of the funds?
@dim hearth thats what im doing I was just hoping to do it with a fee for book keeping purposes
Hi stripe family i am a junior software developer from Uganda and my team was tasked to build a room-sharing mobile app called "bedspace". The client is from Zambia.The technologies to be used are react-native on the frontend and nodejs, express and mongodb at the backend. One of the features we are supposed to add is a payments feature and i opted for stripe since it can add different cards for payments
i dont exactly know who is charged and when they are charged for an instant payout
been trying out the paymentsIntent api ;
app.post("/stripe/charge", cors(), async (req, res) => {
let { id } = req.body;
try {
const payment = await stripe.paymentIntents.create({
amount: 999,
currency: "ZK",
description: "Bedspace",
payment_method: id,
payment_method_types: ["card"],
confrim: true,
});
res.status(201).json({
message: "payment successful",
success: true,
data: payment,
});
} catch (error) {
console.log(error);
res.json({
message: "payment failed",
success: false,
});
}
});
@vestal trench Ahhh gotcha - I think that's the only option (transferring a smaller amount). We don't have a way of having application fees with transfers
on postman i use x-www-fom-urlencoded to pass key value pairs and pass the following;
card[number]: 4242424242424242
card[exp_month]:
card[exp_year]:2024
card[cvc]: 123
Unfortunately i get ;"StripeInvalidRequestError: Received unknown parameter: confrim. Did you mean confirm?".
any assistance is highly appreciated
You're spelling confirm wrong - your code has confrim not confirm
@dim hearth thanks a lot let me try that out
Hello, Stripe has paused my account due to business info - but it's not letting me update my business info (owner info)
Can you clarify this as well? Are you saying you don't know the account that is being charged for instant payout, or am I misinterpreting your ask?
:question: Have an account question, @hoary frigate?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact
@vestal trench The cost of the instant payout is applied to the platform account, not to the connected account's balance
@dim hearth i guess in the case we have a connected account that triggers an instant payout, I was told by others in my company that stripe charges us something like .8% I guess just when is that .8% charged, and are we charged, or the connected account?
Hello, Stripe has paused my account due to business info - but it's not letting me update my business info (owner info). It won't let me update anything.
@fast mantle perfect and when is that charged?
Hey guys does anyone know how one could setup a one-time payment and recurring subscription payment through WP-Forms and Stripe?
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
@hoary frigate I would strongly suggest contacting support - we are unable to help with account-specific questions here
It should show up pretty quickly (immediately?). You'll see it show up here: https://dashboard.stripe.com/balance
@warm rose I know how to do this with Stripe directly, but not through WP-Forms (we have no control over their integration with Stripe). Their support docs/team should know the answer.
@dim hearth Thanks! Do you think it would just be easier to setup the one-time payment through stripe rather than have to go through WP-Forms?
@fast mantle does it show up as a charge? Im taking a look at all transactions and I am not easily able to tell if its the fee payment
@warm rose If you're already using WP-Forms and don't already have a direct integration with Stripe it would take some work to get this set up, but if you're comfortable coding it's relatively easy to get this setup with Stripe (you can use Checkout)
@dim hearth We've recently just setup the WP-Forms to accept payments through Stripe, aside from that we haven't gone any further. Client is just asking to add an initial $20.00 fee. If it's possible to do it through Stripe once they reach the checkout stage, I think that would be ideal. Just asking to see if this is possible, they haven't given me full Stripe access to do any tinkering.
Yes, this is definitely possible with Stripe! There are a few ways to do it, but the simplest one is with Checkout (https://stripe.com/docs/billing/subscriptions/checkout) which can take in both a recurring + one-time price in the same checkout session
@fast mantle if it shows up as a stripe fee I am definitely not seeing any in our transactions
@vestal trench I don't know off the top of my head, but let me see if I can find where they should be
Thanks @dim hearth
@vestal trench Do you see the instant payout fee if you look at the payout itself?
@dim hearth let me try to find one as our instant payout limit is extremely low and gets met fast. So we dont have many instant payouts
@dim hearth I cant find any fees related to an instant payout i pulled up
Hello! Does Stripe have a way to check state & postal_code based on country? Or does Stripe have suggestion on implementing a billing address form?
@vestal trench Sorry it took a while - so with instant pay w/ connect account the fee from instant payout is only reflected in reports. Let me confirm the exact steps to get it
@versed helm I don't believe we provide a way to check this - it would be on your to implement the billing address form
@vestal trench To see all your instant payout fees as a platform you would go to your dashboard -> click "Reports" -> click "Balance" -> find the "Additional Stripe fees" line -> click the Download button next to it -> select itemized
@dim hearth hmmm i dont see balance under reports, maybe i just dont have access
@vestal trench When you click "Reports", Balance will not be in the side bar, it'll be on the page (see screenshot)
Can someone shed some light if there is a difference between between recurring billing vs subscriptions?
They should be the same
@dim hearth ok i see it. interesting though there is only 1 charge under that for this month thats not an instant payout fee. How often wil those be added to the report?
@vestal trench I believe these get aggregated on a monthly basis.
@dim hearth ok thanks, if i go to all my transactions and filter by stripe fee i also do not see them listed there. is that expected?
Good afternoon, we are looking to insert strip as a gateway on our website but we need to know if there's any way to add a small form for the client to fill up with some specific and obligatory information. Not sure how to search this up on support, sorry if it's the wrong place to ask
@vestal trench Yeah, that's expected - they're only reflected in the reports, not on the transactions page
Do you guys accept Retailers of single player, digital video game modifications.
We provide elements for collecting payment information, but collecting other information would be something you build yourself. Alternatively, there are a variety of plugins/third-party solutions that have forms if you don't want to build this yourself
@quaint briar That's a better question for support - you can contact them at https://support.stripe.com/contact/email
I see, it means that it is possible to integrate payment and collect extra info at the same time? We tried another gateway separating this process and it was hell, lesson learned 😅
@pallid sable Hello! You can integrate Stripe Elements alongside your own form elements to collect arbitrary information + payment information at the same time: https://stripe.com/docs/stripe-js
Awesome! Will study this link, thank you
Hello I'm currently setting up stripe connect for a client on wordpress by using a plugin from yith. However I don't own 2 stripe accounts for testing purposes. Is it possible to create test accounts on stripe and how? Or is there another way to proceed for testing in this kind of situation? Thanks in advance 🙏
@ivory sky Hello! You can create as many test accounts as you need.
If you need to create Standard test accounts you can choose the "New Account" option in the account switcher in the Dashboard (top left, click on your account's name).
If you need Express or Custom accounts you can create them via the API in test mode.
Thanks @mighty hill One more question, where can I find this "test mode"? I think I need to create Express accounts
hello there
@ivory sky Your Stripe account has two sets of API keys, one in test mode, one in live mode. Using your test API keys makes things happen in test mode. You can switch between test and live mode in your Dashboard using the View test data switch in the left sidebar.
@vocal wagon Hello!
i just got a payment true my website for the forst time with stripe but it said my account its not eleigible ???
@vocal wagon I wish I could help, but this chat is focused on developers, technical matters, and that sort of thing. Our support team will be able to assist you better than I can: https://support.stripe.com/contact/email
Thank you. Issue is that when I click view test data. It's asking me to verify my account. Hence asking for business address and bank details. Are there any dummy info I can use to fill these for the test accounts?
@ivory sky You should only be seeing that in live mode. To clarify, this is what the switch looks like when you're in test mode:
@ivory sky You are not required to verify your account or provide bank details in order to use test mode.
Here is how it looks like for me.
@ivory sky Ah, yeah, that means you only have access to test mode.
@ivory sky Meaning you can't switch to live mode until you activate.
Quick question, how long can a stripe webhook process before its considered "Timed out"
@deft ruin We document our webhook retry logic and timing here: https://stripe.com/docs/webhooks/best-practices#events-and-retries
hello everyone, I have a question for anyone who has implementing Stripe Checkout for their checkout flow. We are wanting to use Stripe Checkout for our subscriptions but there doesn't appear to be anyway to configure Checkout to not allow duplicate subscriptions for say an email address. So if the user isn't logged in and forgets they have purchased before they can buy again, go through the Stripe Checkout flow, and then have an extra subscription. Is there. a way around this besides asking for email address before launching Checkout?
@bleak prairie Hello! There's not a way around that using only Checkout by itself; you'd need to write code on your end to prevent the duplicate subscriptions.
@mighty hill i looked there, but i didn't see anything about "timeout". I'm seeing some webhook events "timing out" but I think my backend processes are just taking too long so I want to know how long Stripe waits before it considers something "timed out"
@deft ruin I don't know if we publicly document a specific timeout, but you should should try to respond in a few seconds at most.
@mighty hill so we would either need to check email address before launching the Checkout flow or handle this on the webhook callback (which if we didn't want the duplicate we would have to refund the charge)?
@bleak prairie Yep! I recommend the former; no point in even creating the Checkout Session if you don't want/need it.
Hello, I created a coupon for a customer that is 100% off for 3 months, but it's a yearly subscription. The subscription says the next pay date isn't until 4/15/2022. I was expecting it to be 3 months from the start date. I'm guessing this isn't how coupons work? Any insight into this would be appreciate?
@deft ruin We mention this:
Send a successful 200 response to Stripe as quickly as possible because Stripe retries the event if a response isn't sent within a reasonable time. Write any long-running processes as code that can run asynchronously outside the webhook endpoint.
Source: https://stripe.com/docs/webhooks/integration-builder
@gleaming urchin Hello! Yeah, that's not how coupons work unless your Subscription is charging people monthly (in which case the first three months would be free).
@gleaming urchin It sounds like you want more of a 25% off situation maybe?
howdy folks
Understood. This means checkout would need to be an extra step, which is a deal breaker for us. Anyone we can give that feedback to?
@median pawn Can you tell me more about your use case? Why is it a deal breaker exactly?
I don't understand what you mean here -- you linked to a reply to @bleak prairie who explicitly asked about handling an existing account which needs to be an extra step before directing to checkout
Hello - we have been using Stripe Connect for a couple months now and have an issue only in our test environment. We create connected accounts to test with - and sometimes they go to 'Complete' status - we use them to run fake transactions, then in some cases the account will revert to 'Pending' for no reason - no webhooks are sent. And it just sits there in pending - any idea why?
We don't want to add the extra step up front to make the user input their email address before hitting checkout.
@hexed cove can you provide an example account? Most likely some additional verification requirements became due, but there should be an account.updated event when that happens.
@daring lodge - in that case we'd get a webhook and the account would revert to 'restricted'. It's in 'Pending'. Whn you say example, you mean the account id?
@median pawn Can you describe your desired flow in more detail? What exactly would the steps be in your ideal scenario?
Requiring the email address before hitting Stripe Checkout means adding an extra step into the flow. We'd like to go from the Plans page directly to Stripe Checkout.
Hey, can someone help me with stripe fees?
Some cases folks would be signed in, some not. Some folks not signed in might already have an account. That last one is what makes this tricky trying to go straight to Stripe Checkout.
What do you want to know?
@hexed cove account id acct_123 yes -- those statuses are abstractions for the dashboard, the account update events via webhook have more specific requirements for the account verification:
https://stripe.com/docs/connect/identity-verification-api#determining-if-identity-or-business-verification-is-needed
Learn how Connect platforms can use webhooks and the API to handle identity and business verification.
How much the fees are, very confused
So I looked into this and this is exactly what is blocking me. I cannot test the wordpress plugin without activating the account. I don't have any bank details to do so. If I could get some dummy bank details accepted by stripe, to activate the account that would be perfect. Anything you might suggest in that situation?
acct_1IR4DgD73enI2TjA
@median pawn If someone is signed in you can't detect on your end if they have a subscription already or not? To clarify, why present the checkout option at all if you don't want them to check out?
For credit card - 2.9% + .30
We have folks visiting the site who are not signed in but do have an account.
@ivory sky You would need to contact the plugin developer and ask them about adding support for test mode and next steps/workarounds.
So for $100 - $103.20
@median pawn Oh, i see what you're saying. Gotcha. I can file that feedback internally for you, or if you want to receive followup you can write to support with the feature request: https://support.stripe.com/contact/email
ACH is .8% up to $5 max
@oak tinsel What kind of payment are you creating? The fees depend on the payment instrument and country, for example.
@mighty hill this would be for the times when someone is a customer and is. signed out. They have forgotten then purchased and go to purchase again signed out. If we went straight to Checkout this would result in duplicate subscription. Without them being logged in we don't know if they want to checkout or not.
I had a £330 payment come in via the payment link and I got charged £5 (I think that is very steep)
Payment link, in the UK
Hello guys, I struggle to save a card during payment as documented here : https://stripe.com/docs/payments/save-during-payment I always get this error No such customer: 'cus_Jj4IpmqUlVnmq9' . FYI I create the intentPayment for a connected stripe Account. What is wrong ? thanks
Learn how to save card details during a payment.
@oak tinsel Gotcha - the fees vary depending on which payment method is used by your customer, but to understand how fees work I'd recommend contact support:
https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Ok cool, I will take a look at that link. Which way would you say is the best to avoid high fees?
@hexed cove That's a standard account and the relevent event predates your webhook endpoint, that's why you didnt see it
but it was generated
@hexed cove For a standard account though the account holder would resolve this with Stripe directly, and you're not involved much (beyond perhaps letting them know)
@daring lodge ok so they called Stripe and Stripe says it's not pending, but on the dashboard it says it is 'INFO. Pending Verification - Personal ID Number'. So in these cases we just tell them to call Stripe?
You can review the detailed pricing for each payment method for your country here: https://stripe.com/pricing#pricing-details
Thanks for the heads up on that. I'll fill it out. (This seemed like a common use case for subscriptions, not wanting to have duplicate subs on a single email. Since Stripe already has the email address, we expected Checkout to be able to check against it for us so we don't have to have an extra step. For API stuff, we know we're doing a lot of offroading. For something more integrated like this, we expected to be able to do some customization of business rules for screens we can't control.)
Well that account is a test mode account created by what looks like your development account, but generally yes. Standard account would work with Stripe to handle identity verification.
Actually, could you fill out that feedback for us? I can't seem to figure out how to fill out that form for a feature request.
@median pawn Yep, I can flag internally
Do product folks ever take feedback directly? Any way to chat with someone?
@median pawn Not typically, no. Sometimes product teams will reach out to some users and request feedback about something specific, but unsolicited incoming feedback is typically routed through support.
Understood. We'll go through our YC routes as well and see what pops. Really appreciate your help!
@median pawn Flagged your feedback internally. 🙂
Please help 🙂 thanks
Thank you!
Hey @glossy osprey sorry just a sec
@glossy osprey Is it the initial payment intent that you hit the issue? you mentioned its on a connected account, did you also create the customer on that connected account?
@glossy osprey when you create payment intent as the connected account, it doesnt have access to customers saved on your platform
Previously, I created a customer and attached a paymentMethod without payment. I could then create a paymentIntent for any connected account. I change my workflow because now attaching a payment method ask for 3D secure (transaction of 0€) which is not ideal. I would like to keep the old workflow but attach a payment method on the first payment
@glossy osprey sure that's fine, but are you creating the customers and payment methods on your platform or the connected account?
on my plateform
currently customer + attached paymentMethod are created on my platform. I create a clonedPaymentMethod (attach to the connect account) for paymentIntent. I would like to keep this workflow but create a paymentMethod without 3D secure
@glossy osprey Hmm i see. so you don't want to authenticate with a setup intent on your platform up front
I would like to skip an authentication upfront to any payment. It asks for a 0€ payment and bugs the customers
@daring lodge do you have a tip please ?
@glossy osprey This presents some challenges, as you'll need to attach the payment method to the platform customer in order to share it. If not authenticating centrally on your platform, you'll need to authenticate for each connected account.
@glossy osprey You really should use setup intents to authenticate up front, or you're likely to encounter issues later
Is there any hint to make it seamless without asking for 0€ before any paymentIntent is created
@glossy osprey If you intend to use the saved payment method with multiple connected accounts, then this really is the path we'd recommend
Hey all, is it possible to send extra query parameters along to a One Time Purchase url? IE: when using something like this -> https://buy.stripe.com/test_aEU6srgCu1yG3hC28a
@oblique mortar Nope.
I was hoping to send a parameter, and have the weebhook send it to my server.
@mighty hill Ah, shame.
@glossy osprey if you only need to use the PM with one connected account, but say you dont yet know which, you can create the PM at the platform level and not attach it to a customer. Then when you need it on the connected account you can consume the single-use unattached PM to create a shared PM for one connected account and use that with the PI and setup future usage, attach to the customer after the payment succeeds. It's something convoluted and limited, though.
@daring lodge Unfortunately the goal is to create PI for many accounts, and avoid authentication as much as possible. I understand that authenticate on our platform is mandatory, I just don't like the way it is made : asking for a payment of 0€ when the customer adds a card.
@glossy osprey That's a mechanism for communicating with your customers bank to get them to authenticate, but not collect any payment.
A simple message like "authentication needed" would be less disturbing for the customers.
@glossy osprey I'd suggest letting your customers know they may be asked to authenticate but be clear that no payment is collected before to trigger the flow, which should help set expectations. Each bank implements the authentication flow their own way, so you can't control whether they present the zero amount to the customer or not.
Thanks, that's what we do but it is not ideal
HI. I use Xero as an accounting platform. A customer made a payment using stripe and now I cannot access the payment - this was 3 weeks ago and prior to my stripe account being verified. The amount shows on Xero but there is no record of it in stripe - help!!
@muted adder I wish I could help, but this chat is focused on developers and technical questions. Our support team will be able to assist you better than I can: https://support.stripe.com/contact/email
Thanks.
@muted adder Good luck with it!
Hi, my boss just got this and gave me the api keys to implement in our webgl platform for unity.
@unique swallow Hello! What is "this"?
Stripe*
Oh thats gonna be interesting
My main question is after looking over all these documents, can i do this using websockets and call backs to verify purchase was successful to add the in gane currency. Or do we need to make a website backend and use that as a gateway.
IIRC, there’s an unofficial stripe plug-in in the Unity App Store
@unique swallow The Stripe API uses HTTP and REST; we don't expose access via websockets.
You should be able to make those calls directly from unity, without needing a website, but I’d strongly advise against it
@unique swallow You can find details about how the API works here: https://stripe.com/docs/api
@unique swallow Your secret API key is required to create Payment Intents and other payment-related objects, so you'll likely need a secure backend environment running custom code.
Non stripe web dev question
Why does my site redirect from the @ CNAME record (*.domain.com) by default to www.domain.com, but only does so in Firefox and Chrome. Using Safari doesn’t cause that
@meager oasis Uh, I dunno, that sounds strange. 😅 Can you share the domain here?
Discord picks what up?
Hi all!
I have one question for you... how can I delete a product if there is a price associated with?
@meager oasis When I go to that site in Chrome, Firefox, and Safari none of them get redirected to the www. version of the URL.
@meager oasis Does the issue happen in incognito mode? Maybe you have some funky browser extension doing it?
@mint shoal I don't believe you can.
@mint shoal If a Product has a Price that's been used it can't be deleted.
What time exactly did you access it?
Because I think I fixed the issue as you brought that up
@meager oasis Just a few moments before that message.
I had the serveralias set to www.domain.com
So I disabled that because www doesn’t resolve
Cool I have royally screwed up
Ok thanks, but Prices can't be dissociated from a product?
Is there a way to apply a promotional code to a user rather than to an order? It is very easy to apply a coupon to a user using a coupon ID, and I wanted to know if a promotional code can be redeemed in the same way (i.e. by simply "applying" the code similarly to how you'd use a coupon ID). The only example I could find of applying a promo code involved using a "subscription".
@mint shoal No, they can't. Can you tell me more about what you're trying to do?
Thanks @mighty hill, now learning that I know absolutely nil about Apache
And I’m screwed LMAO
@woven vale Hello! You can apply a Promotion Code to a Customer using this property on the Update Customer API: https://stripe.com/docs/api/customers/update#update_customer-promotion_code
@meager oasis Glad you figured it out, or at least the source of the problem. Also, could you tone down the colorful language? We like to keep it PG here. 🙂
Sorry about that! Will do! time to delete hundreds of angry Line comments
thank you! This is exactly what I was looking for
@mighty hill I'm trying to create a marketplace where costumers can create-modify-delete products dynamically
But if isn't possible in any way to delete a product with price associated i have to handle differently
@mint shoal It might be easier to keep the products database on your end exclusively and only supply the data to Stripe as needed.
Yes but if I want to delete a sold product?
One product can be sold only if there is a price associated
@mint shoal The Product and Price need to exist as part of the record of that sale. That's why they can't be deleted.
Ahh ok ok
@mint shoal For Products you don't want to use anymore you can set active to false: https://stripe.com/docs/api/products/update#update_product-active
@mint shoal Same for Prices: https://stripe.com/docs/api/prices/update#update_price-active
Ok so this might have something to do with my issue
So now I am able to apply my promotion code, but I need to use the promotion code ID (e.g. promo_somerandomletters) rather than the promo code itself (e.g. SUMMER50). The GET method for promo codes requires an ID - does this mean in order to apply a promo code, I need to get a list of all promo codes and match with the provided promo code to get the ID? Or is there an easier way?
tldr: can I easily get a promo code ID based on the promo code itself?
@woven vale Can you tell me what you're trying to do at a higher level? I want to make sure I give you the right advice.
our UI has a modal for the customer to enter a promotional code. If valid, we want to apply the associated coupon to the customer's account
@woven vale Like, you can list all Promotion Codes by code: https://stripe.com/docs/api/promotion_codes/list#list_promotion_code-code
But I'm worried about why you want to do this in the first place?
@woven vale Ah, okay, so that link above should work then.
oh 🤦♂️ I did not realize that List had the capability to filter