#dev-help

1 messages · Page 111 of 1

bold basalt
#

@cunning ember hello

cunning ember
#

hi @bold basalt

bold basalt
#

@cunning ember you just cancel the Subscription, did you give that a try? or did that not work for you?

cunning ember
#

it doesn't work for us

bold basalt
#

@cunning ember what error do you get

cunning ember
#

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

bold basalt
#

@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

cunning ember
#

We do not have issues with the regular cancel subscription on Stripe.

vocal wagon
#

How can I trigger a subscription to have the status of unpaid rather than past_due in the test env?

cunning ember
#

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

wild wyvern
#

@daring lodge still there? I have a request id for you - req_YKUS0cWcoPGGSH. Thanks!

bold basalt
#

@vocal wagon hello, that happens after all retries on a Subscription's Invoice fail, so it transitions from past_due to unpaid

daring lodge
daring lodge
#

@wild wyvern Can you try that same request without the stripe-account header?

dim hearth
#

@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

vocal wagon
vocal wagon
cunning ember
dim hearth
vocal wagon
#

Bonjour, quelqu'un du support parle français? Pour parler en privé

dim hearth
wild wyvern
dim hearth
#

@cunning ember For the future - it's perfectly safe to send over those object IDs in this channel 🙂

vocal wagon
#

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

dim hearth
#

@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?

wild wyvern
daring lodge
#

@wild wyvern so it made no difference?

wild wyvern
cunning ember
obsidian belfry
#

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

dim hearth
#

@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

patent marlin
#

@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!

dim hearth
obsidian belfry
#

yes

dim hearth
obsidian belfry
dim hearth
obsidian belfry
#

not sure what to do

dim hearth
#

@obsidian belfry What specific step are you having an issue with?

vocal wagon
obsidian belfry
dim hearth
#

@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?

vocal wagon
obsidian belfry
dim hearth
vocal wagon
dim hearth
# obsidian belfry It's the coding i'm not sure on how to do it all

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)

dim hearth
wild wyvern
#

@daring lodge hey just checking back in. were you still looking into this?

wild wyvern
mossy wren
#

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?

dim hearth
daring lodge
#

@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.

wild wyvern
torpid quiver
#

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.

mighty hill
torpid quiver
#

I don't understand this reason either!

mighty hill
cloud pasture
#

So payment intent doesnt need a from/to ?
I mean you create a payment intent on the server that goes automatically to your account ?

mighty hill
#

@cloud pasture Correct, it knows where the funds are going based on your API key.

cloud pasture
#

i see, are you able to set a different too ?

mighty hill
nimble parcel
#

hello everyone

mighty hill
#

@nimble parcel Hello!

nimble parcel
#

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.

mighty hill
#

@nimble parcel Is this in test mode?

nimble parcel
#

We are sending the below request body: Request Body
country: "US"
type: "custom"
capabilities[transfers][requested]: "true"
capabilities[card_payments][requested]: "true"

daring lodge
#

@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?

mighty hill
#

@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.

nimble parcel
#

This is in test mode we are cheking an integration using Postman

mighty hill
#

@nimble parcel Do the capabilities become available after a few minutes?

nimble parcel
#

No the capabilites are not becoming active after a day as well. Are we missing any step here?

shut blaze
#

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?

nimble parcel
cloud pasture
#

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 ?

mighty hill
#

@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?

shut blaze
daring lodge
#

@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

mighty hill
#

@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.

cloud pasture
#

So if i understand you right to fulfill on my side i would listen to payment_intent.success

mighty hill
#

@cloud pasture Yep, that's what I would recommend.

cloud pasture
#

alright and how should i redirect/not redirect on client ?

#

In other words can i trust stripe.confirmCardPayment 's results ?

mighty hill
#

@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.

cloud pasture
#

No not for fulfillment, rather for routing,

#

i cannot route based on webhook

wild wyvern
#

@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!!!!!

mighty hill
#

@cloud pasture What do you mean by "routing"? Where to send the customer you mean?

cloud pasture
#

as it is at the background

#

Yea

mighty hill
#

@cloud pasture Ah, yeah, then you would use the result from stripe.confirmCardPayment, yes.

daring lodge
#

@wild wyvern You're welcome -- thanks for your patience here! this is new stuff rolling out so i was pretty confused myself 😄

cloud pasture
#

So the results from confirmCardPayment are to be trusted, thanks

mighty hill
#

@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.

cloud pasture
#

if it is successfull that mean i can send the user to say thank you pay or show some kind of feedback

proper sundial
#

Hi guys, just got here from the IRC chat, looking to ask a question! Let me know if it's cool to post here

cloud pasture
#

the fulfilment ofc will be done using the webhook

mighty hill
#

@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.

cloud pasture
#

and in the next page/thank you page i can ask to see the result

mighty hill
#

@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?

cloud pasture
#

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 ?

nimble parcel
mighty hill
#

@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...

vocal wagon
#

I need help too 👋🏾 not about developing but it’s Skrill based.

proper sundial
#

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)

mighty hill
#

@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?

proper sundial
mighty hill
#

@proper sundial That sounds like a good approach!

proper sundial
broken marsh
#

Looking into setting up an account and was curious about he process and set up.

mighty hill
#

@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.

broken marsh
#

@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.

mighty hill
#

@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?

broken marsh
#

@mighty hill I understand I'll try and communicate with them as see what they say. Thank you.

vocal wagon
#

Where can I ask for other help>

#

Since mailing clearly doesn't work.

mighty hill
#

@vocal wagon You can contact our support team here: https://support.stripe.com/contact/email

vocal wagon
#

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.

solid kraken
#

Hi, how can I retrieve unit amount from volume-based price using API?

nimble parcel
#

Also how long will it take to do the KYC?

daring lodge
#

@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.

daring lodge
solid kraken
#

@daring lodge i need this values using api

daring lodge
# solid kraken <@!837053243242446919> 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

solid kraken
#

@daring lodge thx

daring lodge
#

np!

stable pagoda
#

im using the cardElement mount, can i change layout him?

fair shuttle
#

How is a merchant account blocked?

daring lodge
#

@stable pagoda what are you trying to change about it?

#

@fair shuttle What do you mean?

stable pagoda
#

This function create a input with cvv and validation.. I would like to split into 3 fields

fair shuttle
#

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.

daring lodge
fair shuttle
#

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.

daring lodge
#

@fair shuttle we can help with account specific questions like that here please see #help or contact https://support.stripe.com/contact for assistance

fair shuttle
#

@daring lodge thank you ! love the discord family!!!

dapper solstice
#

Hi is anyone here to help me?

bold basalt
#

@dapper solstice hello, sure what is your question

dapper solstice
#

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

bold basalt
#

@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.

next iris
#

^^ Good question, I've wondered the same as I am a sole trader and have no business premises

dapper solstice
#

God... 😦

#

Who can answer this question...

#

Oh

bold basalt
#

@dapper solstice I just told you, the Stripe Support team

dapper solstice
#

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

bold basalt
#

@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.

wispy zinc
#

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?

bold basalt
#

@wispy zinc hello! I think I know, this is PaymentRequest Button right?

wispy zinc
#

Correct.

bold basalt
#

@wispy zinc what total.amount are you passing to the PaymentRequest

#

@wispy zinc it looks like you're passing amount: 5 right?

wispy zinc
#

@bold basalt correct.

bold basalt
#

@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.

wispy zinc
#

So I should pass in a number as 5.00 or 20.00 instead?

bold basalt
#

@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

wispy zinc
#

Ah gotcha, ok cool. Sounds good

#

Thank you 🙏

vocal wagon
#

@dapper solstice you got a chamber of commerce?

dapper solstice
#

What does that mean Papi?

vocal wagon
#

Like you are a registered company?

#

@dapper solstice

dapper solstice
#

No

#

Not yet

vocal wagon
#

Come PM’s @dapper solstice

sharp marten
#

can i add bank acc from jordan

dim hearth
fast mantle
#

I can confirm that Jordan bank accounts aren't supported

dim hearth
deft wren
#

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

deft wren
#

sorry LLC

deft wren
dim hearth
#

@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)

fast mantle
deft wren
#

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

deft wren
dim hearth
deft wren
vestal trench
#

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.

dim hearth
vestal trench
#

@dim hearth through the API

dim hearth
#

@vestal trench Gotcha - do you have an API request I could take a look at?

weak linden
#

Hi All! Quick question--what is the easiest way to have a monthly Subscription's first payment be a month from the start date

dim hearth
#

@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?

weak linden
#

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

vestal trench
#

@dim hearth I can DM you the request I am making, Or I can send you the id of the connected account in question

dim hearth
#

@vestal trench If you have a request ID it's perfectly safe to send here 🙂

fast mantle
fringe hemlock
#

How can i close my account bc i close it but there’s still a acc name hyper thats open

dim hearth
fringe hemlock
#

Been trying to close this for the longest

fast mantle
# fringe hemlock

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.

vestal trench
#

@dim hearth finally found a request id

#

req_qVfWhDLjDcWn1l

fringe hemlock
fast mantle
#

You can DM to me

vestal trench
#

@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

dim hearth
# vestal trench req_qVfWhDLjDcWn1l

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)

vestal trench
#

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

dim hearth
vestal trench
#

haha ok that sucks

#

we will have to update hundreds of accounts manually

dim hearth
#

@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

vestal trench
#

ok thanks

fringe hemlock
#

Should i try a delete the hyper account from the api somehow?

dim hearth
fringe hemlock
dim hearth
#

@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

fringe hemlock
#

Okay

weak linden
#

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?

dim hearth
weak linden
#

sub_JilvvBcVlkDZje

#

is a test subscription

cloud pasture
#

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

dim hearth
weak linden
#

i am looking for it in test mode under payments

dim hearth
#

@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

weak linden
dim hearth
cloud pasture
#

yea

#

Found it

#

for some reason it wasnt in the list

#

so i put the customerId direwctly in the URL

#

and it worked

dim hearth
#

@cloud pasture awesome! weird that it wasn't showing up before...

meager oasis
#

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

dim hearth
cloud pasture
#

How do you delete a payment method ?

#

detuch ?

dim hearth
#

@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

cloud pasture
#

Thanks

#

I assume as the platform i can detuch a customer payment method yea ?

bleak breach
cloud pasture
#

I am looking on this

#

i dont see anywhere i specify the customer id

bleak breach
#

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

cloud pasture
#

Ah noice

shut blaze
#

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

upbeat lark
meager oasis
#

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

upbeat lark
#

So what's the process for banks, the refund status will be pending for 30 days ?

stark tide
#

that's not entirely true

#

refunds can fail after being marked successful (though it's very rare)

meager oasis
stark tide
#

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"

meager oasis
#

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.

stark tide
#

this process all happens via flatfiles exchanged via sftp, though 😛

upbeat lark
#

ok, that's good to know. Not a big deal, I can modify my code to handle late refund rejection.

stark tide
#

it takes a couple days for everything to percolate through

stark tide
#

another fun one is if there's fraudulent charge made in eg: USD, where the cardholder's account is in eg: CAD

meager oasis
stark tide
#

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

meager oasis
#

The FX could result in an overpayment to the consumer, right?

upbeat lark
stark tide
#

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)

meager oasis
#

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

stark tide
#

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

meager oasis
#

Each game has 2 dongles

#

1 for game data, 1 for account identification

#

they know what account numbers to expect from a location

stark tide
#

locations are required to have Fixed IP addresses on routers installed by konami

#

what

meager oasis
#

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

simple mantle
#

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.

bleak breach
#

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

simple mantle
bleak breach
#

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

simple mantle
#

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

bleak breach
#

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

simple mantle
#

but i have users from 100+ countries, it means i have to create 100+ checkoutsessions (equal to number of countries)?

bleak breach
#

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

simple mantle
#

so finally you mean we need to use currency conversion Api?

bleak breach
#

You don't have to, but I'd recommend it if you want to be accurate

simple mantle
bleak breach
simple mantle
#

this is the stripe screen, it there any reference code for this?

bleak breach
#

For FX? No that's something you need a 3rd party API for

simple mantle
#

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

bleak breach
#

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

simple mantle
#

ok thanks, want to suggest any good conversion api ?

bleak breach
#

None I can have enough experience with to recommend unfortunately

simple mantle
bleak breach
#

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

simple mantle
#

ok thanks for your help

exotic rain
#

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.

bleak breach
median hull
#

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.

bleak breach
#

If you provide a PaymentMethod when creating the subscription then the first invoice created will automatically attempt to use that PaymentMethod

median hull
#

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 ?

bleak breach
#

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

median hull
#

Ah thanks

exotic rain
bleak breach
#

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:

  1. Create a subscription with a 9 month recurring Price
  2. After 9 months a new invoice is created, when it's paid update the subscription to have a 3 month trial period
  3. 9 months after the trial period has completed an invoice is automatically created again and you repeat step 2
vocal wagon
#

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)?

bleak breach
#

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

vocal wagon
sturdy tree
#

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',
]);```

languid sapphire
#

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.

bleak breach
bleak breach
bleak breach
vocal wagon
vocal wagon
#

@bleak breach

cerulean pineBOT
#

: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

bleak breach
#

@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

pseudo remnant
#

rWebhook get the response from Stripe , do we need to return any status ?

solid ocean
#

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.

vocal wagon
#

If I cancel a subscription like so

      $this->_stripeClient->subscriptions->cancel(
                $subscriptionId,
                [
                    'prorate' => true
                ]
            );

Would that prevent any unpaid invoices from retrying payment too?

crimson needle
#

@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

simple mantle
#

I have done stripe integration and also able to get regional language in checkout, but How to get regional currency from browser?

crimson needle
#

@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

simple mantle
#

it is resolved now, thanks

crimson needle
#

awesome!

full falcon
#

Integration with Active Campaign: When mapping fields from Stripe to AC, Stripe is not populating fields related to Address. Any thoughts?

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!

full falcon
#

@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?

crimson needle
bitter lotus
#

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

cerulean pineBOT
#

: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

smoky lark
#

Is there any way to save a card to a customer after a payment intent has been created or charged?

bitter lotus
#

It says my password is wrong every time, and i have reset it 6 times now!!

crimson needle
#

@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
#

Thanks

smoky lark
hollow prairie
hollow sand
#

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 prairie
hollow sand
smoky lark
hollow prairie
#

@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

hollow sand
hollow prairie
#

@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 🙂

smoky lark
hollow prairie
#

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

smoky lark
#

@hollow prairie ok, I'll explore options for adding to customer object later. Thanks.

bleak quartz
#

Hi, guys! I was wondering , is it possible to get the total amount directly calculated from graduated tiers?

junior ivy
#

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?

junior ivy
hollow prairie
#

@bleak quartz Hey! There's no specific endpoint to calculate this, no. What is it you're looking to do exactly?

meager hawk
#

@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.

bleak quartz
#

@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.

junior ivy
hollow prairie
#

@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?

meager hawk
#

@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.

junior ivy
#

okay @meager hawk .. Thank you

smoky lark
hollow prairie
#

@smoky lark default_source isn't really applicable here as you're working with PaymentMethod objects, not Sources

smoky lark
# hollow prairie <@!678071174873219102> `default_source` isn't really applicable here as you're w...

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?

hollow prairie
#

@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.

smoky lark
hollow prairie
#

@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.

smoky lark
hollow prairie
#

@smoky lark Np!

chilly night
#

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

full falcon
#

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?

meager hawk
#

@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

full falcon
#

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)

meager hawk
#

@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!

full falcon
#

I'm literally using everything inside of Stripe ... It's their form

meager hawk
#

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.

pearl crow
#

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?

meager hawk
pearl crow
#

Great, I'll check that out.. is there any doc I can read about possible breaking changes after updating to the new version?

meager hawk
#

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

full falcon
meager hawk
junior ivy
pearl crow
#

@meager hawk Thanks!

rigid ridge
#

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

meager hawk
#

@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.

full falcon
#

@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)

meager hawk
#

@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

junior ivy
#

Thank you

meager hawk
#

@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

rigid ridge
#

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?

meager hawk
#

@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.

exotic rain
#

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.

smoky lark
# hollow prairie <@!678071174873219102> Np!

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?

exotic rain
#

see image for reference

meager hawk
hollow prairie
#

@smoky lark I don't, so right now I would build your integration assuming that functionality won't be available via Elements

languid dew
#

Hey there, is there anything we can do to have a response sooner for Stripe Tax access ? Thanks

exotic rain
#

Hi @meager hawk
Actually i have disable it but still it is calculating

meager hawk
#

@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?

hollow prairie
#

@languid dew Hi! Generally no, just a case of waiting I'm afraid

exotic rain
#

let me show you the code @meager hawk
please confirm is it right way to update the existing subscription price?

meager hawk
#

@exotic rain that looks right yes.

exotic rain
#

@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?

meager hawk
#

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

languid dew
meager hawk
#

@languid dew that's a product decision we can't really comment on here, no!

exotic rain
#

Thanks @meager hawk and
can I also manually delete the proration items from stripe?

meager hawk
cedar ingot
#

👋🏻 Hi there!

❓ Is it possible to add a thank you page URL to a Payment Link?

😊 Thanks in advance!

bleak quartz
#

@hollow prairie thank you very much sir.

vocal wagon
#

I can ask here about my Strippe account?

hollow prairie
#

@cedar ingot Hello! That's not currently possible I'm afraid

cerulean pineBOT
#

: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

cedar ingot
meager hawk
#

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

cedar ingot
#

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

meager hawk
#

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.

cedar ingot
#

Okok, thanks again

chilly night
sick talon
empty summit
#

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?

tulip pelican
#

Pessimos, bloquearam minha conta sem motivo e ainda estão com meu dinheiro.

#

horrivel vocês

sick talon
tulip pelican
#

nem adianta pessimo atendimento

#

sempre com resposta padrão

#

nunca resolve so falam que estão verificando

cerulean pineBOT
#

: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

tulip pelican
#

desonestos

empty summit
#

this is what is on my dashboard

#

what does uncaptured mean?

sick talon
empty summit
#

here is one of the IDS

sick talon
empty summit
#

src_1J5Fd7BGY1NWwIo80oXMFszK

sick talon
#

thanks

exotic spoke
#

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

sick talon
empty summit
#

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?

sick talon
chilly night
#

so, if I'm not using checkout, I can't get a mandate and not using bacs debit?

sick talon
sick talon
chilly night
#

yes, I'm on support right now and for now, I got more answers from you guys here than there

pure crane
#

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"?

sick talon
pure crane
#

ah perfect, thanks for the link !

lyric iris
#

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?

sick talon
lyric iris
#

Awesome. Thanks for the flexibility.

#

I actually have the first question here, do I just ask directly in this chat?

glossy osprey
#

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

lyric iris
#

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?

smoky lark
#

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?

sick talon
sick talon
glossy osprey
trail pond
#

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?

sick talon
#

@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

trail pond
#

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:/

sick talon
#

@trail pond If you get blocked by that again, let us know here and we can find your email to support and escalate it.

trail pond
lyric iris
# sick talon There isn't an API but you can replace the `gb` in https://stripe.com/gb/pricing...

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?

sick talon
crimson needle
#

@trail pond 👋 I work for Stripe too with @sick talon. Let's DM so that you can give me some details

lyric iris
# sick talon If you are calculating and charging the fees _after_ the payment, you can see th...

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?

jade pier
#

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

chilly night
#

@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?

sick talon
sick talon
crimson needle
#

you're not supposed to use OBO or direct charges with recipients right?

sick talon
jade pier
sick talon
#

We are aware of the desire to use OBO with Subscriptions though, we're working on it

lyric iris
sick talon
#

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)

lyric iris
twin cairn
#

Hi Guys, I need help to save card information within Customer object at the time of PaymentIntent create (Server)

sick talon
#

(but you'd need to provide the rates)

lyric iris
#

OK thanks Turbotime - (Awesome screenname btw!)

empty summit
#

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

sick talon
sick talon
jade pier
twin cairn
#

I'm trying to add these parameters but saying unknown attributes

#

off_session: true,

sick talon
twin cairn
#

I mean unknown parameters

sick talon
twin cairn
#

@sick talon Okay wait

jade pier
sick talon
#

It's in the works, if that helps

twin cairn
#

@sick talon req_ko0doARHNIBqhL

#

this is another one req_CSkmfg2EHK86yY

jade pier
sick talon
twin cairn
#

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

sick talon
twin cairn
#

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

sick talon
twin cairn
#

Okay I did

#

I'm using Ruby gem to create payment Intent btw

#

Stripe::Checkout::Session.create

sick talon
twin cairn
#

Yeah, Yes

#

sorry might be I'm not fully awake due to the issue 🙂

sick talon
# twin cairn Yeah, Yes

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

near onyx
#

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!

sick talon
#

you just don't try to activate them and they're fine for test mode

twin cairn
#

@sick talon suppose if I don't have customer_id at this stage, reason customer is not existing at this state.

sick talon
shadow cobalt
#

Hi are there any solutions to take payments over the phone other than terminals

shut blaze
#

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

cerulean pineBOT
#

: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

sick talon
twin cairn
#

@sick talon but what happen to credit card information that customers fills on checkout?

#

I want that by default to assign that new customer

sick talon
twin cairn
#

I don't want any custom code or call to update that later

sick talon
shut blaze
#

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

twin cairn
#

@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.

near onyx
shut blaze
#

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)

twin cairn
#

during this whole process I don't have email available to create customer first.

#

my customers enters email only on Stripe Checkout page

sick talon
sick talon
twin cairn
#

is there any way that entered card details get attached to this new customer automatically?

sick talon
twin cairn
#

Email could be anything, those email are from my customers

sick talon
shut blaze
near onyx
#

@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?

sick talon
sick talon
viscid burrow
#

is it possible to merge two Stripe Customers when a duplicate record is created? Stripe:Customer.merge('cus_a','cus_b')

twin cairn
#

@sick talon but I'm getting blank Array

sick talon
sick talon
near onyx
viscid burrow
#

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?

sick talon
# viscid burrow Do you have a "remember me" or something yet that is live and will allow an exis...

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.

twin cairn
#

@sick talon wait please

viscid burrow
#

@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.

spring zealot
#

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?

viscid burrow
#

@sick talon - will "Link with Stripe" pass the original customer ID on payment 2,3,4.... in the webhook?

sick talon
viscid burrow
#

And is Link with Stripe a live feature?

sick talon
# viscid burrow And is Link with Stripe a live feature?
viscid burrow
#

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?

twin cairn
#

here is request ID req_dfRViKR776ynwJ

sick talon
viscid burrow
#

Hmmm. OK.

charred sparrow
#

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"

viscid burrow
#

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?

twin cairn
#

@sick talon Do you need anything else to check, why I'm getting blank array?

sick talon
twin cairn
#

Shall I pass like this setup_future_usage: true

sick talon
# viscid burrow And does that mean if my account is set to USD, but a person is in India, that t...

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

sick talon
# charred sparrow Hello All, I am trying to connect P400 terminal through native android sdk I am ...
twin cairn
#

@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
}

sick talon
twin cairn
#

Do I need to pass another parameter to this cause, I did this already and getting, unknow parameter

viscid burrow
#

OK, what does enable global payments do?

#

And do you have docs on that

sick talon
viscid burrow
#

Stripe Sessions

sick talon
# viscid burrow 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

viscid burrow
#

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?
vocal wagon
#

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

viscid burrow
#

It sometimes adds "US" to dollar amount. Is there a way to avoid this?

twin cairn
#

@sick talon Received unknown parameter: setup_future_usage

#

this is what I'm getting

#

here is req_CSkmfg2EHK86yY

sick talon
twin cairn
#

Okay let me check this one as well, thanks

viscid burrow
#

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.

sick talon
cerulean pineBOT
#

: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

sick talon
fresh badger
#

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

sick talon
fresh badger
#

@sick talon ok thanks, that was my assumption

sick talon
#

What's the id of that request where you get the error?

viscid burrow
#

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?

sick talon
# viscid burrow Since legacy Checkout is deprecated, can we move customers using :billing_anchor...

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)

cosmic tide
#

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?

cloud pasture
#

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 ?

stark tide
#

@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

cosmic tide
stark tide
#

nope - it's free to create an account. fees are only on livemode charges

cosmic tide
#

perfect, thanks for your help

stark tide
#

np!

vocal wagon
#

i must change address of residance. how do it?

#

I can't change the state. the way is clear.

dim hearth
vocal wagon
#

thank

viscid burrow
#

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?

dim hearth
#

@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?

viscid burrow
#

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?

dim hearth
#

@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
#

Is there billing_cycle_anchor on New Checkout?

#

In the session?

dim hearth
#

@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

viscid burrow
#

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?

dim hearth
#

@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

viscid burrow
#

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"

twin cairn
#

@sick talon thanks a lot, it worked actually.

#

Good day!

oak tinsel
#

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.

dim hearth
viscid burrow
#

Aha! OK, interesting. That might work. Let me look at that.

dim hearth
#

@oak tinsel Hello! What specific issues are you having?

oak tinsel
dim hearth
#

@oak tinsel Do you want to accept apple pay on the web, or in a native ios app?

oak tinsel
oak tinsel
dim hearth
#

@oak tinsel So what stripe product are you looking to use? Payment links? Invoicing/billing? Checkout?

oak tinsel
edgy axle
#

@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)

oak tinsel
dim hearth
#

@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

oak tinsel
dim hearth
dim hearth
#

@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

river estuary
#

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

cerulean pineBOT
#

: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

dim hearth
#

@oak tinsel I have DMs disabled, so I sent a friend request - if you accept then I can DM

twilit vale
#

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.

dim hearth
#

@twilit vale We prefer not to respond in DMs unless necessary - how are you integrated with stripe?

twilit vale
#

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.

dim hearth
#

@twilit vale Are you using Checkout? Elements?

twilit vale
#

Don't know either of those, for the client we're using wordpress

dim hearth
#

@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

twilit vale
#

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

dim hearth
#

@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?

twilit vale
#

Payment link yes, from the Stripe admin

#

We made a product, for which we can then send a payment link for subscription

dim hearth
twilit vale
#

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?

dim hearth
vestal trench
#

Hi is it possible to create an application fee with a transfer rather than a charge?

dim hearth
#

@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?

vestal trench
#

@dim hearth thats what im doing I was just hoping to do it with a fee for book keeping purposes

ionic dagger
#

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

vestal trench
#

i dont exactly know who is charged and when they are charged for an instant payout

ionic dagger
#

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,
});
}
});

dim hearth
#

@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

ionic dagger
#

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

dim hearth
ionic dagger
#

@dim hearth thanks a lot let me try that out

hoary frigate
#

Hello, Stripe has paused my account due to business info - but it's not letting me update my business info (owner info)

dim hearth
cerulean pineBOT
#

: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

fast mantle
#

@vestal trench The cost of the instant payout is applied to the platform account, not to the connected account's balance

vestal trench
#

@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?

hoary frigate
#

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.

vestal trench
#

@fast mantle perfect and when is that charged?

warm rose
#

Hey guys does anyone know how one could setup a one-time payment and recurring subscription payment through WP-Forms and Stripe?

dim hearth
#

@hoary frigate I would strongly suggest contacting support - we are unable to help with account-specific questions here

fast mantle
vestal trench
#

ok so it does it like immediately after the payout

#

great, thank you

dim hearth
#

@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.

warm rose
#

@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?

vestal trench
#

@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

dim hearth
#

@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)

warm rose
#

@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.

dim hearth
vestal trench
#

@fast mantle if it shows up as a stripe fee I am definitely not seeing any in our transactions

dim hearth
#

@vestal trench I don't know off the top of my head, but let me see if I can find where they should be

warm rose
#

Thanks @dim hearth

dim hearth
#

@vestal trench Do you see the instant payout fee if you look at the payout itself?

vestal trench
#

@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

versed helm
#

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?

dim hearth
#

@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

vestal trench
#

@dim hearth hmmm i dont see balance under reports, maybe i just dont have access

dim hearth
#

@vestal trench When you click "Reports", Balance will not be in the side bar, it'll be on the page (see screenshot)

warm rose
#

Can someone shed some light if there is a difference between between recurring billing vs subscriptions?

vestal trench
#

@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?

dim hearth
#

@vestal trench I believe these get aggregated on a monthly basis.

vestal trench
#

@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?

pallid sable
#

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

dim hearth
#

@vestal trench Yeah, that's expected - they're only reflected in the reports, not on the transactions page

quaint briar
#

Do you guys accept Retailers of single player, digital video game modifications.

dim hearth
pallid sable
mighty hill
#

@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

pallid sable
#

Awesome! Will study this link, thank you

ivory sky
#

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 🙏

mighty hill
#

@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.

ivory sky
#

Thanks @mighty hill One more question, where can I find this "test mode"? I think I need to create Express accounts

vocal wagon
#

hello there

mighty hill
#

@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!

vocal wagon
#

i just got a payment true my website for the forst time with stripe but it said my account its not eleigible ???

mighty hill
#

@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

vocal wagon
#

but the email said my money are coming in my account in 5 day..

#

ah ok

#

i undestand

ivory sky
mighty hill
#

@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.

ivory sky
#

Here is how it looks like for me.

mighty hill
#

@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.

deft ruin
#

Quick question, how long can a stripe webhook process before its considered "Timed out"

mighty hill
bleak prairie
#

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?

mighty hill
#

@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.

deft ruin
#

@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"

mighty hill
#

@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.

bleak prairie
#

@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)?

mighty hill
#

@bleak prairie Yep! I recommend the former; no point in even creating the Checkout Session if you don't want/need it.

gleaming urchin
#

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?

mighty hill
#

@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?

daring lodge
#

howdy folks

gleaming urchin
#

@mighty hill gotcha

#

@mighty hill thanks!

median pawn
vocal wagon
#

Awesome

#

interesting

mighty hill
#

@median pawn Can you tell me more about your use case? Why is it a deal breaker exactly?

daring lodge
hexed cove
#

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?

median pawn
daring lodge
#

@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.

hexed cove
#

@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?

mighty hill
#

@median pawn Can you describe your desired flow in more detail? What exactly would the steps be in your ideal scenario?

median pawn
oak tinsel
#

Hey, can someone help me with stripe fees?

median pawn
#

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.

hexed cove
daring lodge
# median pawn We don't want to add the extra step up front to make the user input their email ...

@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

oak tinsel
ivory sky
mighty hill
#

@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?

hexed cove
median pawn
#

We have folks visiting the site who are not signed in but do have an account.

mighty hill
#

@ivory sky You would need to contact the plugin developer and ask them about adding support for test mode and next steps/workarounds.

hexed cove
mighty hill
#

@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

hexed cove
#

ACH is .8% up to $5 max

daring lodge
bleak prairie
#

@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.

oak tinsel
glossy osprey
daring lodge
# oak tinsel Payment link, in the UK

@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

oak tinsel
daring lodge
#

@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)

hexed cove
#

@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?

daring lodge
median pawn
# mighty hill <@!633401330467340289> Oh, i see what you're saying. Gotcha. I can file that f...

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.)

daring lodge
median pawn
mighty hill
#

@median pawn Yep, I can flag internally

median pawn
mighty hill
#

@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.

median pawn
mighty hill
#

@median pawn Flagged your feedback internally. 🙂

daring lodge
#

Hey @glossy osprey sorry just a sec

daring lodge
#

@glossy osprey when you create payment intent as the connected account, it doesnt have access to customers saved on your platform

glossy osprey
#

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

daring lodge
glossy osprey
#

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

daring lodge
#

@glossy osprey Hmm i see. so you don't want to authenticate with a setup intent on your platform up front

glossy osprey
#

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 ?

daring lodge
#

@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

glossy osprey
#

Is there any hint to make it seamless without asking for 0€ before any paymentIntent is created

daring lodge
#

@glossy osprey If you intend to use the saved payment method with multiple connected accounts, then this really is the path we'd recommend

oblique mortar
mighty hill
#

@oblique mortar Nope.

oblique mortar
#

I was hoping to send a parameter, and have the weebhook send it to my server.

#

@mighty hill Ah, shame.

daring lodge
#

@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.

glossy osprey
#

@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.

daring lodge
glossy osprey
#

A simple message like "authentication needed" would be less disturbing for the customers.

daring lodge
#

@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.

glossy osprey
#

Thanks, that's what we do but it is not ideal

muted adder
#

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!!

mighty hill
#

@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

muted adder
#

Thanks.

mighty hill
#

@muted adder Good luck with it!

unique swallow
#

Hi, my boss just got this and gave me the api keys to implement in our webgl platform for unity.

mighty hill
#

@unique swallow Hello! What is "this"?

unique swallow
#

Stripe*

meager oasis
#

Oh thats gonna be interesting

unique swallow
#

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.

meager oasis
#

IIRC, there’s an unofficial stripe plug-in in the Unity App Store

mighty hill
#

@unique swallow The Stripe API uses HTTP and REST; we don't expose access via websockets.

meager oasis
#

You should be able to make those calls directly from unity, without needing a website, but I’d strongly advise against it

mighty hill
#

@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.

unique swallow
#

Alright that was my primary question, backend it is.

#

Thank you

meager oasis
#

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

mighty hill
#

@meager oasis Uh, I dunno, that sounds strange. 😅 Can you share the domain here?

mighty hill
#

Discord picks what up?

meager oasis
#

The metadata

#

And the existence of the site

mint shoal
#

Hi all!
I have one question for you... how can I delete a product if there is a price associated with?

mighty hill
#

@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.

meager oasis
#

Because I think I fixed the issue as you brought that up

mighty hill
#

@meager oasis Just a few moments before that message.

meager oasis
#

So I disabled that because www doesn’t resolve

#

Cool I have royally screwed up

mint shoal
#

Ok thanks, but Prices can't be dissociated from a product?

woven vale
#

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".

mighty hill
#

@mint shoal No, they can't. Can you tell me more about what you're trying to do?

meager oasis
#

Thanks @mighty hill, now learning that I know absolutely nil about Apache

#

And I’m screwed LMAO

mighty hill
#

@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. 🙂

meager oasis
woven vale
mint shoal
#

@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

mighty hill
#

@mint shoal It might be easier to keep the products database on your end exclusively and only supply the data to Stripe as needed.

mint shoal
#

Yes but if I want to delete a sold product?
One product can be sold only if there is a price associated

mighty hill
#

@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.

mint shoal
#

Ahh ok ok

mighty hill
mint shoal
#

oh right! Thank you so much

#

stay tuned for other doubts 🙂

meager oasis
#

Ok so this might have something to do with my issue

woven vale
#

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?

mighty hill
#

@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.

woven vale
#

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

mighty hill
#

@woven vale Ah, okay, so that link above should work then.

woven vale
#

oh 🤦‍♂️ I did not realize that List had the capability to filter

meager oasis
#

Well I’ve got a new issue (bear with me, i don’t have a rubber duck on me)

#

I can curl the domain from the server terminal, but can’t access it from the outside at all now

#

(Speaking of rubber ducks, there’s stripes next piece of swag: rubber ducks with 4242 on them)

mighty hill
#

@meager oasis I can curl it just fine.

#

@meager oasis

> GET / HTTP/1.1
> Host: crestonvalleyfoodactioncoalition.ca
> User-Agent: curl/7.64.1
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Wed, 23 Jun 2021 23:09:35 GMT
< Server: Apache