Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "stripe"
-
This motherfucker tried to fuck me!
Ok, here's the full story.
I applied for a quick job as freelancer. He told me I just had to implement stripe payment gateway. After finishing that he asked to save the user data from payment to the database, too. I added that. All the way he wanted me to work on his ugly project on a rotten server through cpanel. But I refused instead I uploaded a showcase environment on my own server.
After he tested my code and all was working as expected he again tried to make me implement the code right away into his retarded project before payment. When I mentioned that he has to pay me first he started bitching that he won't pay in advance.
At this point I left that fucker. Knowing that my feeling was right and this bitch never had the intention to pay for my work. He just wanted to steel my code.
Fuck you. I hope you get eaten in your bed by very hungry slugs one day. Like this one guy here on devrant.19 -
Rant! I found a bug in payment provider's api. The bug involves sending an invalid (!) Stripe ID to that API, (which I send on purpose btw) Which causes a complete white page when you login to their systems and view the details of that customer. Btw the API will accept that invalid Stripe ID without questioning and returns a 200 status code back.
So I send a mail to there support saying "look I found this bug by accident, this is how you can reproduce it"
And the support team send me a message back saying "then don't send an invalid Stripe ID"...
You don't freaking say... *sigh*9 -
I wrote a database migration to add a column to a table and populated that column upon record creation.
But the code is so freaking convoluted that it took me four days of clawing my eyes out to manage this.
BUT IT'S FINALLY DONE.
FREAKING YAY.
Why so long, you ask? Just how convoluted could this possibly be? Follow my lead ~
There's an API to create a gift. (Possibly more; I have no bloody clue.)
I needed the mobile dev contractor to tell me which APIs he uses because there are lots of unused ones, and no reasoning to their naming, nor comments telling me what they do.
This API takes the supplied gift params, cherry-picks a few bits of useful data out (by passing both hashes by reference to several methods), replaces a couple of them with lookups / class instances (more pass-by-reference nonsense). After all of this, it logs the resulting (and very different) mess, and happily declares it the original supplied params. Utterly useless for basically everything, and so very wrong.
It then uses this data to call GiftSale#create, which returns an instance of GiftSale (that's actually a Gift; more on that soon).
GiftSale inherits from Gift, and redefines three of its methods.
GiftSale#create performs a lot of validations / data massaging, some by reference, some not. It uses `super` to call Gift#create which actually maps to the constructor Gift#initialize.
Gift#initialize calls Gift#pre_init (passing the data by reference again), which does nothing and returns null. But remember: GiftSale inherits from Gift, meaning GiftSale#pre_init supersedes Gift#pre_init, so that one is called instead. GiftSale#pre_init returns a Stripe charge object upon success, or a Gift (and a log entry containing '500 Internal') upon failure. But this is irrelevant because the return value is never actually used. Pass by reference, remember? I didn't.
We're now back at Gift#initialize, Rails finally creates a Gift object using the args modified [mostly] in-place by all of the above.
Another step back and we're at GiftSale#create again. This method returns either the shiny new Gift object or an error string (???), and the API logic branches on its type. For further confusion: not all of the method's returns are explicit, and those implicit return values are nested three levels deep. (In Ruby, a method will return the last executed line's return value automatically, allowing e.g. `def add(a,b); a+b; end`)
So, to summarize: GiftSale#create jumps back and forth between Gift five times before finally creating a Gift instance, and each jump further modifies the supplied params in-place.
Also. There are no rescue/catch blocks, meaning any issue with any of the above results in a 500. (A real 500, not a fake 500 like last time. A real 500, with tragic consequences.)
If you're having trouble following the above... yep! That's why it took FOUR FREAKING DAYS! I had no tests, no documentation, no already-built way of testing the API, and no idea what data to send it. especially considering it requires data from Stripe. It also requires an active session token + user data, and I likewise had no login API tests, documentation, logging, no idea how to create a user ... fucking hell, it's a mess.)
Also, and quite confusingly:
There's a class for GiftSale, but there's no table for it.
Gift and GiftSale are completely interchangeable except for their #create methods.
So, why does GiftSale exist?
I have no bloody idea.
All it seems to do is make everything far more complicated than it needs to be.
Anyway. My total commit?
Six lines.
IN FOUR FUCKING DAYS!
AHSKJGHALSKHGLKAHDSGJKASGH.7 -
I worked for over 13 hours yesterday on super-urgent projects. I got so much done it's insane.
Projects:
1) the printer auto-configuration script.
2) changing Stripe from test mode to live mode in production
3) website responsiveness
I finished two within five minutes and pushed to both QA and Production. actually urgent, actually necessary. Easy change.
The printer auto-configure script was honestly fun to write, if very involved. However, the APIs I needed to call to fetch data, create a printer client, etc... none of them were tested, and they were _all_ broken in at least two ways. The CTO (api guy in my previous rant) was slow at fixing them, so getting the APIs working took literally four hours. One of them (test print) still doesn't work.
Responsiveness... this was my first time making a website responsive. Ever. Also, one of the pages I needed to style was very complicated (nested fixed-aspect-ratio + flexbox); I ended up duplicating the markup and hacking the styling together just to make it work. The code is horrible. But! "Friday's the day! it's going live and we're pushing traffic to it!" So, I invested a lot of time and energy into making it ready and as pretty as I could, and finally got it working. That page alone took me two hours.
The site and the printer script (and obv the Stripe change as well) absolutely needed to be done by this morning. Super important.
well.
1) Auto-configure script. Ostensibly we would have an intern come in and configure the printers. However, we have no printers that need configuring, so she did marketing instead. :/ Also, the docs Epson sent us only work for the T88V printer (we have exactly one, which we happened to set up and connect to). They do not work for the T88VI printers, which is what we ordered. and all we'll ever be ordering. So. :/ I'll need to rewrite a large chunk of my code to make this work. Joy :/
2) Stripe Live mode. Nobody even seemed to notice that we were collecting info in Test mode, or that I fixed it. so. um. :/
3) Responsiveness.
Well. That deadline is actually next Wednesday. The marketing won't even start until then, and I haven't even been given the final changes yet (like come on). Also! I asked for a QA review last night before I'd push it to production. One person glanced at it. Nobody else cared. Nobody else cared enough to look in the morning, either, so it's still on QA. Super-important deadline indeed. :/
Honestly?
I feel like Alice (from Dilbert) after she worked frantically on urgent projects that ended up just being cancelled. (That one where Wally smells that lovely buttery-popcorn scent of unnecessary work.)
I worked 13 hours yesterday.
for nothing.
fucking. hell.undefined fuck off we urgently don't need this yet! unnecessary work unsung heroine i'm starting to feel like dark terra.7 -
You fucking son of a bitch!
First you make me do a project in two fucking months, and that's a fucking job-load for only one dev to deliver a SPA with payments and whatsoever.
Then you pushed me to accelerate deployment date and there I am, getting tired and using time I don't have.
But oh no, you prick, that wasn't enough, you had to do just one thing. YOU HAD TO DO ONE FUCKING THING!
What's that? Oh, sorry, I thought I overheard that you wanted to accept online payments but YOU'RE NOT FUCKING SIGNED UP, YOUR BUSSINESS IS NOT LEGAL UNTIL YOU REGISTER IT.
Motherfucker, I can't do anything, you better fucking register your bussiness if you want this to work the way it's supposed to do. -
Apple replaced ESC and Fxx keys with a touch display stripe, that will at first show these buttons but eventually replace them with notifications and etc. As Vim user and step-debuggers addict (Eclipse, Firebug, etc), I just realised that yes, they can be stupid enough to do worse than removing the headphone jack from the iPhone.
https://youtube.com/watch/...
The touhbar concept itself is.brilliant, but ffs, couldn't they just ADD it???17 -
.... And it appears my Atom has Entered the Matrix. Full time.
In other news, I successfully completed the E-Commerce App I was working on, even though that Stripe Verification was a ball ache and the bane of the entire project giving me a stupid bug in jQuery whereby it was infinite looping over adding the token and not actually submitting the card charge. Somehow changing my button from using an id to using a class fixed my problem :/ (# -> .)11 -
I have now worked on integrating Stripe, Razorpay and PayPal on our app.
While Stripe has an absolute gem of a documentation.
Reading PayPal's documentation has been one of the most torturous week of my dev life.3 -
Finished our Christmas tree at work today. Featuring Zip ties, faulty burned blu rays, an old keyboard, a led stripe, cut IDE Cables and a 10m cat 5e cable and the holy Debian as topping
Sadly I cant capture all of its beauty in a single picture
I call him the GeekTree5 -
FUCK.... My laptops LED screen just got a dead px stripe.... And the bad thing is that it is allmost in the middle of the screen.... Oh and it is 60px in length and about 3 px in height!!! And no signs of physical damage to the screen.... so they just died!!!!
And the warranty ended 3 months ago..... Fuck you ASUS!3 -
I just auto charged myself because I forgot I tested my 7 day trial in production last week
🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡🤦♂️🤡3 -
css quick maffs
so, you want to make a css gradient from a certain color into transparent. The logical way would be doing it like this:
linear-gradient(#112233, transparent)
however, this will cause a blurred black stripe to appear in safari. This is due to safari-specific algorithms (that also make it the quickest browser, especially on arm-powered macs).
stackoverflow and other boubas will suggest doing this:
linear-gradient(#112233, rgba(255, 255, 255, 0))
this is better, but instead of a black stripe, a half-transparent white stripe will appear.
To finally make this gradient render consistently across different browsers, do this:
linear-gradient(#112233, #11223300)
Now, you're only changing alpha. See, CSS is a declarative language, so you should be telling it EXACTLY what you want to achieve. You don't want to change one color into another (in that case, "#112233" into "transparent", yes, they are distinct colors that are totally different. CSS doesn't treat "transparent" in some special way like we do) but to only change the alpha channel of #112233.
Feel free to use rgba notation if you want to support older browsers:
linear-gradient(rgba(11, 12, 13, 1), rgba(11, 12, 13, 0))
aight bye2 -
A beautiful gem ticket from a manager today:
Title: "Check Stripe "Snippet APK" that might help for integration into the app to track pricing easily."
Alright, it's very clear this particular individual has no idea what they are talking about, but, I'll give them the benefit of the doubt and read the ticket description!
Description: "I think stripe offers some sort of snippet that can be implemented into the app similar to FB pixel. (I could be wrong here..) let’s briefly check this, if it’s of value for our A/B-Tests → e.g. if it makes your life easier = good otherwise it’s not important."
...
I might as well replace the management team with GPT-3 at this point.
Or even just a simple Markov chain; that'd probably be more accurate if you want to match the ticket quality more exactly of this ABSOLUTE PILE OF HORSESHIT WASTE OF TIME I GET FED EVERY SINGLE FUCKING DAY.
🤡4 -
I wanna be a millionaire, so fuckin bad.
So, throughout this week there have been massive trials and tribulations regarding my lack of coding practice however through many nights and days coding I have almost completed the task I was set last week.
I didn't realise how out of practice I was so this posed as a big challenge for me. However I pulled through and tomorrow it will be ready to send for the interview!
I also have another test to do in vanilla php - Typical blog which would be such a doddle now I'm back in the zone. I just have to remember I'm not using Laravel!
The sense of accomplishment is real and I'm so relieved I've come this far. Maybe I will have this career of my dreams which I rightfully deserve.
Below is Stripe, doing random tests :) -
Having found Stripe i am glad i can get rid of PayPal on all my projects.
Paypal is overrated.Stripe is the future of online payments for developers.2 -
Attention: incomming resentful boiled up for months rant.
Hands down G2APAY is the worst because:
Merchant account aproval takes fcking months. It starts with unreasonable delays in documents approval. I mean insane nitpicking. They want to see merchants name surname and address on every god damn document that you submit even if for example bank statement doesnt include these details. I had to manually edit pdf’s just so that they would fck off and approve the merchant application. Insane requirements for document check also combined with their email only support answering only once a week you will have to wait one month just to get your account approved.
Then you get to the fun part, approval proccess for vendor gateway and webhook integration. They are nitpicking everything you can imagine: about website not having https, website forum missing some icons, merchants phone number being from another country then he is, and bunch of other hundreds of problems imagined only by them. Again combined with their one email reply per week policy you will waste atleast one month to finish up your integration.
Now finally you are their client and you think you can chill and go back to focusing on your business? Nope bro. Prepare for threatening emails. Last time I got a request to install https or my merchant application will be shut down. I was given 3 days notice on a fcking friday and had to do it.
Then g2a backend is crashing quite often. Combined with their one email per week policy you are fcked in the ass if your users were not able to pay through g2a and you will get no compensation.
Their backend documentation is shiet. Not clear how to integrate everything and after you integrate they make changes without publishing any changesets. Your integration is working? Good luck if it will still be working tomorrow.
And the very worst part is that they stopped proccessing credit cards like month ago with zero notice. Its been weeks and still zero news about bringing card proccessing back. They sad that they were acquired by some other company so shitty support got even shittier now while they are in a proccess of handover.
So yeah thats the worst vendor I have ever seen in my life. For example integrating paypal took me 30 minutes. Integrating stripe and getting all documents reviewed took me one business day. Same with paymentwall integration and document approval took 1 business day. Support is amazing and even have a phone number that I can reach if urgent problems arise. Thats how it should be. Thats why I can pay percentage of my transactions with a smile for them.
Sorry for the typos since im typing on my shiet phone while driving.
Eat a bag of dicks g2apay. I hope you go bankrupt and shutdown.21 -
I have been keeping this inside for long time and I need to rant it somewhere and hear your opinion.
So I'm working as a Team Lead Developer at a small company remotely based in Netherlands, I've been working there for about 8 years now and I am the only developer left, so the company basically consists of me and the owner of the company which is also the project manager.
As my role title says I am responsible for many things, I maintain multiple environments:
- Maintain Web Version of the App
- Maintain A Cordova app for Android, iOS and Windows
- Working with pure JavaScript (ES5..) and CSS
- Development and maintenance of Cordova Plugins for the project in Java/Swift
- Trying to keep things stable while trying very hard to transit ancient code to new standards
- Testing, Testing, Testing
- Keeping App Stable without a single Testing Unit (sadly yes..)
- Just pure JavaScript no framework apart from JQuery and Bootstrap for which I strongly insist to be removed and its being slowly done.
On the backend side I maintain:
- A Symfony project
- MySQL
- RabbitMQ
- AWS
- FCM
- Stripe/In-App Purchases
- Other things I can't disclose
I can't disclose the nature of the app but the app is quite rich in features and complex its limited to certain regions only but so far we have around 100K monthly users on all platforms, it involves too much work especially because I am the only developer there so when I am implementing some feature on one side I also have to think about the other side so I need to constantly switch between different languages and environments when working, not to mention I have to maintain a very old code and the Project Owner doesn't want to transit to some more modern technologies as that would be expensive.
The last raise I had was 3 years ago, and so far he hasn't invested in anything to improve my development process, as an example we have an iOS version of the app in Cordova which of course involves building , testing, working on both frontend and native side and etc., and I am working in a somewhat slow virtual machine of Monterey with just 16 GB of RAM which consumed days of my free time just to get it working and when I'm running it I need to close other apps, keep in mind I am working there for about 8 years.
The last time I needed to reconfigure my work computer and setup the virtual machine it costed me 4 days of small unpaid holiday I had taken for Christmas, just because he doesn't have the enough money to provide me with a decent MacBook laptop. I do get that its not a large company, but still I am the only developer there its not like he needs to keep paying 10 Developers.
Also:
- I don't get paid vacation
- I don't have paid holiday
- I don't have paid sick days
- My Monthly salary is 2000 euro GROSS (before taxes) which hourly translates to 12 Euro per hour
- I have to pay taxes by myself
- Working remotely has its own expenses: food, heating, electricity, internet and etc.
- There are few other technical stuff I am responsible of which I can't disclose in this post.
I don't know if I'm overacting and asking a lot, but summarizing everything the only expense he has regarding me is the 2000 euro he sends me on which of course he doesn't need to pay taxes as I'm doing that in my country.
Apart from that just in case I spend my free time in keeping myself updated with other tech which I would say I fairly experienced with like: Flutter/Dart, ES6, NodeJS, Express, GraphQL, MongoDB, WebSockets, ReactJS, React Native just to name few, some I know better than the other and still I feel like I don't get what I deserve.
What do you think, do I ask a lot or should I start searching for other job?23 -
Honestly, stripe support is the best I've ever dealt with and I wish others would be exactly the same.
No level 0 support agents that don't know what the fuck they are talking about nor know their product to begin with, but instead every single person you chat with knows the API and even implementation details, just such a pleasant experience. -
Got my first live 0.68$ application fee from stripe from my bootstrapped startup beta webapp I've coded myself2
-
Working with Apple subscriptions from Dotnet Core backend. Their API makes no sense IMO. Loved so much working with Stripe, but we had to support In-App Purchases aswell.
Made a small easter egg for futre developers to find. (unreachable code).1 -
NIGHT MARE? MY CODING NIGHT MARE IS USING IPAY88 for the project. Ipay88 is the well-known payment integration in my country but their service is fucked up, I wrote an article of comparing Ipay88 and stripe. IPAY88 is fucked up. So for those who would like to programme a backend system or application to Southeast Asian customers , please don't use ipay88! use alternatives.
Read it here https://johnmelodyme.wordpress.com/...2 -
jesus christ a fucking company funded at 110 million A seed round can't figure out why i'm still getting charged despite the fact that I unsubbed in fucking april
...and they're using stripe!
i've been using stripe with my SaaS for 3 years and never had an issue with a single customer - if they don't unsub themselves, they email me and ask me to do it for them, done.
fuck the world fuck everyone
i just really don't have the motivation or inspiration to do anything anymore
call it ego but this isn't fucking rocket science8 -
Well, our client had purchased some inbuilt e-commerce platform and that was assigned to me for customization.
From last one month, stripe connect payment issue was stuck, I was looking into it but no luck, I even updated my boss that I need help from some senior dev. But no luck. Ultimately Today I want to give up on this project, just making my last tries.
And found the issue its just one variable is not set and causing whole payment method to failed:(
huhh.. But Finally relax , Today is deadline of the task. Happy that I completed.1 -
Read my client's local bank API (80's 😰) documentation and fucking pray for him to accept Stripe !!!!!1
-
Dear Erlang Developers!
I found this lib the best for payment integration. Good job to the developer who made this!
https://github.com/mattsta/... -
My friend just realised that he shot an entire video of a person infront of green screen, while that person was wearing a pant with green stripe.
-
Finally got Stripe charges to work, then changed it to make subscriptions work in the Django app I was working on for Capstones. At least in theory. Works locally, but hasn’t been merged into our Production branch yet, so there could be something missing.
Still, super happy to have finally crossed it off my mental to-do list. -
I just spent hours making my own email-receipt sending system. My ip got blocked because of a misconfigured server. I had to reconfigure it and when it's finally working I realise that Stripe already have a built in feature for this.
I'm crying in a corner, slowly dying inside. -
I reminded myself I got supporter stickers and stripe from fsfe.
I placed one on my laptop and spotted that those stickers are reflecting mirrors.
Spent next hour trying to make recursive reflection photo.
It’s damn hard to place it correctly on such small area using hands only
3am and I am thinking of building a stand. -
!rant
When making an ecommerce site, what platform do you guys use? WooCommerce, Magento, Shopify, ....
Or do you just start from scratch with a payment gateway such as stripe or icepay5 -
Would somebody be willing to get on skype or something and explain Stripe Connect (Python Apk, preferably) to me. Not understanding how to implement it is destroying my willpower.
-
Imagine vying for the same role with someone who has ex-Twitter/ex-Stripe attached to their bio.
Sick1 -
So basically the zuccs Libra will have an option on Instagram on each account for you to donate however much you want
This would basically replace patreon and all gofundme donating systems
It would also replace payment services such as paypal stripe cashapp etc
Since everything can be done on instagram
Thoughts?9 -
MOTHERFUCKING Stripe !!!
Changed their dashboard layout !! Yes, let's move the top navbar to the left and change the whole layout. Oh yeah, and let's make the page less responsive than before.
I seriously don't understand why Stripe had to do this. Their dashboard layout was completely fine and useful but noooo lets change the navbar from the top to the left.
Because of these fucks, I now have to train my muscle memory to get used to this SHITTY ASS layout.
Fuck this. FUCK ALL OF THIS.2 -
Client keeps contacting me telling me customers are having issues purchasing tickets (events site). Stripe is picking up potential fraudulent activity (high risk).
We know the people who are trying to buy, and they're genuine. Anyone else having issues like this?
It's not happening a great deal, I would say maybe 1 in 20 times.2 -
Looking for a decent payment provider. I have been using paypal for now but tired of refunds from kids and scammers. Tried out g2apay, paymentwall but they dont accept credit cards. Thinking of stripe. Can you advice any other ones?7
-
I saw the stripe press website last year and they changed it to some other interface but I was able to find it through way back machine
https://web.archive.org/web/...
I think i can do it for any wiki page, or anything with an image and text in general. But I can’t do it just in a browser and needs some dedicated server to generate a good height map. I know what to use but it’s sad I can do it in realtime, otherwise it will be cool, just imagine this kind of representation for any wiki page -
After completing the startup, all about api calls;
Supabase as server, netlify calls for storing data into supab, some frontend and stripe as payment method, using webhooks to do some logic behind,
I never thought that I could finish it, now I'm answering questions on Quora about it and doing content for it. Feels odd and want to code AGAIN!2 -
For the people experienced with Stripe and C#, given that I'm in a Server+WebAssembly context, what's your experience setting up the payments?
What would look like the flow of actions to pursue a charge? -
Lets just say that Stripe payment gateway or paypal doesn't work in your country, but you have to accept payment through credit/debit cards like martercard/visa and Paypal in your web app or mobile app. How would you do it?12
-
I am developing a webapp with a couple of friends and we want to implement stripe API with Django Rest. Does anybody knows about good integration test packages/practice that could be useful in this case?
-
URGENT:
How an online supplier charge their clients with huge amount >40k monthly in an automated way ? ?
Context:
i am building a huge b2b international online service that will require clients to pay between 1000 usd to 400'000 usd per month.
The system is build on top of an e-payment api (stripe) that enable the system to work based on regular fully automated credit card authorization and capture system.
Everything works fine in dev mode. But when we will move to production, the amounts are so huge that they exceed the max limit of any-credit card, even the corporate's ones.
So that makes me wonder, how automated services (aws, gcp etc) charge huge invoices for their clients in an automated way without using credit cards...
Please help11 -
I used to write many payment gateways integrations, so I had to work with many poorly written docs.
I didn't like Robokassa, QuickPay and Payza
On the other hand, I liked PayPal because of ease and clarity, Authorize.net, Stripe