#SenorKarlos-discord-bot

1 messages ยท Page 1 of 1 (latest)

warm whale
#

Do you have a request ID for the Checkout Session you're talking about?

grim garnet
#

not on hand but I can go dig it up

#

req_O53wHrTldpyUct and upon reviewing it, it looks like I did NOT pass the tax code array as expected, which is making no sense to me right now but I'll figure out where my code dropped the ball. I have a config.json containing the object config.stripe.taxes, under which is a boolean key for active and an array of the tax ID's. If you can see my account in general, the 6 attempts before all passed an incorrect array, then when I got through I figured I nailed it ๐Ÿ˜…

#

I was trying to pass the variables via my iterated html insert (multi-product support) and that resulted in all the fails, then realized I could just do it in the actual post function instead of thru req.body

#

wow ๐Ÿคฆโ€โ™‚๏ธ I guess when you're at the end of a 10 hour, all night coding session, using the wrong config variable is an honest mistake - found it I think lol

#

literally the only way my poor brain is gonna get this working and you don't support my country?!?!?!?!

#

'specially with no pre-address collection

warm whale
#

wow ๐Ÿคฆโ€โ™‚๏ธ I guess when you're at the end of a 10 hour, all night coding session, using the wrong config variable is an honest mistake
Ohhhh yes. Definitely an instance of diminishing returns re. productivity. I can relate.

#

I didn't realize that was the tax product you were using. I misinterpreted your intial message, thinking you were passing in your own custom tax rates already.

For CA you would unfortunately need to configure your own tax rate for the Checkout Session via: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-tax_rates

grim garnet
#

Looks like if I wanna pay an extra fee it'll work... O.o but not the way it just bloody should? Reading more on non-dynamic rates and the firast thing it does it pitch me Stripe Tax

warm whale
#

I can understand the frustration there. For what it's worth, the product is pretty much brand-new (e.g. less than a year old) so I wouldn't be surprised if we see countries like CA and others globally available in the near future.

grim garnet
#

๐Ÿ˜‚ how about the next 2 days before my registration kicks in ๐Ÿ˜› ๐Ÿคฆโ€โ™‚๏ธ

#

I'm trying to figure out how to use these 13 tax rates myself now, really not sure

#

A very detailed explination of how it can do math.... but not how to send the right code per customer

#

hell is "Stripe Tax" (automatic_tax_collection) even valid in canada? At this point I'll pay the damn half percent just to move forward and curse the half hour i wasted on setting up that damn array

#

I can't quite tell

warm whale
grim garnet
#

yeah ok I think I saw that before... and then figured why pay when I can code. Do y'all take feedback in here too ๐Ÿ˜‰ I'm guessing you ca figure what I'm gonna say about this O.o

#

well already have really

#

I'd sure as hell hope if that's listed there, it works ๐Ÿ˜‚ back to the drawing board, thankfully seems simpler

warm whale
#

Our support folks have a workflow for surfacing feedback, so feel free to reach out to them if you'd like: https://support.stripe.com/contact/email

grim garnet
#

will do

#

I guess the customers are getting a fee increase after all ๐Ÿ˜‚

warm whale
#

If it works it works!

grim garnet
#

just floored... if the paid product can sort out canadian tax by postal code, then dynamic tax should as well. Plain and simple to me O.o ๐Ÿ˜„

#

email sent LOL

warm whale
#

In theory yes. It may not now, but I would be surprised if it didn't eventually for CA. Stripe in general seems to do a pretty good job of making it less costly to build things yourself, so hopefully we'll see CA supported in the future ๐Ÿคž

grim garnet
#

I mean that's why I'm floored, it seemed like Stripe tax was the 'pay your way out of some work' option. I don't know which came first or any other details ๐Ÿ˜… come to mention

#

you've been stellar, btw, thanks so much ๐Ÿ˜„

warm whale
#

Of course! I hate when I can't give the answers I would like to, but I'm happy that you have a workaround in the interim ๐Ÿ™‡โ€โ™‚๏ธ

grim garnet
#

indeed. Well have a great day, and don't be surprised to see me back when i get to the cx portal (though that seems infinitely simpler)

#

๐Ÿ˜‚

warm whale
#

Sounds good! We/I will be here

grim garnet
#

Hey sorry (hope you still have this notified lol) this is kind of more a product question than dev, but my registration is July 1st and I need to test now, do you know if setting the future date will mess with my current testing? Heck being in test mode, this won't even apply to live right so I could just set today probably?

warm whale
#

I gotta hop, but @spark nimbus is taking over and can follow up ๐Ÿ™‡โ€โ™‚๏ธ

grim garnet
#

(anecdotal, the tax page thinks I sold 3 euros in Ireland and need to register ๐Ÿ˜‚ )

ok cool

#

ty again vm

#

ugh.... and if I turn this on and pay for it, I can't use GPay and Apple pay after all? O.o jaysus y'all need to clean up these tax products ๐Ÿ˜›

#

just put a damn postal/zip code collection box that makes the gpay/applepay buttons highlight for use ๐Ÿคฆโ€โ™‚๏ธ that'll be goin in my feedback reply LOL

spark nimbus
#

Hello ๐Ÿ‘‹
Catching up here
Give me a moment and I'll respond as soon as I can

grim garnet
#

NP, just the last couple messages

#

well I guess there's context involved lol

#

๐Ÿ˜… automatic tax isn't as simple as I thought either, but not so bad LOL

spark nimbus
#

Juggling between a few threads!
Apple Pay/GPay aren't supported with Stripe Tax today.

I do know that we're actively working supporting this (release most probably next month, no solid ETA though)

grim garnet
#

nice, that'll be awesome. My main question is the one before that, about test mode/prereg date

spark nimbus
#

yeah test mode changes shouldn't affect live mode.
What are you trying to set the date for sorry?

grim garnet
#

and now that I'm reading, I don't ever have address info until time of payment, and then it would be stored. so I'm guessing the best setup for me (I'll always be passing a cx token, whether just created or existing with previous transactions) would be to follow this example:

automatic_tax: {
    enabled: true,
  },
  customer: 'cus_HQmikpKnGHkNwW',
  customer_update: {
    address: 'auto',
  },
#

I'm registered as of July 1st but need to test my integration now so i can be live at midnight that day ๐Ÿ˜…

#

tall order for a layman coder, but I'm managing ROFL

#

I also don't collect any shipping, just billing info

#

(probably why it thinks I have a sale in Ireland, come to think)

#

Can my products/account/whatever be set to only accept Canadian customers? without using shipping addresses?

spark nimbus
#

Just so that I'm on the same page, you mean only allow Canadian customers to purchase through checkout?

grim garnet
#

yes

#

and yeah for the date thing I'll set test mode as immediate, makes sense

#

not touching a thing in live until I'm 100% satisfied, even if I have to 'pay the tax' for a couple days in my own accounting software. It'll be my fine for being late ๐Ÿ˜‚

spark nimbus
grim garnet
#

I mean I guess if I collected shipping and set

  shipping_address_collection: {
    allowed_countries: ['CA'],
  },

that would seem to do it, but I don't see a billing address equivalent

#

those rules are neat though

spark nimbus
#

yeah ๐Ÿ˜ฆ Radar would be the likely solution here to prevent transactions from outside of Canada

grim garnet
#

I'm reading that now and deciding which way to go. Thank you very much for the help! Very friendly bunch around here ๐Ÿ˜„

spark nimbus
#

NP! ๐Ÿ™‚ Happy to help. Good luck

grim garnet
#

@spark nimbus related question for my object building logic, can both of these be passed at the same time, or does shipping cover both.
Rules seemed to be yet more fees and decently complex, shipping address & allowed countries seems to do the same thing out of the box

#

oops ๐Ÿ˜…

  customer_update: {
   address: 'auto',
   shipping: 'auto',
  },
#

well if this gets seen, I can't see any reason why not in the api reference. gtg lol