|
food ordering place i worked at people would just order delivery and expense it. we used stripe, which im sure has test ccns or whatever, but why bother when you can eat lunch every day on the company?
|
# ? Apr 30, 2024 01:37 |
|
|
# ? May 5, 2024 18:33 |
|
so i do want to point out here that stripe actively prevents you from using browser automation in their sandbox environment, and i have asked a support rep about this and they have zero plans to change this and it's not an incidental bug but an intentional thing the way this surfaces is with an iframe breakout so it depends on the testing tool (tldr cypress is hosed, playwright/selenium you might be ok) it's really hosed up and preventing us from doing true e2e testing of payment flows beyond regular card checkout (e.g. weird european payment types), and if we update to a newer version of the stripe sdk we probably won't be able to test regular card checkout flow that way either and we're now scrambling and considering options like trying to back out of the cypress cloud contract we just signed so we can go try to roll our own poo poo on playwright, it's stupid as gently caress! i only point this out to say... even the """good""" card processors are hosed up (if you are curious about this you can google cypress and stripe; there's like a million workarounds to the iframe bust that fall apart depending on which scenarios you try to test and like seven open issues on the cypress github project around this, and cypress has repeatedly tried and failed to add a thing that will inject a stripe sdk monkey patch to avoid this problem) abraham linksys fucked around with this message at 01:53 on Apr 30, 2024 |
# ? Apr 30, 2024 01:50 |
|
imo use whatever the one is where the dude gets really mad on github
|
# ? Apr 30, 2024 11:30 |
|
idk if it's still true but it used to be the case that venmo didn't have any kind of a test network so their engineers' transaction feeds would be full of them sending money back and forth to their coworkers with messages like "test" "trying again" "hope this works"Private Speech posted:lmao the UK bit of the company that I work for merged with an acquired US company and one of the questions was "is there going to be any pay alignment between UK and the US since our devs are now split half and half and work together" tbh i find blunt corporate honesty far preferable to songs and dances that redirect blame back to the workers
|
# ? Apr 30, 2024 11:48 |
|
Someone just reminded me of this post
|
# ? Apr 30, 2024 13:29 |
|
life… finds a way
|
# ? Apr 30, 2024 15:08 |
|
awful programming opinion: you know, I think we went too far in the direction of making sure every magic value is declared as a constant why does this SQL that's used by exactly one query method need to be declared as a constant way at the top of the file??
|
# ? Apr 30, 2024 20:32 |
CPColin posted:awful programming opinion: you know, I think we went too far in the direction of making sure every magic value is declared as a constant My tech lead will declare every log message as a function at the top of the file, so instead of having e.g. code:
We have code:
As far as I can tell, there's no benefit to this; it just adds an extra step when you want to figure out what line the logs are coming from, and makes it easier for the surrounding code and the log message to get out of sync
|
|
# ? Apr 30, 2024 21:10 |
|
this king is going to localize your log messages
|
# ? Apr 30, 2024 21:17 |
|
Antigravitas posted:Someone just reminded me of this post lmao i totally forgot about this
|
# ? May 1, 2024 00:16 |
|
necrotic posted:my two questions if you did go with non-test e2e billing tests (with refunding) are 1) which cc are you testing with and 2) how’s that going to look to fraud departments? use the boss's card
|
# ? May 1, 2024 00:39 |
|
Subjunctive posted:this king is going to localize your log messages first thing i thought of too
|
# ? May 2, 2024 18:51 |
|
|
# ? May 5, 2024 18:33 |
|
Subjunctive posted:this king is going to localize your log messages into klingon
|
# ? May 2, 2024 18:58 |