#dev-help

1 messages · Page 110 of 1

cloud pasture
#

paul i read that, didnt see the boarder, i assume i will have to style the classes

bleak breach
#

That means that the webhook signature appears to be unavailable. You'd usually get this with the line $_SERVER['HTTP_STRIPE_SIGNATURE']. I'd double check that you aren't stripping the request of its headers before it gets to your webhook validation code

spare sedge
#

hey all, I have one question. I'm planning to have an automatic payout system, similar to that with Google AdSense, built into my own app. This would be used to pay the designers selling their work on my platform. However, I'm seeing that Stripe's automatic payout system isn't supported in India

#

Any options?

bleak breach
#

Hi @spare sedge, what makes you think that Payouts don't work in India?

spare sedge
#

I had read it somewhere in an article on Stripe

#

Has that changed?

bleak breach
#

Can you specify where? Payouts have always been available for Indian accounts. Are you thinking of instant Payouts perhaps?

spare sedge
#

I'm not sure, I'm very new to Stripe. I'm looking for a solution to convert in-app currency into payments for designers as and when they "check-out"

#

I'm looking at Stripe Connect, would that do the job?

bleak breach
#

Yes that would be the way to pay out to bank accounts that don't belong to you

spare sedge
#

Okay, I will check that out. Thank you!

#

Any way to use Stripe Connect with Flutter?

bleak breach
#

Connect should be supported with the above

spare sedge
#

All I can find is the example code, and so far, no tutorials online on how to use Stripe Connect with that package

meager oasis
#

Stripe connect payouts would have to be completed from the backend IIRC

spare sedge
#

Ah okay. Also, is it possible to not have the initial step of first collecting payments? My app uses in-app currencies, so it needs to go through the Google Play Purchases system. Is it possible to directly pay out to designers without having to receive payments first (of course, assuming there is money in the Stripe account)?

meager oasis
#

Absolutely, they still have to go through the same on-boarding though

spare sedge
#

Cool, thanks!

spare sedge
#

It says "only available for US accounts", so what I'm trying to achieve wouldn't be possible since I live in India, right?

bleak breach
#

@spare sedge what's the URL of that docs page?

spare sedge
bleak breach
#

top-ups specifically are a US only feature, but paying out is available in India

shrewd fulcrum
#

Hey i wanted to ask that when stripe send invoice to customer then can we know that payment will automatically deduct from user card or not?

bleak breach
shrewd fulcrum
#

it will work with both one time and subscription plans?

bleak breach
#

@shrewd fulcrum For one time payments you should use payment_intent.succeeded. For subscriptions you should use invoice.paid

spare sedge
bleak breach
meager oasis
spare sedge
#

Right, so it's not possible to add money to my Stripe account balance manually, and then pay it out auto-magically to the Stripe accounts of designers?

meager oasis
#

Sadly, no, but what you can do is use stripe to accept payments via Google Pay

#

And use that to pay designers

#

Because Google might refuse your app for using IAPs for Real World Transacfions

spare sedge
#

Okay so my app is an abstract wallpapers app. Designers can sell their work there and users can set that work as a device wallpaper. No physical items are ever sold, so I would assume it would be breaking Google Play policy to use Stripe and bypass IAP

shrewd fulcrum
#

@bleak breach After sending the stripe invoice to customer of the subscription plan with a trial period of 90days and within the time period of 90days, will the user gets charged for the subscription cost automatically if stripe already has it's card details?

spare sedge
meager oasis
bleak breach
#

(Caveat: Google/Apple's IAP system is draconian, here be dragons) If you're selling something that's not necessarily linked to the app (e.g. an app subscription or a no-ad mode) then you might be able to use Stripe for these transactions. If for instance you also have a website where you can buy the same items then you might be okay. The only ones who can really tell you for sure are Google in this case

meager oasis
bleak breach
spare sedge
spare sedge
#

It's all built using Flutter so the code won't change for iOS. For web it won't be too hard

bleak breach
#

It's possible, but really we can only speculate. Only Apple/Google can tell you for sure if this is something that they'd allow you to use Stripe for

meager oasis
#

Yeah no it’ll be easy, but considering that these wallpapers are designed for the device, probably not

#

Especially considering how strict apples definition of “reader apps” are

spare sedge
#

Right now can I just dial up Sundar Pichai, ask him, "yo what's up bro can you not take 15% of my money thanksssss"

#

y'know Tim Cook too, got his number, definitely

bleak breach
#

Yes, and while you're on the phone with him please ask him to bring back XL versions of pixel phones

spare sedge
#

yeah yeah definitely

#

looks like I'm gonna have to resort to monthly manual payments through something like Xoom

#

gonna be a pain but looks like I'm out of options

bleak breach
#

and tell Cook that I want my damn F keys back on my laptop

spare sedge
meager oasis
spare sedge
meager oasis
meager oasis
#

It’s located immediately after the D key

spare sedge
#

But doing the calculation the price per wallpaper sale is so low it's almost like a scam

meager oasis
#

Paying per wallpaper might also just be a bad idea in general

spare sedge
#

Yeah it's gonna be more like the way adsense works

meager oasis
#

Gives you no buffer in the event of refunds or chargebacks

spare sedge
#

where you need a threshold amount in your account to get paid

bleak breach
#

Depending on how much you intend to charge for these you're probably going to get hit hard with fees

meager oasis
#

Oh yeah

#

Everyone’s gonna slap you with fees

spare sedge
#

yep that's why working around that, I'm using in app currency that has to be purchased in integral multiples of 32

#

with each wallpaper priced between 0-8 of that currency

#

otherwise if i had to have an in app purchase for every time you purchased a wallpaper, that fees would be astronomical

meager oasis
#

30% just to exist

bleak breach
spare sedge
#

yeah i dont think i'd be able to use stripe for my purposes unfortunately

#

anyone know how i can contact google play support? i can't find any contact info anywhere

meager oasis
#

Uhh I have an email somewhere

spare sedge
#

maybe i can check in with them and see if i can use stripe for my in-app currency since i have to pay vendors/designers in the end

meager oasis
#

I think you have to put a in request here

#

I rarely deal with android

spare sedge
#

i tried contacting through that a few months ago. the support staff has no idea what they're talking about

meager oasis
#

I stick to iOS

meager oasis
gaunt lark
bleak breach
gaunt lark
pure crane
#

Hi, I'm using card elements. About input validation, I'm able to display the Stripe error when any of card number, expiration of cvc is filled and invalid. I'm using the change event for that. How can I get the Stripe error to know when one of the input fields is empty? I would like to get the empty error message before to call "confirmCardPayment" method.

mellow spear
#

@pure crane Hi! You could probably consider it empty until you've received a change event I guess? I don't think there's a specific event for 'empty' or anything.

pure crane
mellow spear
#

I'm not really sure - I'm not sure offhand what logic is applied there.

sturdy flower
#

#dev-help i am having issue with payments, all payments going as a subscription, how to change it to a normal payment ?

#

i tried to change mode to payment but nothing changed

bleak breach
#

@sturdy flower Are you using Checkout?

sturdy flower
#

no, i integrated to webpage form.

bleak breach
sturdy flower
#

where is mentioned payment type ? i couldn't find it

bleak breach
#

If you just want to accept one-off payments then you should use one of the earlier links instead

sturdy flower
#

okay thanks

unique nova
#

更新された同じ番号のクレジットカードが発行されている場合、サブスクリプションの顧客でカード有効期限が到来するとどうなりますか?

bleak breach
#

Hi @unique nova, this is an English language Discord and unfortunately I don't speak Japanese. If you need Japanese language support I suggest you reach out to Stripe support directly: https://support.stripe.com/contact

unique nova
#

Ok thanks

timber kernel
#

#dev-help
I have an existing onboarding flow setup for custom accounts for Stripe connect using the connect onboarding provided by stripe. I need to request for enabling additional verifications for my connect onboarding flow. As mentioned in the following link, https://stripe.com/docs/connect/additional-verifications#get-started.

As of now, I am not able to test out the additional verifications with my already setup flow as this has been an invite only feature. I want to know if its possible to test out this invite only feature under test mode so that I can have an idea about what all it takes programatically to link this feature.

bleak breach
#

Hi @timber kernel, unfortunately you can't use those new features without first receiving an invite. I suggest you shoot the email in that docs page a message outlining your use case

bleak breach
timber kernel
#

Sure, will have a look. Actually, I am afraid that integrating this will need us to consume a seperate set of APIs for identity verification unlike what it used to be earlier when KYC was a part of the Connect Onboarding for onboarding custom accounts using Stripe Connect.

#

I wanted to have an idea if the existing setup that used to take care of the verifications could still be used after requesting for this invite only feature so that it doesn't break the existing flow that our application has

bleak breach
#

For the connect specific flow you'd need to email to ask for access

timber kernel
willow estuary
#

#dev-help Hopefully someone can help - we've found what I believe is a bug that needs to be reported in the balance.available webhook system.

We've just recieved a webhook notification that states there's balance availible (hence the event name), but when you drill down into the data payload, there's no amounts shown. When we look in depth at the Stripe account, we can see there were funds made availible then so the webhook was wrong in the amounts shown

bleak breach
#

Hi @willow estuary can you share the event ID?

willow estuary
velvet bridge
#

Hey there, I get an error when I try to call to confirmCardPayment function from react code, the error is : Uncaught (in promise) IntegrationError: We could not retrieve data from the specified Element.
Please make sure the Element you are attempting to use is still mounted.

hollow prairie
#

@velvet bridge Hey! Are you able to share the code where you call confirmCardPayment?

pure crane
#

Hi, I would like some advice considering direct communication between client browser to Stripe. After having created an intent on the server, the client performs direct call to the Stripe api using the 'confirmCardPayment'. Then I have my server waiting for webhook events to confirm the payment on the server. Once the server receive this event, my order cannot be ordered again because the cart is cleaned. My concern is if the server doesn't receive for any reason the webhook event. How can I protect me that a given order can only be paid once? Thanks for advice

gaunt crescent
#

Hi!
I have a negative balance on my account. How can I see a detail of what this pending balance would be? (disputes, refunds)

hollow prairie
#

@pure crane Hello! This asynchronous payment approach is our recommend path, especially now as SCA rollout broadens in Europe. Do you have any specific concerns about our webhooks or your server being unreachable?

crimson needle
#

@gaunt crescent Discord is for developers to ask questions about their integration or code. This is more an account support question so I'd recommend talking to our support team directly. I'm not sure which export is best to reconcile this though I'm assuming you'd look at the Balances tab in your Dashbord and export recent transactions

velvet bridge
#

@hollow prairie const result = await stripeObject.confirmCardPayment(stripeClientSecretKey, {
payment_method: {
card: stripeElementsObject.getElement(CardNumberElement),
billing_details: this.getBillingDetails(),
},
});

  if (result.error) {
   // handle error
  } else {
    if (result.paymentIntent.status === 'succeeded') {
      // handle succeeded
    }
pure crane
hollow prairie
#

@velvet bridge Thanks! Nothing stands out as non-standard here. How are you adding Stripe and Elements to your components? Via the injectStripe HOC or a Elements provider?

meager oasis
hollow prairie
#

@pure crane We recommend the async payment flow (via webhook fulfilment) because of the potential drop-off from your users after completing any required SCA actions. In any synchronous flows, users leaving the payment flow prior to synchronous confirmation would result in potential non-payment. See here: https://stripe.com/docs/payments/accept-a-payment-synchronously

velvet bridge
#

@hollow prairie I found the issue, it is because I did nextPage() before that, Thanks

hollow prairie
#

@velvet bridge Glad to hear you're unblocked!

median hull
#

Hello 🙂. If I have a PaymentMethod of type='card' and I modify the billing details using stripe.PaymentMethod.modify() will stripe validate the postcode, line1 as it does in the Card obj with stripe.Customer.modify_source() ?

crimson needle
#

@median hull it's never a guarantee that we do an auth with the bank, but yes it works the same way on both APIs

median hull
#

Thanks!

maiden solar
#

I cant access my dashboard, is there an issue with Stripe today?

bleak breach
maiden solar
#

thankyou

vocal wagon
#

Hi I have the same problem, thanks for your answer

hollow prairie
#

@vocal wagon Hey. We're still working on it. Apologies! Will let you know once resolved.

azure kernel
#

fix cors headers on cdn

hollow prairie
shrewd fulcrum
#

Hey can we edit the invoice in stripe? so we can send them our customized written invoice ?

pure crane
#

@hollow prairie Thank you for you response. It is still not really clear for me how I should prevent multiple payment for the same order (mainly because of this direct call to Stripe from the client). Currently, when the user land on the checkout page and submit the payment, I create each time one new payment intent and then I confirm the payment using the secret. Does it makes sense? What I would like to ensure is once an intempt linked to one order id is sent to Stripe, all the further attempt will be skipped. Currently until the webhook confirmation, client can try other pay attempts over the same order.

hollow prairie
#

@shrewd fulcrum Otherwise you'd need to disable our invoicing and send your own using our events

shrewd fulcrum
#

Okay i will check @hollow prairie thanks

#

Can we remove this pay now button in invoice?

#

@hollow prairie ?

vocal wagon
#

Hi guys, is there a technical issue your side? We cannot access Stripe from any of our devices at any of our locations at the moment, simply getting a blank page that will not load up.

hollow prairie
#

@shrewd fulcrum Is that a PDF or the hosted invoice page?

vocal wagon
#

No apologies needed, I will keep my eyes peeled for any updates. Thank you for getting back to me so fast!

hollow prairie
#

Np!

shrewd fulcrum
hollow prairie
#

Right, but is it in an email or on the invoice page (URL)? Either way I don't believe that can be removed, no

shrewd fulcrum
#

Here check at bottom, it's from stripe

hollow prairie
#

@shrewd fulcrum I can't see the attachment

bronze pumice
#

hello

hollow prairie
#

@bronze pumice Hey

bronze pumice
#

just created one account today

#

im from UAE dubai

#

i got one message from your side for mismatch in the name on the ID

shrewd fulcrum
#

check image @hollow prairie

hollow prairie
#

@shrewd fulcrum Yeah you can't remove the pay button. You'd need to manage your own invoices if you wanted to control that

shrewd fulcrum
#

Okay

hollow prairie
charred sparrow
#

Hi

hollow prairie
#

@charred sparrow Hey!

charred sparrow
#

I have gone through the documention in ehich I can find example sdk .I have wisepad terminal . But when I try to discover reader I am not able to find the th wisepad reader

#

can ypu help me with this

exotic rain
#

Hi developers

hollow prairie
#

@charred sparrow What specific example are you using? Are you following any documentation?

#

@exotic rain Hey

charred sparrow
#

I am trying a connection with in person Payment terminal with native android app

hollow prairie
vocal wagon
#

hello, i have a problem. I need to migrate subscriptions from Chargebee to stripe and i want migrate cancelled subscriptions.. but i cant create subscription that ended in past. How can i do that?

exotic rain
#

Hi i need a help, actually i want to update the price of existing subscriptions. So i have gone through many resources but i didn't find the required answer. So can i update the existing subscriptions price

charred sparrow
#

yeah I have followed the steps, here in discover configuration we have DeviceType.Chipper option

#

and aI have kept simulated to false

crimson needle
#

@vocal wagon that's just not possible to do with Stripe. You can't import canceled/old subscriptions. Only new/existing ones.

charred sparrow
#

but I am not able to find my BBPOS wisepad in the list

vocal wagon
#

but i have to do that 😄 there must be some option to do that

crimson needle
#

@vocal wagon there is not. That is impossible

vocal wagon
#

i need them to save paid days from past

#

if i will not move them, then i will get thousands of tickets on support

crimson needle
#

@exotic rain you can't change the amount associated with a Price. You will need to create a new/different Price with the new amount first. Then, you will update every individual subscription to change the current Price (the old one) to the new Price

hollow prairie
#

@charred sparrow This is difficult to debug here, can I please ask you write in to support? If you can provide as much context as possible we can help look into it further: https://support.stripe.com/contact

vocal wagon
#

on my application

crimson needle
#

@vocal wagon I don't really follow what that could mean I'm sorry. If the subscription is expired/canceled, it means it ended and all days have been "consumed". Otherwise the subscription would still be active during this period.
Ultimately what you asked about, that is impossible. You can't create a canceled/expired subscription in our API. It's not something we support as we only support represent active subscriptions.
Now if what you want is to import a subscription that has been paid recently and will cancel after a certain period in the future, then that's possible

exotic rain
#

Thanks @crimson needle

charred sparrow
#

I just need confiramation If the android sdk works with BBPOS Wisepad aswell?

crimson needle
#

@charred sparrow they should work yes. Sorry Terminal can be finicky to debug and it's not my expertise

humble light
#

Anyone familiar with this stacktrace?

[2021-06-17 07:49:20] main.ERROR: Magento2 v2.5.7: #0 /<snip>/<snip>/public_html/magento2/vendor/stripe/stripe-php/lib/Exception/InvalidRequestException.php(35): Stripe\Exception\ApiErrorException::factory() #1 /<snip>/<snip>/<snip>/magento2/vendor/stripe/stripe-php/lib/ApiRequestor.php(189): Stripe\Exception\InvalidRequestException::factory() #2 /<snip>/<snip>/<snip>/magento2/vendor/stripe/stripe-php/lib/ApiRequestor.php(151): Stripe\ApiRequestor::_specificAPIError()

Snipped some paths.

crimson needle
#

@humble light that just implies something is making a request that sends bad/invalid params to me. Do you have more details like an error message for example? Do you see any errors in https://dashboard.stripe.com/logs ?

daring lodge
#

@charred sparrow which device model do you have?

humble light
#

Yes, we have a payment_intent_error ongoing for some time now and struggle to find rootcause.

M2 v2.4.2
Stripe v2.5.8 (latest)
stripe-php latest ver
We configured webhooks automtically via Magento 2 backend

@koopajah#9102

daring lodge
#

@charred sparrow The wisepad 3?

humble light
#

I'm on phone right now sorry if I don't provide full details. But that's the short version.

#

MariaDB 10.5.9

crimson needle
#

@humble light yeah unfortunately I need more specific details. What matters here is the exact error you get. The rest is mostly not relevant I would say

humble light
#

Alright

charred sparrow
#

yes its wisepad 3

humble light
#

Can we continue it in PM and I send you some more info on the problem?

#

If you are okay with that

crimson needle
#

@humble light no you should discuss here and share more details once you have the relevant information like an exact error message and request id (req_123)

daring lodge
#

@charred sparrow You should have received links to the docs for that device and a beta support email address to contact for assistance, but yes from what I can see the Android & ios SDKs support the device.

humble light
#

Okay, I'll provide more information later, thanks koopa

charred sparrow
#

@daring lodge Yeah I have tried that , in the code we dicover config in which we have only DEVICETYPE.CHIPPER2X option

#

@daring lodge and we are not getting reader list when discoverReaded function is called

daring lodge
#

@charred sparrow have tried what?

#

@charred sparrow What version of the SDK are you using?

charred sparrow
#

@daring lodge Android sdks provided in the documents

#

@daring lodge 1.0.22

daring lodge
#

@charred sparrow That's not going to work then - part of the beta docs you received include instructions on using the v2.0 SDK beta release.

#

@charred sparrow You need to contact the beta support email address you were provided for more assistance with this device

#

@charred sparrow BUt I'd suggest first reviewing the materials you were provided to see if it helps to address this issue

pure crane
#

How can we prevent that a new payment method is created even if the same card number/exp/cvc is used? (using confirmCardPayment method)

charred sparrow
#

@daring lodge Oh Thanks.. sure I will check with them for beta release

crimson needle
#

@pure crane we're working on exactly that feature today and hope to ship it in the next few months. But until then, you'll always get a new pm_12345 even for the same card details. You would use fingerprint to de-duplicate card details as it'd be a string that uniquely represents that card number in the account

pure crane
pure crane
#

Is it correct that to handle the default payment method of a customer, I have to use customer.invoice_settings.default_payment_method define in the Stripe customer ? So any time I add a new payment method and I want to flag it as the default method, it is a specifc call to the customer api?

daring lodge
#

@pure crane If you want that payment method to be used as the default for invoices and subscriptions that pay automatically and don't specificy a different PM explicitly, then yes, that's correct to update that customer setting

pure crane
magic dagger
#

Hello folks! I've asked this question before and would like to follow up on it after doing a bit more digging: we are a platform that customers use to connect to Stripe and make online payments. I was wondering if there was a way to get a list of charges for all connected accounts over a specified period of time, but turns out I cannot do that. I was told that I can get a list of charges per Stripe account, but looking at the Stripe API, it only allows me to specify a customer_id. My next question is, how are accounts and customers related and how I can accomplish what I'm set to do? Thanks in advance!

daring lodge
# pure crane In fact what I try to solve is that each time I get the customer payment method ...

@pure crane that's up to you -- just be aware that the customer setting is only for invoices/subscriptions. For one-time payment intents you always need to specify a payment_method explicitly. You could use the customer setting for convenience if you already load the customer from Stripe, but this can affect subscriptions if you have them. this might be something better suited to store in your own system, if you have more specific needs.

daring lodge
magic dagger
daring lodge
#

@magic dagger Sure, but are you using destination charges or direct charges? If you're using direct charges, you'd be making API requests again authenticating as each connected account in order to retrieve the lists of charges.

magic dagger
daring lodge
magic dagger
daring lodge
#

No problem! happy to help out

charred sparrow
#

Hi , is there any android beta version SDK available for P400 terminal

daring lodge
#

@charred sparrow The beta SDK release still supports the P400 - it's the same SDK

#

Thought there may be some changes required for an existing integration -- these are addressed in the beta release docs

dire quarry
#

Sorry guys having issues with subscriptions, when a failed payment, it's still creating an active subscription for the customer? Anyone point me in the right direction? Thanks

daring lodge
#

@dire quarry Can you say a bit more? How are you creating these subscriptions? Do you have an example subscription/request? What do you expect to happen instead?

dire quarry
#

@daring lodge sorry quite new to stripe. I am using .net, when a customer wants to use multiplay, we create a subscription schedule, this works fine when the payment is successful. When the payment fails it still creates the sub and will try the payment again a month later, instead I want to cancel the subscription completely so they don't get charge. Hope that makes a bit more sense mate

daring lodge
#

@dire quarry Did you build this integration yourself, or are you using third party tools?

#

Can you share an example subscription ID that's not behaving how you expect?

slate kite
#

we have recently had a spate of disputes raised from someone repeatedly placing orders with numerous different cards. other than enabling 3ds for every single payment, does anybody have any clever Radar rules we could consider?

daring lodge
#

@slate kite If this appears to be programmatic, you could consider adding a CAPTCHA to your payment flow:
https://stripe.com/docs/card-testing#captcha
if you have identified patterns in the requests for the payments you may be able to configure some custom rules with Radar for Fraud Teams:
https://stripe.com/docs/radar/rules/reference#supported-attributes
But you should probably reach out to support to describe in detail what you see and what you suspect is happening to see about any more specific recommendations.
https://support.stripe.com/contact

dire quarry
#

@daring lodge ok to post sub IDs here or DM them?

daring lodge
#

@dire quarry here please, a sub id like sub_123 is safe to share

slate kite
#

@daring lodge thanks! yeah. it's not programmatic. how should i reach out? i did open a support chat and they pointed me to this discord.

dire quarry
#

@daring lodge sub_sched_1J3mFpKHMXCcrj1e45Cj7HJJ

sub_sched_1J3mGyKHMXCcrj1enK8p4uq9

daring lodge
#

@slate kite Emailing in to support to share specific example of fraudulent payments will be your best best, but as i said if you have identified specific patterns and want to know which rules you can try using to impact those we can try to help more here.

#

@dire quarry Thanks, but this example does not appear to match what you described. This is a schedule you create last week set to start a new subscription mid-July. There is no subscription created yet, and therefore no payments. Are you expecting something else to happen here?

#

@dire quarry or, alternatively, do you have a different example of a subscription with active status like you described?

dire quarry
#

@daring lodge my apologies it may have been the way I described it, ideally I wouldn't want the new subscription to start in July as the card had already failed for the first payment

vocal wagon
#

Has anyone else started experiencing issues with vue-stripe-elements-plus? We have suddenly started having issues verifying a credit card before we create the payment.

daring lodge
#

@dire quarry you're describing a failure for this example? What indicates to you there was a payment attempt at all?

#

@dire quarry or if you're extrapolating from a separate example with a failed payment, please share that example

dire quarry
#

@daring lodge when checking the dashboard for the customer it is showing a failed payment for £44.89 then an invoice due 18th July for £19.99

daring lodge
#

@dire quarry What's the ID of that failed payment?

#

@vocal wagon hey there - what sort of issues are you having? That's a community provided library that might be best to ask in their github issues, but I can try to help. Do you happen to have a repro of this behaviour in test mode in a fiddle or codesandbox we can inspect?

#

@dire quarry if you have the ID i can look, but it's unrelated to the subscription creation you scheduled, because there are no payments for the(non-existent) subscription, yet.

#

@dire quarry there might be failures for other subscriptions, or one-off payments, but how you handle these for your customer is a choice for you to make

ripe spindle
#

Hi all, apologies if this isn't the place for this question but I'm not having much luck with customer support. I'm a developer at a company that facilitates payments from Customers to Connect accounts via Stripe, neither side has dashboard access or much awareness of Stripe. We recently got a new feature request for our users using Connect accounts to be able to desposit funds into any number of different bank accounts. These users are companies with various locations, all operating under the same business entity. In some situations, all the locations will use one bank account, in others the locations could all have their own bank accounts, but they are all the same business (operating under one Connect account).

After several days in the docs and some experiments I've realized there's no easy way to do this. I thought at first I could just specify a destination bank in the PaymentIntent API, then I realized this is only possible via manual Payouts. Which is not great, but makes sense and we can make work easily. The thing that really threw a wrench in our plans is refunds. Apparently when you do a Refund through Stripe, the funds are always debited from the default bank account for the Connect account, which basically means we can't support this multiple bank accounts feature. Reason being there's no expectation of a true default bank for the business.

What I'm hoping you guys can tell me is if I'm wrong about anything above, or if you could offer some guidance as to how we could change our integration to support payouts and refunds to specific bank accounts. The only other thing I think I could do is set up multiple connect accounts, one for each bank, but then things become very fragmented and we can run into things like having to do multiple KYC updates that are all updating the same information split across multiple Connect accounts.

Sorry this is so long! Hope you guys can help.

vocal wagon
#

Hi, how can i get stripe payment fees in payment webhooks? i can see them in the online portal and in payout reports, but not in any webhook. any idea? many thanks

dire quarry
#

@daring lodge would that be the payment intent Id?

daring lodge
#

@ripe spindle hey there - reading through this, bear with me

#

@dire quarry yes exactly, pi_123 etc

dire quarry
#

@daring lodge pi_1J3mGzKHMXCcrj1effUimFb9

daring lodge
#

@ripe spindle This kind of routing to specific bank accounts where multiple are set up for a given account is not really a supported flow. While you can set up multiple accounts for a given currency, the default is used for payouts etc:
https://stripe.com/docs/connect/payouts-bank-accounts#multiple-accounts
What you're describing sounds more like a use case for separate connected accounts each with their own bank account. you can control the destination stripe account for payments including splitting payments to multiple accounts using "separate charges and transfers" but you can't split payouts within a single connected account to multiple external bank accounts.
https://stripe.com/docs/connect/charges-transfers

normal sun
#

where do I find my connected account and currency code?

ripe spindle
# daring lodge <@!856548321829453864> This kind of routing to specific bank accounts where mult...

That's what I was afraid of, but it makes sense. So it sounds like we just need to create a new connect account every time we need a new bank account. The only thing that will be an issue there other than the fragmentation is when Stripe changes KYC requirements, we will end up asking our Connect account users to update the same information multiple times. Currently we provide the KYC URL and let them update it via the Stripe built in. Sounds like we may have to roll our own because we don't really want to expose this problem to our users.

Thank you for confirming this is what we needed to do, must not be a very common problem!

daring lodge
#

@normal sun hey there - what are you trying to do?

normal sun
#

I try to link my online shop

#

My colleague who works in China said I need to provide secret key, publishable key, connected account and currency code for that.

daring lodge
#

@normal sun I'm not sure what you're trying to accomplish. What do you mean by link to your online shop?

#

@vocal wagon hello -- please don't use @here -- what's the issue you're seeing?

dire quarry
#

@daring lodge sorry mate did you happen to check the id - pi_1J3mGzKHMXCcrj1effUimFb9

daring lodge
#

@dire quarry ah i missed that earlier, thanks. let me check now

ripe spindle
gaunt lark
bold basalt
#

@gaunt lark hello! this is about the webhook signature verification issue, right?

daring lodge
#

@dire quarry this payment is associated with invoice in_1J3mGxKHMXCcrj1ej0UKKX5r which is a one-off invoice, unrelated to any subscription

daring lodge
#

@dire quarry you could remove the saved payment method if you wanted, or ask your customer to save new payment details and set up a new default

bold basalt
#

@Will gotcha, what are you using on your backend? a plugin or framework? or did you/your dev write your own integration?

daring lodge
gaunt lark
#

@bold basalt I'm using PrestaShop and it's an official module (plugin) from Stripe

bold basalt
#

@gaunt lark so I'm not super familiar with how that plugin is set up but I imagine it asked you to put in your webhook signing secret into the plugin at some point, is that right? (don't paste the signing secret here, just checking if you revealed your signing secret and pasted it in)

turbid garden
#

Hi, I am working on a platform which works on a pay as you go basis. Is there any way to configure automatic payments at the end of each month for variable amounts? Essentially something like subscriptions but with the amount changing as per use

bold basalt
#

@turbid garden hello! yes supported by creating one off PaymentIntents but your code would have to do that on say a cronjob (there isn't any way to "schedule" a one off payment)

turbid garden
#

Okieeee, got it! Thank you @bold basalt :p

gaunt lark
bold basalt
#

@gaunt lark yes the publishable and secret keys have to be added to the plugin but were there any steps around adding the webhook signing secret? let me check something one sec

gaunt lark
bold basalt
#

@gaunt lark its ok, I'd suggest you write in to Stripe Support at
https://support.stripe.com/contact. Please include example event IDs in your email where the STRIPE-SIGNATURE header was absent, so the team can look and investigate.

vocal wagon
#

Hi there, can anyone assist me in setting up oauth connect for standard accounts? When the client gets redirected to my uri_redirect they get a fatal error. When I check out what causes the error I get this error message: Backend fatal error: PHP Fatal error: Uncaught Error: Class 'Stripe\Stripe' not found in .....

bold basalt
#

@vocal wagon hello! it looks like your backend doesn't have Stripe PHP library set up right, I'd recommend digging into that and first setting that up correctly

safe fiber
#

hi team!

#

can i get some help with a weird account plese?

#

please

#

and by account i mean customer...

vocal wagon
#

@bold basalt after doing some research I thought the same. From what I see is that the stripe PHP library can be installed using two methods: the first one being using composer and the other one being manual. I am running my site on Wordpress so I would have to manually install the stripe php library, which I did. I downloaded the stripe.php from github (https://github.com/stripe/stripe-php) and extracted this into a folder in the backend. Something went wrong, because I still get the error. Any thoughts?

bold basalt
#

@safe fiber hello, sure pls ask

safe fiber
#

hi!

#

why are the events out of order?

#

and why were 1 invoices generated?

bold basalt
#

@vocal wagon I would debug this by creating a new file, setting up Stripe PHP and then doing something simple like creating a Customer in a PHP file to see if the Stripe specific files are being imported correctly

vocal wagon
#

@bold basalt I added this line: require_once('/path/to/stripe-php/init.php'); at the beginning of my code snippet for stripe connect for standard accounts

#

with the path I installed the init.php file in

bold basalt
#

@vocal wagon you have to include the real correct path, what you added was a "dummy" path

#

@safe fiber can you explain more what I should be looking at? which events, how are they out of order, etc?

safe fiber
#

if you look at the dates, they are out of order

quaint yacht
#

@bold basalt so my email was full and I think stripe blocked my email after to many returned emails.. can anyone assist?

bold basalt
#

@safe fiber dates on the Invoices? Events? the latest events or older ones? Just not sure what to look for

#

@quaint yacht account related questions are answered by Stripe Support at https://support.stripe.com/contact. For context, this channel can help if you have a coding/technical integration related question with Stripe's API.

quaint yacht
#

Ty

opal ferry
#

Hey guys.. We've been struggling with Stripe Elements (via stripe.js) for hours and our website remains unfunctional. The issue is that events (such as change, blur, ready) are never fired. We used a Vue wrapper library before, to rule out it was a problem with this library we wrote the entire thing up from scratch in pure JS (with pure Stripe Elements) and events still cannot fire.

this.instance = new Stripe('*******');
this.elements = this.instance.elements();
this.card = this.elements.create('card');
this.card.on('change', function() {
console.log('change!')
});
this.card.mount('#stripe-elements');

safe fiber
#

@bold basalt sorry hold on, just got pulled into a meeting

vocal wagon
#

@bold basalt how do I know what the real correct path is? I used the path in which I extracted the stripe.php file for the require_once line, but if I understand correctly this is not the correct path?

safe fiber
#

also i got dates mixed up

bold basalt
#

@vocal wagon I don't know how your server is set up but you need to point to the specific path where your init.php is digitally located in your server. The one you copy-pasted was an example path, it isn't a real path.

#

@opal ferry hello, one sec

#

@opal ferry CardElement is being mounted correctly, right? (just checking what exactly you're seeing)

opal ferry
#

@bold basalt Yes, it's mounted and visible 🙂

safe fiber
#

@bold basalt actually i guess i just want to understand what this "early fraud warning" thing is for this customer

vocal wagon
#

Hello, I have a question for any Stripe dev able to answer it regarding Stripe Connect (Standard accounts and Direct charges):

Can you make it so that it is the BUYER paying for the application fees / Stripe fees?

bold basalt
#

@safe fiber where do you see that EFW, I'm on that Subscription page on the Dashboard, don't see it there

#

@vocal wagon hello

vocal wagon
#

Same model, just charging the buyer instead of the seller for the application and Stripe fees, so that the seller receives the full $10.00 in the end.

safe fiber
bold basalt
#

@vocal wagon yes you can charge the customer an additional amount that covers the application fee that you're taking out. Fee it isn't possible to cover entirely as it is a proportion of the total payment amount

safe fiber
bold basalt
vocal wagon
#

@bold basalt So I can only simulate this behavior, for example by charging the customer $101.23, but I can’t do it directly with any Stripe product, right?

safe fiber
#

oh... so the fact that there are 2 payments in the list is not that we tried to charge that invoice twice?

bold basalt
#

@vocal wagon "I can’t do it directly with any Stripe product, right?" -> not sure what you mean here

opal ferry
#

@bold basalt No stress.. Just wanted to make sure you saw that I do see the Card Element properly mounted.. For good measure I tried to commenting the line away, and the object disappeared.. So for some reason events aren't fired, but everything else works perfectly fine

safe fiber
#

the payment tagged as EFW is actually the customer initiating dispute?

bold basalt
#

@safe fiber not my best area but I think it is them flagging for fraud, the dispute might happen as a side effect of that fraud flag

#

@opal ferry yep was looking, one sec

vocal wagon
#

@bold basalt Sorry, can I charge and application fee as a fixed currency amount + %?

For example, can my application fee be “3% + $0.30”

bold basalt
#

@vocal wagon yes it can be, your code determines the amount to charge ultimately

hidden snow
#

Hi, I have a strange issue with Stripe Checkout v1, using the PHP library. Over the last few months far 2 or 3 customer got the green tick in the modal window but then no payment requested. Nothing shows up on the dashboard or in the logs. Their bank also confirmed that no payment was taken. The integration works perfectly fine for all other customers.
I have a hard time figuring out where to start debugging this. I have no access to the client's Stripe account.

vocal wagon
bold basalt
#

@hidden snow hello, the green tick basically means Stripe Checkout created a Token. The payment is created when your webpage sends that Token to your backend server to create a Charge. So I would debug there, look at your client-side and server-side logs to see what case the Token can be not sent to the server.

#

@vocal wagon (keeping the OAuth issue aside) if you add some code to the PHP file to just create a Stripe Customer and run that file, that would be the way to debug and see if your import works as expected (and the Stripe files are picked up).

bold basalt
#

@safe fiber yes

opal ferry
#

@bold basalt That is so strange... I have now compared the codes and they do match.. I suppose something else must be interfering with the event handlers then

vocal wagon
#

@bold basalt I noticed that the snippet doesn't accept this path /domains/mysite.com/public_html/wp-content/plugins/Stripe Connect/stripe-php-master/init.php. I get the error:

#

The code snippet you are trying to save produced a fatal error on line 1:

require_once(): Failed opening required '/domains/mysite.com/public_html/wp-content/plugins/Stripe Connect/stripe-php-master/init.php.' (include_path='.:/opt/alt/php72/usr/share/pear')

bold basalt
#

@opal ferry yeah it looks like it, your code seemed right and this should ideally work simply so I'd dig a bit more on your end and see what it could be. Like on a plain JS+HTML page, this should work.

hidden snow
bold basalt
#

@vocal wagon yeah not sure what the root issue there is, looks like the path is invalid, looks like an absolute<>relative path thing

#

@hidden snow yeah I'm not sure then, if you're using a module, I can't say what the module code is doing under the hood really. All it should be doing is making a client-side <> server-side call after Checkout creates a Token.

unique shuttle
#

I've noticed that the Stripe dashboard uses fields that aren't in the published API. Is that normal? They are fields I'd like to use. Specifically, on Customer, invoicing.email_to and invoicing.email_cc.

bold basalt
#

@unique shuttle hello, yes Dashboard uses some special API fields that aren't in the regular API. Those two email_* fields are a good example, those are Dashboard only and not intended for the public API currently

unique shuttle
#

@bold basalt Thank you for the reply!

vocal wagon
#

@bold basalt Okay I managed to fix the issue where I get the fatal error. However, when the client is redirected, the account is still not connected.

hidden snow
bold basalt
#

@vocal wagon can you add logs to your code? Log out whether your webpage is sending a request to your PHP endpoint, what data it is sending, whether your PHP code is connecting the account or hitting an error, etc. There's multiple things that could be happening, adding logs will help you understand what is

vocal wagon
#

This is the code I used:

require_once('/domains/mysite.com/public_html/wp-content/plugins/Stripe Connect/stripe-php-master/init.php');

if ( ! isset( $_GET['scope'] ) || empty( $_GET['scope'] ) || ! isset( $_GET['code'] ) || empty ( $_GET['code'] ) ) {
echo '<p>nothing happening here</p>';
} else {

// Set your secret key: remember to change this to your live secret key in production
// See your keys here: https://dashboard.stripe.com/account/apikeys
\Stripe\Stripe::setApiKey('my live key');

$response = \Stripe\OAuth::token([
  'grant_type' => 'authorization_code',
  'code' => $_GET['code'],
]);

// Access the connected account id in the response
$connected_account_id = $response->stripe_user_id;

}

bold basalt
#

@hidden snow I can't really say, like I don't think it would be device related, maybe there was an error on Charge creation that was being suppressed? maybe there was a temporary server network issue? like it could be any number of things

#

@vocal wagon yep I see what your code is doing but adding logs will help you identify how far your code is making it and where it is breaking. I can't walk through every part of your code for you so a lot of this troubleshooting will have to be done on your end. But adding logs like you did is a good first step. Is that "nothing happening" log being hit?

vocal wagon
bold basalt
#

@vocal wagon you would have to work with a developer who can help you then (maybe a friend who is comfortable with PHP) but a Connect integration is very developer intensive, so I can't really unblock/teach via a chat! But you're doing great so far in unblocking yourself!

vocal wagon
#

Okay thx I'll try to fix it myself

gaunt lark
hidden snow
dim hearth
hidden snow
dim hearth
#

@hidden snow You could, but it would probably require a large change to the way you're currently logging things client-side

molten bolt
#

is this a limitation of using a test/unactivated key

sick talon
molten bolt
#

@sick talon hey yea so im just in this case creating a checkout item

#

so in my .net code new Stripe.Checkout.SessionService();

sick talon
molten bolt
#

o0 can i give u a tokenID

sick talon
#

I'm not sure what you mean by a token id, there shouldn't be a Token involved here. Since you're working with a PaymentPage I would expect you to run into the error you're seeing when you actually try to redirect to Stripe Checkout. Are you following a specific tutorial?

molten bolt
#

so you are correct in saying that i do recive this error when redirtecting to the stripe checkout

#

the technology im using isnt directly covered by a specific tutorial

#

but im using an Azure Function

#

to return a Token iD to my client

#

which then uses it to talk to Stripe api

sick talon
molten bolt
#

im redirecting use stripe.js

#

sepreatly

#

im just trying to find the

#

er github link

sick talon
molten bolt
#

ah yes

#

here it is

#

sorry if im abit slow

#

im by no means an expert coder

sick talon
#

no worries

#

Have you replaced that pk_test_publishablekeyfromstripe in the tutorial you linked to with your own test publishable key?

molten bolt
#

yes

#

i can see the request come in \

#

in my events

#

log on the stripe dashbourd

sick talon
#

Which event type? checkout.session.created?

molten bolt
#

payment_intent.created

sick talon
#

That would be a result of the backend call, sure, but on the frontend after you create the CheckoutSession is where you're seeing an error.

molten bolt
#

yes sorry if im not being forcomming

sick talon
#

The part that's generating the error (from that page you linked) is here:

        var stripe = window.Stripe('pk_test_publishablekeyfromstripe');
 
        window.stripeCheckout = function (callBackInstance, amount, token) {
            stripe.redirectToCheckout({
                sessionId: token
            }).then(function (result) {
               // up to you
            })           
        };
</script>```
#

@molten bolt A 401 is almost always that you're not using your account's publishable key in the frontend code there (replacing pk_test_publishablekeyfromstripe with your own pk_test_ value from https://dashboard.stripe.com/test/apikeys)

molten bolt
#

ok double checking now

#

yes ok so you are correct @sick talon i have to work out here

#

how do get that in there correctlhy

dense basin
#

We're an online platform that uses Stripe to handle premium subscriptions. Most of our customers are teachers at schools. Most schools (definitely not the teachers) don't have credit cards for this sort of thing, they prefer to get a quote, then pay against a purchase order. The Stripe Free trial on a subscription requires a credit card. It's really put a dent in the number of schools signing up for the free trial. Can anyone think of any work arounds?

sick talon
#

@dense basin however, Stripe doesn't support purchase orders which is likely what you'd need for a school if they don't want to pay every single billing period until after it starts

dense basin
sick talon
sick talon
dense basin
#

The invoicing can be done in the dashboard and API

#

Spot on @sick talon

hybrid galleon
#

Hey there, I am having an issue sending receipts using PandaDoc and the Stripe integration. The issue I have is that when we get a payment started from PandaDoc we get the customer email, yet it will not pass along the email as the receipt_email. Any Idea how to fix this? Also sorry if this counts as an account issue.

molten bolt
#

@sick talon corect again i had to add it to the header section in my index.html

fair zinc
#

Has anyone successfully integrated Stripe.NET on the front end with Epicor P21 on the far-back end? If you have, I would love to pick your brain

mighty hill
#

@hybrid galleon Hello! I'm not familiar with PandaDoc, but it sounds like something they would need to change on their end. Can you provide more details?

dense basin
hybrid galleon
# mighty hill <@!844994267129970748> Hello! I'm not familiar with PandaDoc, but it sounds lik...

Lol, I have been told that is something they need to change for them to tell me that stripe needs to change it. PandaDoc is a form creator that lets you draft up agreements. Stripe is integrated as a payment type there. I think the problem is when we get the info from PandaDoc they have created a charged object and in that charge object it is not passing along the billing email as a receipt_email. Now what they told me is that stripe integration on their end doesn't ask for that other email field so that can't fix it.

hybrid galleon
mighty hill
hybrid galleon
hybrid galleon
fair zinc
#

Its not a horrible idea to do a process manually at least a couple of times, to then understand the ins and outs of a system. Then you can work on automating

mighty hill
#

@hybrid galleon Usually you would set up a webhook endpoint to listen for events that would trigger the update to the receipt_email. It's not a simple thing to build for someone who isn't a developer.

hybrid galleon
mighty hill
#

@dense basin @sick talon had to step away, but I'm happy to help! Can you tell me a bit more about where you're running into trouble? As mentioned earlier trials on Stripe Subscriptions don't require a payment method up front, and you can set a Subscription's collection_method to send_invoice which sounds like it might fit your use case: https://stripe.com/docs/api/subscriptions/create#create_subscription-collection_method

Can you provide specific details/concerns about that approach and why it will or will not work?

dense basin
#

This is some of the first we are hearing of that, and it's definitely encouraging news. I think some of our confusion came from this (see screenshot below). I think our developer delivered a actual SaaS subscription checkout, with a free trial on front. So yes, it doesn't let you start the trial until you enter card info because it wants to charge you on Day 91. Perhaps we have to avoid the billing portal and use the API instead to deliver just a free trial (no purchase necessary).

mighty hill
#

@dense basin Yeah, if you don't want to collect payment information up front you wouldn't use Checkout when creating the Subscription.

dense basin
#

That's perfectly fine, I think we focused too much on staying inside of this checkout/billing portal, which was the wrong move. Thanks so much @mighty hill @sick talon . Our developers that did the work left so we are just starting to look into it ourselves, learning a lot. Appreciate you all.

mighty hill
#

@dense basin Happy to help! If you need anything else just let us know!

wild wyvern
#

Hi! I was asking in Stripe's IRC chan how I can what bank account(s) are attached to a Connected Standard Account. When I perform an API call to list External Accounts for a Connected Standard Account, I get the following error: "You cannot perform this request as you do not have Platform Controls for Standard on the account." Is there a way to ask the user for permissions to enable us to view their attached bank account programmatically? We'd like to show the last 4 of their account number from within our app. Thanks!

mighty hill
#

@wild wyvern Hello again! You can't access this information from the platform for Standard connected accounts.

wild wyvern
#

ok thanks @mighty hill... was just getting thrown off a bit by the error message

mighty hill
#

@wild wyvern Yep, agree that error message could be a lot clearer. Will flag internally.

marble mason
#

Hi all, I need help, Is it required to generate payment method first in order to make a 1 time stripe charge?

mighty hill
#

@marble mason I think the answer to your question is yes, but I'm not sure I fully understand? Can you provide more details? How would you create a payment in Stripe if you don't provide payment method information?

marble mason
#

Well I am using nuxt right now

#

and I need to obtain that payment method at nuxt end to send it to my API which will communicate with stripe to do rest of stuff

#

But I am not sure which function is needed to be called to create payment method. Trust me every time I go to Stripe API Docs, it has seemed lot confusing and unclear.

#

Do I need to create session or intent for this purpose as well?

mighty hill
#

@marble mason Well, let's back up a bit. I'm not clear on what you're trying to build, so I can't tell you what to use to build it. Can you describe the payment flow you're trying to create?

marble mason
#

Okay it is a one off charge

#

Sort of ecommerce system

#

where people pay for an order

#

But I don't want stripe checkout page instead I want whole stripe form on my website's page

mighty hill
#

@marble mason Okay, sounds like you're using Stripe.js and Elements then, right?

marble mason
#

Exactly

mighty hill
#

@marble mason You call that with a Payment Intent's client secret, a reference to the Card Element, any other billing details you want to include, and it takes care of creating a Payment Method, confirming the Payment Intent with it, and handling authentication if required.

marble mason
#

So I need to create payment intent? Would my backend API send payment intent to my frontend? Or Stripe.js can create intent?

mighty hill
#

@marble mason Your backend code needs to create the Payment Intent and send its client secret to your frontend code.

marble mason
#

I see and for the subscription based stuff, we will need same payment intent as well?

mighty hill
#

@marble mason Subscriptions work a bit differently. Subscriptions generate Invoices, and those Invoices generate their own Payment Intents. Generally speaking you create a Subscription on your backend and then send the first Invoice's Payment Intent's client secret to your frontend to use with stripe.confirmCardPayment. We have a guide for this here: https://stripe.com/docs/billing/subscriptions/elements

marble mason
#

Oh thank you so much for guiding me through 🙂

mighty hill
#

@marble mason No problem, happy to help!

marble mason
#

One question, do you guys at strip has official plugin for Nuxt js?

#

or for Vue

#

stripe*

mighty hill
#

@marble mason Not currently, but I think something is being worked on. Let me check, hang on...

marble mason
#

Perfect!

#

Thanks

marble mason
#

Hi, @mighty hill , Is setup intent same as payment intent?

#

or they are different?

mighty hill
#

@marble mason They are different. Setup Intents are used to set up payment information for future use without taking payment now. Payment Intents can be used to set up payment information for future use as well (by setting setup_future_usage) but a Payment Intent is always associated with a payment.

#

@marble mason So, for example, if you wanted to save someone's payment info today and charge them $10 a week from now you'd use a Setup Intent.

On the other hand, if you wanted to charge someone $10 today and then charge them $10 again in a week you'd use a Payment Intent with setup_future_usage.

marble mason
#

So we can say that setup intent is more related to subscriptions thing while with payment intent we can charge someone at anytime?

mighty hill
#

@marble mason Setup Intents aren't only for Subscriptions (although Subscriptions sometimes use them, such as for free trial periods).

terse apex
#

Is there a way to get immidiate support for stripe the branchs are closed and i have a huge issue that i need resolved asap

#

I really appreciate anyone who can help me right now

mighty hill
terse apex
#

Am I able to dm you about my issue

mighty hill
#

@terse apex Stripe Support is available 24/7. That's not an issue we're able to help with here, so you should use the support link in my previous message.

terse apex
#

It shows as unavailable right now

mighty hill
terse apex
#

Since your a developer are you able to transfer customer data from one account to another

mighty hill
#

@terse apex We have a migrations team that may be able to help you transfer some info, but I'm not sure of the specifics.

terse apex
#

Ok I really appreciate it, its just a very time sensitive issue i have emailed support a day ago and havent heard back, lost about 2k today form it not being resolved.

#

I appreciate you trying to help though

mighty hill
#

@terse apex If you emailed yesterday they should be getting back to you shortly.

terse apex
#

Hopefully 🤞

peak dust
#

Hi. I need some help regarding payouts for my company. We have been integrating your platform on our running project which expects a high number daily. Than i saw your payout policy for Brazil and found it a little troublesome because of our market conversion. I need to know that before moving further.

mighty hill
#

@peak dust Hello! Need to know what?

peak dust
#

Do i need to really need to wait 30 days for payout? I thought it were a limitation when registering as a person and not as a company.

#

Since we do game development, our market moves pretty close to conversion. It’s troublesome that we can’t use the money to increase server performance and such.

mighty hill
#

@peak dust

30 calendar day
Applies to: Brazil
Payouts are made daily and contain payments processed thirty calendar days prior. For example, payments received on July 1st would be paid out on July 31st.

peak dust
#

I see. So, there’s nothing i can do about it?

mighty hill
#

@peak dust I don't think so, but I really don't know for sure. You should contact support and ask them if there's anything that can change regarding payout timing: https://support.stripe.com/contact/email

peak dust
thin echo
#

How do I get in contact with support besides an email

mighty hill
#

@thin echo Depending on various factors you may be able to chat with support or request a call in addition to emailing.

thin echo
#

That’s not working and I’ve already emailed and I got the typical rhetoric response

mighty hill
#

@thin echo Those are the only options available for contacting support. If the response you got doesn't address your issue you can reply and provide further details.

thin echo
#

I sent screenshots the whole 9 yards

#

Couple days ago was the first time I’ve ever been on the server

mighty hill
#

@thin echo What server?

thin echo
#

This one

mighty hill
#

@thin echo Sorry, I don't think I understand. I thought you were trying to contact support?

thin echo
#

Yes in regards to a company that stripe backs as far as payments

mighty hill
#

@thin echo This server is for the Stripe developer community. We're not support, and can only assist with development/code questions. What specifically is the issue you need help with?

thin echo
#

I sent a pair of sneakers to Sneaker Con have all the proof of it being delivered but I still haven’t got paid I will try to contact them several times and I’ve got absolutely nothing in return

mighty hill
#

@thin echo Unfortunately that's not something we can help you with here, and it's honestly not something Stripe Support would likely to be able to help you with either. You need to contact Sneaker Con for a resolution.

thin echo
#

Well that’s how I found you guys

#

Sorry

#

Thought I was doing the right thing

mighty hill
#

@thin echo No worries!

thin echo
#

Just not sure how to get a hold of this company who seems to be worldwide

mighty hill
#

@thin echo It sounds like Sneaker Con may use Stripe for payment processing, but if you have an issue with some kind of payment you need to contact the merchant.

thin echo
#

That’s the problem I’m getting nothing believe me I’ve tried

#

I would’ve never had to go to the links to contact you guys if they would at least contact me back

#

Lot of frauds in the shoe business

mighty hill
#

@thin echo If you think there's fraud involved you may need to work with local law enforcement, but honestly we're way outside my department here. 😅

thin echo
#

No problem appreciate all your help and thoughts going forward

mighty hill
#

@thin echo Good luck with it!

strange tiger
#

Hey I'm trying to get Stripe webhooks to work locally with express 4.x and I'm not sure where I'm going wrong

I'm following the node guide for verifying signatures closely (https://stripe.com/docs/webhooks/signatures#verify-official-libraries) but stripe isn't able to verify my signatures when it constructs the event. Here is the relevant code:

    const server = Express();
    server.use(Express.json());
        
        server.post("/stripehooks", (req, res) => {
            const stripeSig = req.headers["stripe-signature"];
            log(`signature: ${stripeSig}`);
            log(`body: ${JSON.stringify(req.body)}`);

            let event;
            try {
                event = Stripe.webhooks.constructEvent(req.body, stripeSig, "LOCAL SECRET KEY HERE");
            } catch (err) {
                log("err: " + err);
                res.status(400).send(`Webhook Error: ${err.message}`);
                return;
            }
            
            res.json({ received: true });
        });
#

The stripeSig and req.body variables are perfectly fine, but for some reason stripe isn't able to verify the signature

#

The only part I've omitted is the bodyParser part since express marked it as deprecated

dim hearth
#

@strange tiger Are you sure you're working with the raw body? Webhook verification issues are pretty common with express + other node.js frameworks because of changes to the body. I'd suggest reading through this thread for possible solutions on how to fix this https://github.com/stripe/stripe-node/issues/341

strange tiger
#

I've just tried going through a lot of the solutions (including the very bottom one) and none of them seem to work for me. I'm on express 4.17.1 and tried doing app.use("/your/stripe/webhook/endpoint", express.raw({ type: "*/*" })); since that helped shumiyao, but stripe is still sending me back signature failures

#

Is there something I'm missing?

#

Without the JSON.stringify on the rawBody line, req.body is just an object

#

I'm not sure what "raw body" is, I don't know if stripe wants an object, just the string, just the string in a very specific way, etc.

#

Ok so I just switched lines 2 and 3 and now it works

#

Weird

#

It's successfully constructing the event now, does that mean the webhook signal is 100% verified to be from stripe?

dim hearth
#

@strange tiger Glad you got it working! I personally wouldn't say 100% (because I'm not a security expert), but yes having signature verification working should guarantee that the event you're receiving is the same event that stripe sent

bleak breach
#

@strange tiger It's because of the line server.use(Express.json()). That's telling express to use the JSON body parser middleware on every route in your app. This means that the raw body is converted to JSON before it reaches your webhook endpoint, which won't work as Stripe needs the raw body to work

gritty mesa
#

Hi, I'm having some issues with using the stripe-cli. Webhook events are not getting triggered locally, but I can see they are being sent to my test endpoint.

bleak breach
#

Hi @gritty mesa, as in when you trigger events via the CLI they aren't being forwarded?

gritty mesa
#

I'm using

stripe listen --forward-to http://localhost:8080/api/webhooks/stripe

And creating payment intents via the API. Previously, I'd see events related to these payment intents fired/forwarded locally from that command ^

bleak breach
#

I've seen this be fixed by logging out and back in again with the CLI: stripe logout and then stripe login, can you try that?

gritty mesa
#

I logged in recently, but I'll try again.

bleak breach
#

If that doesn't do the trick, can you rerun the listen command with --log-level debug ?

gritty mesa
#

I think this might be it
DEBUG proxy.Proxy.filterWebhookEvent: Received event with non-default API version, ignoring api_version=2020-08-27

#

I feel like that conflicts with the documentation "Receive events used in the latest API version. By default, webook events received will depend on your account's default API version."

bleak breach
#

That shouldn't prevent the event from being forwarded though

gritty mesa
#

[Mon, 21 Jun 2021 21:30:09 EDT] DEBUG Received malformed event from Stripe, ignoring

#

I see that in there a few times too

#

I see the webhook bodies in the log

bleak breach
#

hmm, can you try stripe listen --forward-to http://localhost:8080/api/webhooks/stripe --log-level debug --latest just to see if it's the API version mismatch

gritty mesa
#

yep that fixed it

#

thanks @bleak breach

clever sleet
#

Hello, on Sunday I have asked the following question, but haven't seen an answer on it yet. Can anyone help me? #dev-help message

#

Here's the question again:
hello, does the starting_after parameter of the List Refunds api the ID of the refund? If so, is it guaranteed to be sequential? If I list all refunds and store the id of the last one, would I be guaranteed that if on the next call I pass it in I will be receiving all new refunds since the one I passed in?

#

while testing my question above (I still need an answer) I think I found a bug. I am using the .NET SDK. RefundService.ListAsync is not returning anything, yet RefundService.GetAsync with a specific refund id is returning the Refund object. Is this a bug or am I missing something?

mellow spear
#

@clever sleet They should be sequential, yes. Can you share the code you're using that's not returning any data?

clever sleet
#
var service = new RefundService();
var l = await service.ListAsync(); //Empty list
var r = await service.GetAsync("pyr_1J4SW4F7xEe6JCtFAzbGxI54"); //yet this returns a refund
#

service.ListAutoPagingAsync(options) also returns nothing

#

I just updated to the latest Package and still the same thing

#

req_6lwJnVb83RIRdN is the request id of the last request i just made

severe python
#

hi i need help with some related to stripe

#

or more of a question

mellow spear
#

@severe python Hi - what's up?

#

@clever sleet I have no idea. What are the actual contents of l.

severe python
mellow spear
bleak breach
clever sleet
#

@mellow spear

#

@mellow spear I get the same result via postman

mellow spear
#

@clever sleet Ok looking into it.

clever sleet
#

these payments that are being refunded are transfers from another connected account

#

the connected account transferred it to this account

#

they show as refunded on the dashboard

mellow spear
#

@clever sleet It looks like this is a bug on our end, so we're working on fixing it.

clever sleet
#

@mellow spear good to know i'm not going crazy... is this being worked on or was just this discovered? I'm looking for an ETA

mellow spear
#

@clever sleet Not sure I have an ETA at the moment, but we're working on it.

clever sleet
#

thanks, is there a public bug report I can follow?

bleak breach
clever sleet
#

thanks

toxic lily
#

Hey dudes! Quick question: Idempotency is not available for PaymentIntents, right?

bleak breach
toxic lily
#

Since the SKU system seems to be deprecated, is there any other way for reporting products while using Stripe Checkout? Specifically talking, is there any way to report how many and which products where buyed durning a large number of Checkout sessions? (For example: run report based on a Product ID)

simple mantle
#

i need stripe response in frontend like paypal

mellow spear
#

@simple mantle Hi! What do you mean?

upper basin
#

Hello guys:
Is stripe supports MTN:DEP?

mellow spear
#

@upper basin I don't know what that means?

upper basin
#

@mellow spear , MTN: DEP is a carrier billing system used for mobile transaction

bleak breach
mellow spear
#

@upper basin Ok. The question then would be whether MTN: DEP supports a Stripe integration, which is a question for MTN: DEP.

upper basin
#

thank you @mellow spear

mellow spear
#

You're welcome!

upper basin
#

@mellow spear , If MTN : DEP will support Stripe integration, then what are the steps we need to follow from stripe-end?

mellow spear
#

@upper basin It's entirely up to MTN DEP, as they would have to build the integration.

upper basin
#

ok @mellow spear

gritty spindle
#

Hi there

#

I have a question regarding the Payment Details. Am I able to modify the field below according to our codebase. We have our own codebase, calling the Stripe API so is there any chance to customise it?

bleak breach
gritty spindle
#

Yes. It is by default. But what I want to achieve is when we call the stripe API (to make a payment), can we add customised description then stripe update it accordingly?

bleak breach
vocal wagon
#

Hi.
Does anyone know - when I charge an application fee to a connected account, that fee will be invoiced by Stripe to the connected account, or do I have to send an invoice (as a platform) to the connected account?
Thanks.

bleak breach
vocal wagon
#

Yes, but that amount (e.g. $1.23) comes from somewhere (goes from a provider to a customer), therefore, someone has to invoice it (for accounting purposes), right?

bleak breach
#

Are you using direct charges or destination charges?

vocal wagon
#

Direct Charge

bleak breach
#

In that case the charge is created on the connected account and the application fee amount is transferred to your platform account automatically

vocal wagon
#

I understand that, but I'm not sure you got my question:
-$10 for a service (the connected account invoices the end-user)
-The connected account loses $0.59 (as Stripe commission) and $1.23 (as an application fee), which are basically costs
-For that $0.59, Stripe mentions "Commission" on the Monthly statement.
But for those $1.23 (which goes to the platform), someone has to offer a document (invoice) or so.

#

So my question was... who is responsible for accounting those $1.23 ?

#

Stripe or the Platform ?

bleak breach
#

If you mean who is responsible for showing the connected account how much they paid in platform fees, that's up to the platform

vocal wagon
#

So that was the main question actually. We, as a platform, who should we invoice for those money? Or do we have to invoice at all? Not sure how it works.

#

Hello, I am building LMS website using LearnDash and Stripe. I would like to change checkout language to Polish. Can someone support me how to do it?
The plugin I am using: https://www.learndash.com/add-on/stripe/

crimson needle
#

@vocal wagon looks like something you would ask that company about directly instead

#

@vocal wagon We don't know much about accounting or the IRS in this server. We're developers and we help developers with code on their integration. You might want to talk to your own accountant or similar instead. Otherwise maybe try our support team: https://support.stripe.com/contact/email

vocal wagon
#

Oh, alright then, got it.
And one additional question (which is developer'ish question):
As far as you know, when an user that has a monthly subscription can't be charged (due to expired card, or lack of funds), does he (the user) receive any notification that his payment failed?

crimson needle
#

We support emailing them automatically on each failed payment if you want yes. There's a settings in the Dashboard for it that you can disable/enable

vocal wagon
#

Alright, cool guys, thank you for your time! I appreciate!

crimson needle
#

happy to help 🙂

vocal wagon
#

@crimson needle thanks for the feedback. I will contact with LearnDash.

gritty spindle
#

Hi I created draft invoice with amount_due, but when I pay them using pay(id), it won't pay the due amount. Do you know why? Or do I have to specify the amount in the pay function ?

#

It paid $0

crimson needle
gritty spindle
#

Oh really?

crimson needle
#

yes. amount_due: 20 is $0.20

gritty spindle
#

Thanks

#

By the way, how can I customise or update this field for subscription payment. It is by default but I would like to change to my customised text. It looks like it doesn't have the description parameter for update function.

crimson needle
#

you can't

gritty spindle
#

It is fixed, isn't it?

crimson needle
#

yes we set it ourselves as part of the invoice creation/finalization on subscription creation

gritty spindle
#

Sure thanks

crimson needle
#

the description on the invoice doesn't really matter in this flow since it's an itemized receipt/invoice being sent

peak root
#

Hi, Direct charge is recommended for Standard Account. But can I use it for Express account?

crimson needle
#

@peak root strongly discouraged, so I'd say no. Use destination charges

peak root
#

Ok, Thanks

shut frost
#

Hi!
I'm going to use stripe checkout to receive a successful payment with a webhook and update user information.
Should I use checkout.session.completed or charge.succeeded as the webhook type in this case?
I personally think that last4 and network are charge.succeeded in the parameters.

bleak breach
#

@shut frost Depends what information you're after. checkout.session.completed will inform you specifically that a payment or subscription related to a Checkout Session completed. charge.succeeded will fire for any payment

shut frost
#

@bleak breach Thank you for the wonderful answer. I didn't understand enough. I can see what should be implemented.

hallow crystal
#

Good morning, I was connected and now I am not connected to the software DanceStudio- Pro and my website. Now there is some kind of mis communication between the tax office, stripe and DSP. I have amended everything I can think of. Please could you help?

bleak breach
hallow crystal
#

@Paul - apologies! Thank you for the support link!

alpine depot
#

Hey, y'all! I'm trying to set up our app with the newly released stripe-react-native. My issue is that I'm trying to set up a payment intent (we are migrating from tipsi-stripe) but I can't seem to figure out how to pass the payment details from CardField to the actual Stripe API. The cardDetails are very limited and I can't find any function that would actually take them as an argument. Even the example on Stripe docs doesn't actually utilize the onChange event.

#

Also, I can't use hooks because that would require major refactoring of a lot of parts in our app. Not sure if that's a dealbreaker.

junior ivy
#

Hi Admins .. Actually Im trying to set up a market place, where I was not able to add test bank accounts . Kindly heko

bleak breach
vocal wagon
#

Hi !
We're using Stripe for subscriptions on our product. The paiement is made every month.
We are currently in touch with a group of prospect (like an association), and we would like to offer them a discount depending on the total amount of subscriptions. For example, from 0 to 10 subscriptions, the discount is 10%. From 10 to 20 it is 20%... and so on. Do you know if we can do so with Stripe ?

bleak breach
vocal wagon
#

And if the charges can be updated for the next month automatically *

bleak breach
#

@alpine depot If I remember correctly tipsi would let you create a PaymentIntent on the client, with the official SDK we dissuade from doing that and ask you to create the PaymentIntent with a secret API key on the server instead

bleak breach
alpine depot
bleak breach
alpine depot
#

Our API handles the rest.

bleak breach
alpine depot
bleak breach
junior ivy
# bleak breach Not sure what you mean by this, can you elaborate?

ya Hi Paul.. Actually, We have integrated stripe for subscription of our service and the helpers who is going to fulfil the service will be onboarded as express account. This we are able to do, but in order to achieve payouts, we are unable to add test bank account where we collect the charges.

alpine depot
bleak breach
alpine depot
bleak breach
bleak breach
alpine depot
#
Your app includes the com.stripe SDK: stripe-android, 10.4.6, which facilitates the transmission or collection of personal and sensitive information. These actions must comply with the Consent and Clear Disclosure Requirements and applicable terms of the Google Play Privacy Policy, as described in the User Data policy.

As of midnight on July 12, 2021 (UTC), new versions of apps containing this version of the SDK that do not comply with the Consent and Clear Disclosure Requirements set forth in the User Data policy will be rejected. Consider upgrading to version 16.9.0, recommended by the SDK vendor. Request more information from the SDK vendor.
#

The aforementioned SDK is part of tipsi-stripe which is no longer maintained

bleak breach
#

Ah yes I had heard of that

#

tipsi-stripe not being maintained is pretty much why we built stripe-react-native

alpine depot
#

For what it's worth, there is an open PR on tipsi for this but it's still worth it to migrate to the official Stripe library

#

Just for UI consistency and PCI compliance even

slate kite
#

I've noticed the stripe app in slack does not have any notifications for payment reviews. Is there a specific reason for that?

slate kite
bleak breach
slate kite
bleak breach
slate kite
distant pelican
#

Hey guys Im using Stripe.js/StripeElements to create subscriptions. It was working all week but today the "confirmCardPayment" is throwing a "Processing Error" (Error not listed in your docs either). I am receiving a ClientSecretId from creating the StripePayment, but no PaymentIntent is shown in the Dashboard. The API is returning 400 with no information. As I said, exact same code been working all week

meager hawk
#

@distant pelican hi there — do you have the client_secret you're getting that error for?

junior ivy
peak root
#

Is there any way to fetch calculated stripe fee from PaymentIntent object?

distant pelican
meager hawk
distant pelican
#

(running Stripe in test mode as we arent live yet if this makes a difference?)

meager hawk
#

@junior ivy it really depends how you use Connect(https://stripe.com/docs/connect/). In general you just transfer the funds to the connected account, and they get paid out according to the payout settings and bank account that were created on that account, which depends on the type of account(Standard/Custom/Express) so it's hard to give a generic answer.

shrewd fulcrum
#

Hey i have a question

alpine depot
#

@bleak breach damn, it worked! This was surprisingly simpler than I thought. Thanks! Now to do some fine tuning.

meager hawk
#

@shrewd fulcrum sure, what's up?

shrewd fulcrum
#

I made a product in stripe of $999 which has 99 days trail period and then $24 per month after trial, so if customer buys the product and stripe send them invoice of the product with $24 payment with due date, so if customer pays the $24 payment the next minute so their period would extend or end or they just paying a month early and the plan would continue and their $24 payment would deduct automatically every month!

meager hawk
#

I'm very confused. Where does $999 come into it? Does it cost $999 a month or $24 a month?

shrewd fulcrum
#

Also can we stop sending invoice of stipe?

shrewd fulcrum
#

i just wanna ask when stripe send them invoice of $24 and they pay it, then how the plan would work?

meager hawk
#

ah ok. The thing is, that is not how the Prices API in Stripe works at all so it's not something you can directly model. Also a trial period usually means 'no upfront payment', but I guess here you mean , pay $999 today, then 99 days later, pay $24, then a month later, $24, and so on?

shrewd fulcrum
#

After paying it'll send the invoice of $24 with due date ! what if i pay now?

#

how the trial would work and will the $24 amount get deducted the next month or after trial period?

meager hawk
#

What I would do is :

  • create two Prices, one for $999 and one for $24
  • create a subscription for the $24 price, setting trial_end to 99 days in the future, and add the $999 Price as a one-time charge(https://stripe.com/docs/billing/invoices/subscription#first-invoice-extra) , which will charge $999 now.
  • when the trial ends, it will charge $24 and start the recurring cycle as you expect.
distant pelican
meager hawk
shrewd fulcrum
meager hawk
#

I don't know what you mean, I'm sorry.

#

as I said, 'sending' an Invoice has a specific meaning and you might not even be doing that, it's not required.

#

the normal/default way you'd so this is 1) collect the customer's payment info like their card 2)create the subscription, which will immediately charge their card for $999 3) 99 days later at the end of the trial, their card gets automatically charged $24, and then again each month. I'd suggest reading through the docs a bit and experimenting in test mode!

shrewd fulcrum
#

Can we stop invoice in stripe?

meager hawk
#

You can cancel a subscription, yes.

shrewd fulcrum
#

not subscription but invoice of every product

meager hawk
#

I'm not sure I understand what the difference would be, can you elaborate?

shrewd fulcrum
#

mean if a customer buys $999 product with $24 per month, and stripe sends them invoice of $24 with due date, can we disable that?

distant pelican
#

a product cant have both a price and a monthly on it afaik?

#

or they would have two different prices

meager hawk
#

@shrewd fulcrum I still don't really follow what you mean, but yes, you have total control over all of this.

#

@distant pelican for that use case, I'd have one Price that is one-time (no recurring hash) for $999, add that as a one-time invoice item for the subscription, and use a recurring:{interval:month} Price for the $24 as the main item on the Subscription. It works perfectly.

#

i.e. pay $999 today, then 99 days with nothing, then $24 a month after that.

#

that's what I was describing above.

shrewd fulcrum
#

check this screenshot the 1st option

#

if i disable it, it will not send invoice to customers right?

meager hawk
#

@shrewd fulcrum that's not related — you control this by how you create the subscription in the API.

shrewd fulcrum
#

1 more question
what if i made $24 product with 99 days trial plan and after 99 days $24month every month

#

and i send them the invoice and they pay now, does the trial period end? Or are they just paying the first month early, and the rest will automatically be deducted once the trial period ends?

peak root
#

I have made a transaction from Express account to platform account - Please explain the stripe fee charge 0.05

meager hawk
#

@peak root as it says at your link "There’s an additional cost for using Account Debits.", that's what that fee is.

meager hawk
#

@shrewd fulcrum so you're using collection_method:send_invoice for that first invoice? Paying it doesn't end the trial period no, and it doesn't interact with any future payments.

#

it's just , you start the subscription and it's status:trialing The customer has however many days_until_due you passed of time in which to pay the $999. If they do, the subscription keeps trialing until the end of the 99 days as normal. If they don't, then the subscription becomes e.g. past_due and can be cancelled, depending on your settings for unpaid subscriptions.

shrewd fulcrum
meager hawk
#

I believe I did, just above.

shrewd fulcrum
#

Okay thanks

junior ivy
#

Hi karllekko.. Could you pls help me in creating invoice with destination charges to connected account ? Im not finding option to add price to that invoice.

meager hawk
#

@junior ivy I can try! To be clear, you would use InvoiceItems, you don't add Prices directly to an Invoice

junior ivy
#

@meager hawk Thank you ...

warm ocean
#

Hi All. I need to know when it's the first transaction for a connected account. I use Stripe Connect. And to make the payment from the web to the conecte account, I use stripe.paymentIntents.create with on_behalf_of and transfer_data.destination. How can I do? I tried to listen the webhook the endpoints for Connect with th event types trasfer.paid or transfer.created or payment_intent.successful but it never call it

rigid ridge
#

Hi!
When pausing a subscription, once it's resumed does it change the billing anchor day or does it wait until such day to charge the payment method?

simple mantle
#

i am not finding any reference code for this section, can anyone help me , in this section i want to achieve country dropdown, where if i change customer location then checkout page will be user friendly in user's location, currency, language and payment method

meager hawk
#

@warm ocean you want the payment.created event I think, on the connected account — there's no Transfer or PaymentIntent object on the connected account so there's no events for those types. Instead, when the Transfer arrives, that creates a Payment object on the connected account and there's an event for that. Let me double check..

#

@simple mantle that just happens automatically, the Checkout page will use the right language/locale based on the customer's browser, you don't have to provide anything.

warm ocean
#

@meager hawk OK thank you for the check

meager hawk
#

@rigid ridge it really depends how exactly you pause/unpause the subscription(https://stripe.com/docs/billing/subscriptions/pause) but in general it doesn't reset the date, it's just , invoices created after the resumption time will start charging normally. it doesn't alter the billing dates

simple mantle
#

@meager hawk any reference, how to achieve this from browser?

meager hawk
#

@simple mantle how to achieve what exactly?

rigid ridge
#

Hmm... okay, and how could I change the anchor day to a future date? The idea is that in our donation system, the user should be able to pause the subscription for X months (I was considering pause collection behaviour keep_as_draft) and change the billing day, but for the anchor day afaik, the API only allows changing it to the current day

meager hawk
#

This is just part of Checkout and not something you really need to test/build. If I'm in France and my PC uses French and I visit the page, it will be in French, if I'm in Germany and my PC uses German, it will be in German, Stripe automatically localises it. The dropwdown on that page is to help you see what it might look like but you don't have to build it yourself

rigid ridge
#

@meager hawk ok, thanks! 🙂

meager hawk
#

@warm ocean yeah, the event that happens on the connected account that you' listen to from your Connect endpoint, is payment.created

cosmic tide
#

Hi, I have a question regarding stripe saving card details from a native payment, ie apple pay/google pay.
During our checkout process, the customer can select to use native pay, so it sends the card details from the native pay method when capturing the payment intent.
However, we also need to set setup_future_usage: 'off_session' as we at times need to be able to take further payments without the customer being present.
This behaviour works fine. However, whenever you provide both a customer and setup_future_usage stripe will save the card to the customer. The issue here is that if the customer makes multiple orders using native pay, stripe will repeatedly save the card as a new card, even though identical cards already exist.

#

How could we use native pay, with setup_future_usage and not have stripe save the card if it already exists? As when we load the customers saved stripe cards during checkout, it now loads multiple instances of the same card, so we have to filter our cards with the same fingerprint

meager hawk
#

@cosmic tide hi! yep, in general, we don't de-duplicate cards. It's a little complicated when using Apple/Google Pay since you're not really able to detect duplicates anyway, merchants and payment processors don't get the real details of the card, it's like a fresh raw card each time, that's the design

#

what I'd suggest I think is to only let the customer pay with a new Apple/Google Pay card if they explicitly don't pick one of their existing ones(show them their existing cards before letting them select some "add new card" option, which can then have a native button)

#

beyond that there isn't really a good option beyond as you say, filtering by fingerprint But with Apple/Google Pay, the same underlying card in the wallet might come through but with a different number from the wallet(and therefore a different fingerprint) so it's not really foolproof unfortunately.

simple mantle
# meager hawk <@!856750425508413442> that just happens automatically, the Checkout page will u...

i have done browser method, where based on user's browser location it is working, now the issue is that if the checkout is of 100usd then based on india location it should convert into 7000INR (let 1usd =70INR), by the mistake is that it is not converting in the equivalent amount to different currency it is just changing the currency symbol not amount, so it is showing 100 INR, but it should show 7000 INR

warm ocean
cosmic tide
#

so with out current checkout, we current display cards, have the add new card option, and show native pay buttons simultaneously

#

and that's a choice by design to show the native payment option straight away - ideally we want as quick a checkout process as possible

#

if as you say the fingerprint method is the only other alternative then I guess we'll go that way

meager hawk
#

@cosmic tide yep, makes sense! I'm not sure there's an elegant solution unfortunately.

cosmic tide
#

it's good to at least know we're not missing an easy solution, I appreciate your swift help with this

meager hawk
#

@simple mantle Checkout charges in the currency you tell it to (based on the Prices/LineItems you pass in your API call), it does not automatically convert the currency for you, that's something you have to control 100% in your integration if you want to do it.

#

i.e if you want to charge Indian customers 7000 INR and US customers $100USD, then you need to detect/ask the customer first, and then when you're making the API calls to use Checkout, pass the appropriate amount and currency based on where they are and your pricing

#

@warm ocean what is a "moona transaction" ?

warm ocean
slender hinge
#

Hi! I am having an issue with my Stripe account on Fundly. When people try to donate to my fundly account, it says the payment can't be processed. I'm not sure what to do to resolve this issue, please let me know what you'd recommend!

meager hawk
#

@warm ocean well to be honest I wouldn't personally use a webhook for that. You know when the first transaction is, since you generally call the API to process the payment. So when you do that, you can just synchronously add a note in your database or something that you've made your first payment to that destination.

Or I can listen the webhook on the platform and check for the payment_intent (or transfer)
You can do that as well, listen for the creation of PaymentIntent/Transfers and see what the destination was. Either way works.
And payment.created is payment_intent.created ?
No, they're separate things.

bleak breach
simple mantle
slender hinge
peak root
bleak breach
warm ocean
bleak breach
warm ocean
peak root
meager hawk
#

@warm ocean yeah that's true, unfortunately it's a weird event. Try adding charge.created instead, I believe that will also receive that event type (Charge and Payment are the same object, just they have some different names for legacy reasons)

bleak breach
vocal wagon
#

Hi, we have an stripe account with con subscription product, by we dont know how money flows there. I share acct_id : acct_1IpWroFfzg6votVF

warm ocean
meager hawk
#

@warm ocean I'm not sure if I'd say it's better , it would work too! Absolutely seems like a solid option.

meager hawk
#

@vocal wagon hello there. Can you clarify a bit? What do you mean by "how money flows there", what is your specific question?

bleak breach
#

@peak root Do you get an error when you try to log in?

peak root
vocal wagon
inner root
#

Hey everyone, so I'm working on an integration to pay out vendors weekly on my platform, but I'm not using stripe for inbound payments. I have set it up so that before paying anything out, it calculates the total amount needed to pay out all of the vendors, then does a top-up based on that amount. Then I want to pay out all of the vendors, but since top-ups take "5 business days" to reach the account, I'm not entirely sure how the delay is expected to be handled. Any suggestions?

meager hawk
simple mantle
#

@meager hawk so need to handle this in our code using a api call?

bleak breach
warm ocean
meager hawk
#

@simple mantle yes! You control the amount and currency you charge, it's all controlled by the code you use to call the API and create the CheckoutSession.

vocal wagon
bleak breach
hollow sand
#

Hello everyone ! I have a technical question.
Is it possible to charge a new product on an active annual billed subscription, but charge the customer on prorata of the remaining time to the next billing cycle ?
Example : After 9 months, the customer adds a new product to his subscription, so we immediately charge only 1/4 of the annual price of the new product price.

meager hawk
#

@vocal wagon yep but it's account-specific so I'd suggest writing since since our support team has access to your account and can help look at the specific details of the payments and fees, we can't help with account-specific questions here

peak root
crimson needle
#

@hollow sand yes it's how proration works by default on subscription too. You add the new product/price and we will automatically prorate for the remaining time

vocal wagon
bleak breach
#

@vocal wagon See rule 4 in #📖rules and #help, this Discord is for technical questions rather than account specific ones

inner root
vocal wagon
hollow sand
crimson needle
#

@inner root no delay on transfers to connected accounts, they are instant. And payouts are sent daily for all the available balance, so if you transfer funds directly to the connected account, there won't be a delay, funds will be paid out the next day, daily

#

@vocal wagon that Discord server is brand new, we launched it a few days ago, so it's definitely not something that has existed for a long time

#

@hollow sand the next invoice will happen next year at the end of the period. It will charge for the new year for both products plus the prorated amount for the rest of the current year

hollow sand
#

before the next invoice*

crimson needle
daring lodge
#

mornin' everyone

vocal wagon
#

Does anyone know a way to mock a failed invoice in the test environment? I'm getting customers with duplicate subscriptions and I think it's because their subscription becomes not active if an invoice payment has failed which allows them on our implementation to purchase another subscription

crimson needle
hollow sand
# crimson needle there is! https://stripe.com/docs/billing/subscriptions/prorations have you read...

What I have learned from the documentation :

  • if I reset the billing cycle and enable prorate changes, it will charge now a year for the new product, plus the prorate of the used time of the current product
  • if I don’t reset the billing cycle and enable prorate changes, it will charge at the next billing period a year for the old product and the new product, plus the prorate of the used time of the new product (at the previous billing cycle)
    What I want to achieve is to charge the new product to the customer for the remaining time of the current billing cycle.
    Example : after 9 months on a product $1000/yr, adding a new product charged $100 annually. I want to charge 3/4 of $100 => $25 now, and at the next billing cycle, $1000 + $100.
crimson needle
hollow sand
#

Okay thanks for your time @crimson needle ! I will check it out

crimson needle
#

@hollow sand the Dashboard doesn't support this directly but the API will. Otherwise you can click the "create Invoice" button in the Dashboard on the customer page after the upgrade and you'll see exactly the behaviour you described!

vocal wagon
#

ok so this might be a silly question I've used the test card number (4000000000000341) which will succeed when purchasing a subscription to a 30 day trial. I'd like to trigger the next payment so I can test what happens to the subscription when a failed payment happens off session. I've tried to remove the trial period on the subscription via the dashboard but it doesn't let me do that as the payment will fail. Is there an alternative?

crimson needle
#

@vocal wagon Create a subscription with a trial of a few minutes and not 30 days. Then wait a few minutes for the subscription's trial to end and for the new period to start and pay that invoice (which will fail)

glossy osprey
#

hi

#

I have integrated stripe with discord. I need to disable refunds.

#

Is this possible using stripe dashboard?

#

@crimson needle

#

any help?

crimson needle
#

@glossy osprey you didn't leave much seconds to even reply 😓

#

This Discord server is for developers with questions about their code. Unfortunately we can not help with account specific questions. You want to talk to our support team instead: https://support.stripe.com/contact

glossy osprey
#

@crimson needle sorry

#

I am also a developer

crimson needle
#

I am not saying you aren't. But your question is not about code or APIs, it's about your account with Discord and how to refund in the Dashboard.

glossy osprey
#

forget about discord. As a developer can you guide me about disabling refunds in stripe account dashboard?

crimson needle
#

There isn't an option to "disable refunds" but I don't understand why you would want that. If you don't want to refund, you would not refund

#

sorry, I mean you ask me "how do I use a web UI" it's not really a developer question (even if you are personally a developer)

glossy osprey
#

some people are cancelling memberships and taking refunds.

#

and this is happening automatically

#

Thats what I want to disable

crimson needle
#

Are you writing any code? If not, I can't really help. It'd be a question with the platform who writes the code for you and controls this behaviour.
Reading between the lines, you seem to be using a third-party that creates subscriptions for recurring payments/donations and when they cancel their subscription, the third-party is prorating them with credit for the amount owed/and or refunding them. That is not something you control in the Dashboard anywhere. So you need to talk to that third-party

glossy osprey
#

hmmmmm.. Thanks

hybrid galleon
#

Hi there, I was on here yesterday looking into how to update the receipt_email by creating a webhook that will update receipt_email via the billing email that I already have for my customers. A couple of questions that I have had:

  1. The endpoint URL is this something that I can get from my stripe account or do I need to point this elsewhere?

  2. In the webhook settings on the dashboard, all I see is the ability to send events but not to update the charge information is there something I am missing?
    Thanks again!

inland tangle
#

HI All, Can anyone recommend the best stripe set up to hold a payment before the order is confirmed? the example being Deliveroo, they don't take card payment until the business accepts the order?

crimson needle
#

@hybrid galleon There isn't any "automatic update" for you. As the developer you have to write the whole code. You create your own webhook endpoint pointing to code on your server and when you receive an event from your account you run code you wrote that would send the receipt

hybrid galleon
#

oh.

crimson needle
hybrid galleon
crimson needle
#

@hybrid galleon no there isn't. You have to write code. Maybe you could use a third-party like Zapier or IFTTT but we don't control those integrations

hybrid galleon
#

My org doesn't have those resources is my main issue.

inland tangle
#

@crimson needle thanks, Apologies I posted in the posted group as realised after this is the dev group. and yeah that's what I thought was the way thank you for this.

vocal wagon
#

Hi, I'm having validations problems on frontend stripe API, when we try to confirm a Bancontact payment using the secret, it throws us the following error:
IntegrationError: Invalid value for stripe.confirmBancontactPayment intent secret: value should be a client secret of the form ${id}secret${secret}. You specified: src_client_secret_VE8rVMNf***********vQFR.
Could anybody please help me?

crimson needle
#

@vocal wagon you are using the wrong secret.

#

you seem to maybe create a Source object for bancontact which is a few years old/legacy and you shouldn't

vocal wagon
#

I've to provide support for Bancontact and it's created acording to the documentation. The secret is created from the backend stripe implementation.

crimson needle
#

@vocal wagon sure but that's not much details unfortunately. Based on the client secret you shared, you are not following the official docs. I'd still need more details about your code at least

vocal wagon
#

I'm using the method stripe.sources.create(...) and using the source.client_secret retrieved

crimson needle
#

see you're using the multi-years old approach which we deprecated a long time ago

vocal wagon
crimson needle
#

you want to use PaymentIntent and PaymentMethod instead. Following the video above or our official documentation will help

vocal wagon
#

so, sources are deprecated and I've to use paymentIntends for integrating bancontact would be the short answer?

#

That's right

crimson needle
#

well you're already using PaymentIntents per the error you asked in the first question. But instead of creating a Source you should use PaymentMethods yes

mossy star
#

one of my customers got a invoice.payment_failed error. Does this mean the card declined? or do I have a bug in my code? has anyone had this issue before?

#

if anyone has ran into this problem before it would help a lot just for some advice

daring lodge
#

@mossy star hey there - can you share the event or invoice id?

mossy star
#

Ok thanks. I’ll have them contact their bank

vocal wagon
#

Can someone show me some documentation on how to handle the situation where the subscription status is past_due?

lethal carbon
#

Hi @daring lodge thanks for message in general-chat.
As mentioned, we are at telecom provider, our clients have different monthly costs due to Long Distance, Toll-Free or changes in their services.
Currently, we integrate with Stripe as a payment gateway and looking at streamlining our billing process to make it easier for our clients to have automatic payments.
Can you point us in the direction on implementing something like this?

daring lodge
#

@lethal carbon Do you charge highly variable amounts based on exact metered usage?

vocal wagon
#

Hi there. Can someone help me with verification email not being sent in order to connect to my account? Thanks.

daring lodge
vocal wagon
daring lodge
#

@vocal wagon Unfortunately we can't help with account support here. You can contact Stripe's support team here: https://support.stripe.com/contact or see #help for more resources.

#

@vocal wagon You'll want to pay using the payment intent on that invoice.

lethal carbon
vocal wagon
#

@daring lodge this is for a subscription

lethal carbon
wild wyvern
#

Hey guys. I've been told it's not possible to get the currently attached bank account(s) as the platform for Connect Standard Accounts via the API. But we can get the bank account info for each Payout via the API. Are there any other ways to get bank account info for Connect Standard Accounts? We'd like to display this information from within our app so our customers know which account deposits are heading to. Thanks!

daring lodge
#

@vocal wagon You can use expansion with the subscription.latest_invoice.paytment_intent to complete the payment using Stripe.js, for example:
https://stripe.com/docs/expand
https://stripe.com/docs/api/subscriptions/object#subscription_object-latest_invoice

vocal wagon
# vocal wagon thank you

Due to limitations in our implementation, would it be possible you think to overwrite the payment intent with a new one?

daring lodge
#

@vocal wagon what are the limitations? What's the issue with using the existing payment intent?

#

@vocal wagon if you collect a payment method you can also try confirming that PI server-side, or use the invoice /pay API

daring lodge
#

@lethal carbon THe restriction is that a given subscription must have all items in the same currency and on the same billing interval

lethal carbon
daring lodge
#

@wild wyvern Do you get zero results when you list the external accounts?
https://stripe.com/docs/api/external_account_bank_accounts/list
I would expect you to be able to get the last4 in order to show what you're asking about, but this may not be available for Standard accounts since that part of the relationship is between the account holder and Stripe:
https://stripe.com/docs/api/external_account_bank_accounts/object#account_bank_account_object-last4

#

@wild wyvern Are these new standard accounts you created as your platform, or existing ones you connected to via oauth?

tidal herald
#

hey guys, my account got clossed but i cannot create payouts, it's been more than 4 weeks, do you know how to get my money tranfered?

wild wyvern
#

@daring lodge the vast majority of the time they are creating the account with Stripe via oauth through our app. Are there other ways to do this?

bold basalt
#

@tidal herald hello, account related questions are answered by Stripe Support at https://support.stripe.com/contact. For context, this channel can help if you have a coding/technical integration related question with Stripe's API.

next drum
#

I work for an online marketplace and a customer of ours uses a POS system in store to track inventory etc. Is there a way to connect the Stripe account with the POS system / a way to transfer the data so they don't have to manually update their inventory every time?

daring lodge
wild wyvern
bold basalt
#

@next drum hello, ah I see what you mean, there isn't any way in the Stripe Dashboard to do this currently, there might be some third party extension/platform that allows you do do this but I'm not aware of any personally https://stripe.com/partners/apps-and-extensions?q=wix

stable pagoda
#

hey, i have a problem in a payment receive.

First i created a setupIntent on PHP and get card informations with javascript, then i build PaymentIntent with confirm on PHP, but in both moments the 3d secure is requested...

tawny tiger
bold basalt
#

@stable pagoda hello, it depends on which card you are using and how you're creating the PaymentIntent. Can you share a SetupIntent and PaymentIntent ID (I'm assuming these are test mode attempts that you did)

#

@tawny tiger sorry you replied to a comment of mine but that wasn't intended for you, right?

wild wyvern
whole eagle
#

Good morning people! We use Stripe as an intermediary for our sales and for about 2 or 3 months all notes issued from Stripe have been missing information from our students. They fill in the required fields with their data, but the note is still issued as if they hadn't done it. How can we resolve this situation? we have a serious problem

bold basalt
#

@whole eagle hello, did you/your team build an integration to Stripe? or did you use a plugin/module?

daring lodge
#

@wild wyvern That's right, but be aware its for new accounts created after you make the changes

whole eagle
stable pagoda
#

i will describe my steps:

  1. PHP (server side)

\Stripe\Stripe::setApiKey(STRIPE_KEY);

$setup_intent = $this->stripe->setupIntents->create([
'customer'=>CUSTOMER_ID,
'payment_method_types' => ['card'],
'usage'=>'off_session',
'description'=>'....',
]);

$payment_methods = $this->stripe->paymentMethods->all([
'customer'=>CUSTOMER_ID,
'type' => 'card',
]);

  1. JAVASCRIPT (client side)

cardElement.mount('#card-element');

stripe.confirmCardSetup(
clientSecret,
{
payment_method: {
card: cardElement,
billing_details: {
name: cardholderName.value,
},
},
}
)

2.1) POST result to server side
....

  1. PHP (server side)

$this->intent = $this->stripe->paymentIntents->create([
'customer'=>CUSTOMER_ID,
'amount' => VALUE,
'currency' => 'brl',
'metadata' => $this->metadata,
'payment_method' => CARD_HASH_CREATED,
'setup_future_usage' => 'off_session',
'payment_method_types' => ['card'],
'confirm' => true,
'return_url'=>"MY_URL_FINISH"
]);

But in the step 2 and 3 the 3d secure is requested.

bold basalt
#

@whole eagle ah ok I'm not familiar with that, did your team write code to integrate Stripe? Asking so I can better help you

wild wyvern
stable pagoda
#

i need get the information card for further off-session payments

bold basalt
#

@stable pagoda two things:
which card are you using? 1/ You should use the card ending in 3155 for this. and 2/ the PaymentIntent should be created with off_session: true, for the off session exemptions to be applied to the PaymentIntent. Otherwise it is treated as on session and 3DS is requested

#

@stable pagoda try my two suggestions above and the PaymentIntent won't require authentication

stable pagoda
#

this 4000002500003155

bold basalt
#

@whole eagle ah ok then it is hard for me to suggest anything if you didn't build the integration, can you provide me a link to which module/plugin you set up?

#

@stable pagoda yeah so you're using the right card, pls try my second suggestion on passing that param

stable pagoda
#

ty, i will try!

whole eagle
bold basalt
#

@whole eagle no I was asking for the link to the page you followed where you set up your Stripe integration. For context, I typically help users in this channel who are writing their own code to build their Stripe integration, which wasn't the case for yours, so just trying to better understand what the integration you're using is

whole eagle
bold basalt
#

@whole eagle what is the link for that page that you're on? Can you share the link to it?

whole eagle
tawny tiger
#

Sorry @bold basalt I responded to a late email from stripe from a week ago about my verification, are they still going to respond to me?

bold basalt
#

@whole eagle thanks, ok so Enotas is a plugin meaning they build the plugin code that your integration uses. I would reach out to their Support team, sharing examples of what isn't working in your integration, they should be able to help.

#

@tawny tiger account related questions are answered by Stripe Support at https://support.stripe.com/contact. For context, this channel can help if you have a coding/technical integration related question with Stripe's API.

stable pagoda
#

@bold basalt for while its all ok! ty!!

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 API through which i can represent checkout amount to the users equivalent to their local currency amount, so that they can pay in their local currency.

bold basalt
#

@simple mantle hello, you'll have to create new Prices for each region in its local currency for that, and depending on where the user is, create a Checkout for an INR or USD Price.

simple mantle
#

@bold basalt you mean new checkout page for every single country ?

bold basalt
#

@simple mantle no a new Price for each currency. So say I am a US customer, you ask me my country before you present me the CheckoutSession. And when I select "US", present me a CheckoutSession for a "usd" Price.
Similarly, when a Customer from IN comes to your page and selects India, you create a CheckoutSession with "inr" Price.

simple mantle
#

@bold basalt Similarly, when a Customer from IN comes to your page and selects India, you create a CheckoutSession with "inr" Price.
it means we need to convert from usd to inr for indian user, how will this conversion will take place ?

#

@bold basalt do i need to use any conversion API?

bold basalt
#

@simple mantle I'm not sure I understand what you mean. What I was saying is, you'll have n Price objects in your Stripe account, e.g. a "usd" Price, an "eur" Price, an "inr" Price. And depending on what currency the user picks, you create a CheckoutSession for that Price. You're not converting Prices, but creating distinct Prices in different currencies. Does that help?

simple mantle
#

@bold basalt got in but i have more than 1000 tutors on my website, each tutor charges different prices , so the product price is not fixed, for 1000 tutors there are 1000 prices (n number of prices), so it means it is going to be 'n' number of CheckoutSession ?

patent marlin
#

Hello.
I have a problem that I cannot figure out using just a search.
The problem is that my payment service supports both debit cards (payment method entity) and bank accounts (source entity {"source": "ba_1J563YJqwvA4YhgLo2mXXXXX"}).
And I handle the situation when the user has an incomplete (not succeeded) payment intention, then when adding a card I make a confirmation of payment intention with a new payment method and I would like to do the same with a bank account, but I did not find a description of this behavior.
Perhaps I missed something and will be very grateful for any of your help.

daring lodge
#

@wild wyvern Hey there, are you still here? i've been poking at this on my test account. Can you share the request ID of the example you tried?

bold basalt
#

@patent marlin hello, can you explain more on
" I would like to do the same with a bank account, but I did not find a description of this behavior."
What do you mean by "payment intention" and like what would you like to do

simple mantle
#

@bold basalt are you still here ?

patent marlin
#

@bold basalt

      if (lastInvoice && lastInvoice.paymentIntentStatus === SubscriptionPaymentIntentStatus.RequiresPaymentMethod) {
        try {
          /**
           *  https://stripe.com/docs/api/payment_intents/confirm
           *  Confirm that your customer intends to pay with current or provided payment method.
           *  Upon confirmation, the PaymentIntent will attempt to initiate a payment.
           * */

          await StripeService.stripe.paymentIntents!.confirm(lastInvoice.stripePaymentIntentId, {
            payment_method: args.stripePaymentMethodId
            /**
             *  https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method
             *  ID of the payment method (a PaymentMethod, Card, or compatible Source object) to attach to this PaymentIntent.
             * */
          });
          /**
           *  Upon confirmation, the PaymentIntent attempts to initiate a payment.
           * */
        } catch (e) {
          logger.error(e, `error while confirmation payment intent (with bad payment method)`);
          throw e;
        }
      }

This code can use only for Payment Method entities

bold basalt
#

@simple mantle yes still here, missed your earlier message, reading now

stable pagoda
#

@bold basalt how to get the risk payment information that appears on the dashboard of Stripe?

bold basalt
#

@simple mantle there will only be as many CheckoutSessions as customers coming to pay. You won't create 1000 CheckoutSessions in advance for each customer that might come to pay. So if I come to your site to pay in USD, you only create 1x CheckoutSession for me with the USD Price, not one in each currency, cause I'm only paying in USD. Does that help?

#

@stable pagoda what info specifically? do you have a link to the PaymentIntent ID ?

stable pagoda
#

yes!

bold basalt
#

@patent marlin ah I see, answering one sec

stable pagoda
#

Risk evaluation info

simple mantle
#

@bold basalt so it means i don't need currency conversion api here ?

bold basalt
#

@patent marlin for paying a PaymentIntent with ACH debit bank accounts, since it isn't supported on PaymentMethods, instead of passing anything under payment_method: ... , you would pass the bank account token under source: ba_123 .
Give that a try

#

@simple mantle you still have to define your Price amounts in different currencies, whatever regional pricing makes sense for your products. Upon successful payment, Stripe automatically converts the currency into whatever the supported Balance currency is for that Stripe account.

#

@stable pagoda can you share a PaymentIntent ID so I can check which payment you're looking at and what Radar info you see there? Just the PaymentIntent ID, not the whole object

simple mantle
#

@bold basalt can you please share me any reference/document/code if you have for this?

stable pagoda
#

@bold basalt ok, i found here!

bold basalt
#

@simple mantle there's no reference code for this, e.g. say you're selling a T shirt for $10 USD.
You want regional pricing for INR, USD and EUR.
So as an example, you create 3 Prices for the same T Shirt product, "$10 USD", "10 EUR" and "800 INR" as three Prices.
I come to your webpage, I am paying from France, so you display me a CheckoutSession for the "10 EUR" Price.

simple mantle
#

@bold basalt thanks for help , let me start according to this

vocal wagon
#

kann ich für ein bestehenden Zugang meinem Steuerberater einen zweiten zugang einrichten?

bold basalt
#

@vocal wagon hello! I can answer in English, account related questions are answered by Stripe Support at https://support.stripe.com/contact. For context, this channel can help if you have a coding/technical integration related question with Stripe's API.

pseudo remnant
#

We have made the Stripe web hook as a server less function and capturing the event which is successful and storing it in the Cloud storage , issue is in flick of second we are getting two duplicate events and slight piece of information is different , which one should be captured:

vocal wagon
#

wenn Sie ihren Dienst auch in Deutschland anbieten, erwarte ich auch einen Service in deutsch. ich kann kein englisch!!!

pseudo remnant
#

above events are captured

bold basalt
#

@vocal wagon das Stripe-Support-Team unter https://support.stripe.com/contact kann dir auf Deutsch helfen, ich spreche kein Deutsch, aber Google Translate hat mir bei dieser Nachricht geholfen

vocal wagon
#

danke

bold basalt
#

@pseudo remnant those are webhook event retries, no? Basically if Stripe sees a 200 http status code in the response to the webhook event, Stripe treats that as a "successfully delivered" sign. I think your integration is not returning a 200 status, which is why Stripe is resending those events, which is why you're seeing them over and over.

cunning ember
#

Hi guys, we have 3 and 6 months subscriptions and we need to implement a new feature that allows users to cancel it any time. However, we are not sure how to test it on stripe where billings/invoices need to have future dates. How do we do that in Stripe Test?