-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
postAccounts Breaking Stripe Update #14
Comments
Thank you for the report, I'll try to do an update soon 👍 |
Hey @sophiadmcgowan , I pushed the updated to a branch (see #15), could you try it out and tell me if it fixes your problem? |
Hi @joel-bach thanks for pushing the branch. I did some testing today and it doesn't seem to have fixed our issue. Looking at the PR, I don't see any changes that aren't purely-formatting/whitespace changes. Is that in line with what you're seeing too? |
Hi @sophiadmcgowan , you are absolutely right, I pushed the wrong thing, sorry about that 🙈 |
Hi @joel-bach thanks for the update. Our code is failing to compile since we're stuck on an older version of Text.
It looks like Data.Text.Internal.pack is only exported in newer versions of Text, but all versions support Data.Text.pack. Would it be possible to change usages of Data.Text.Internal.pack to Data.Text.pack? This should make the library strictly more compatible. Thank you! |
Good point, I did another update. Since the generation is done through template-haskell it is not easy to control what the output is, so we use |
@sophiadmcgowan did you get a chance to try again with the new version? |
Hi @joel-bach This version looks promising but I'm still working on testing it with our code since there are substantial changes in PostPaymentIntentsIntentConfirm.hs. I will keep you updated! |
Hi @joel-bach is there a particular reason that the |
Yes, the reason being that this was a custom developed module which is not automatically generated and a lot of the underlying structure has changed which broke it. At this point, I do not have the capacity to maintain custom modules if they are going to break with every update, but I'd be happy to include it if you create a PR to add an adjusted version. Since this module was completely built on top of the generated code you can also just copy the previous version and adjust it within your code base to fit your needs as there were no dependencies to this module within this package itself. |
@sophiadmcgowan I would curious to hear if you have any updates on this 🙂 Were you able to resolve the issues you were facing? |
Hi @joel-bach, my colleague @tysonzero has taken over this work and can provide an update. Sorry for the delay! |
I've merged the update and will close this issue for now. Let me know if it does not work as expected. |
Stripe recently pushed a change that allows Account.settings.bacs_debit_payments.display_name to be a nullable(string).
Stripe Changelog
This appears to have broken postAccounts in some cases with the following error:
Error in $.settings['bacs_debit_payments']['display_name']: parsing Text failed, expected String, but encountered Null
Is it possible to update the code according to the latest Stripe OpenAPI spec?
The text was updated successfully, but these errors were encountered: