Comments (4)
Sure, let me take a look.
from chargify-dot-net.
And of course, feel free to fix it and send a PR.
from chargify-dot-net.
I appreciate the message back Kori. This is an educated guess and I want to make sure this is right before I pull request. Chargify is quite new to me so I do not know the back story. I feel Chargify coupon percentage was originally an integer, but changed their API's coupon percentage to a decimal from integer in the recent past.
A simple _percentage = (int)obj.GetJSONContentAsDecimal(key);
On line 170 in Coupon.cs should patch the problem if programs are using this and have not noticed the bug yet.
To expand on the fix instead of patching it, I can go through and physically change the percentage to a decimal to reflect what Chargify is now.
from chargify-dot-net.
Ah, yes - ok. I'm on it.
from chargify-dot-net.
Related Issues (20)
- Add subscription create preview
- System.ArgumentOutOfRangeException HOT 5
- Feature Request - Purge HOT 9
- The type or namespace name 'IMetafield' could not be found HOT 5
- ChargifyException Message may contain sensitive information HOT 2
- GetCustomerList only returns first 2138 customers
- Add method for enabling billing portal HOT 2
- chargifyId is defined as an int but Chargify.com test system chargifyId are now long HOT 1
- BUG: No ability to retrieve all subscriptions of a Specific State HOT 2
- BUG FIX: Update Delayed Cancelis not working HOT 3
- Using Generics for Metadata HOT 3
- Production Import Messes with GetSubscriptionList HOT 4
- Umlauts, Ampersands and other Non-Unicode Characters broken while creating customer HOT 4
- SanitizedData is not sanitizing CVV HOT 1
- 3D Secure HOT 2
- Add support for multiple coupon codes
- Support Price Points on Component Allocations HOT 1
- Add handle for PaymentCollectionMethod "invoice"
- Documentation page for chargify.NET is down HOT 1
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 chargify-dot-net.