Comments (1)
After talking to the vapor folks.. StripeError is conforming to ResponseEncodable and as of Vapor 3.3.0 this will by default return the StripeError and not my custom implementation.
To fix this.. we need to make the StripeError either not conform to ResponseEncodable or to make it properly format the response (this should be user configurable)
One option would be to make StripeAPIError conform to only Decodable and not to Codable. I did that on my end and it fixed it for me.
from stripe.
Related Issues (20)
- Charges list request fails due to trailing / HOT 2
- Unable to prefill customer email when creating a checkout session HOT 11
- Bump to the lastest version of the Stripe-KIT that introduces Stripe Identity fixes HOT 1
- Multiple Stripe Accounts HOT 17
- Better Setup Walkthrough HOT 4
- [ ERROR ] DecodingError.keyNotFound: Value required for key 'sources.data.Index 0.client_secret' HOT 5
- Nullable Source "creation" Date HOT 5
- Documentation HOT 2
- Unable to retrieve list of customers HOT 5
- Add file upload support.
- Typo in Customer.bussinessVATId HOT 1
- URL query injection HOT 1
- Make Models Parameterizable HOT 2
- Concrete Routes Don't Allow Optional Values HOT 9
- Upcoming Invoice has no id HOT 5
- Fix Refunds for connect accounts HOT 3
- [ ERROR ] DecodingError.valueNotFound - Token issue HOT 5
- Add webhooks support HOT 3
- NIO based Stripe Client HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stripe.