{"action":"created","issue":{"url":"https://api.github.com/repos/WordImpress/Give/issues/2461","repository_url":"https://api.github.com/repos/WordImpress/Give","labels_url":"https://api.github.com/repos/WordImpress/Give/issues/2461/labels{/name}","comments_url":"https://api.github.com/repos/WordImpress/Give/issues/2461/comments","events_url":"https://api.github.com/repos/WordImpress/Give/issues/2461/events","html_url":"https://github.com/WordImpress/Give/issues/2461","id":279637052,"number":2461,"title":"Donation total not respect to the number of decimal","user":{"login":"jaydeeprami","id":15060983,"avatar_url":"https://avatars1.githubusercontent.com/u/15060983?v=4","gravatar_id":"","url":"https://api.github.com/users/jaydeeprami","html_url":"https://github.com/jaydeeprami","followers_url":"https://api.github.com/users/jaydeeprami/followers","following_url":"https://api.github.com/users/jaydeeprami/following{/other_user}","gists_url":"https://api.github.com/users/jaydeeprami/gists{/gist_id}","starred_url":"https://api.github.com/users/jaydeeprami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaydeeprami/subscriptions","organizations_url":"https://api.github.com/users/jaydeeprami/orgs","repos_url":"https://api.github.com/users/jaydeeprami/repos","events_url":"https://api.github.com/users/jaydeeprami/events{/privacy}","received_events_url":"https://api.github.com/users/jaydeeprami/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-06T05:59:35Z","updated_at":"2017-12-06T07:38:05Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Issue Overview\r\n<!-- This is a brief overview of the issue. --->\r\n- Donation total does not respect to the number of decimal while switching on donation amount value.\r\n- Same with Custom amount\r\n- Issue exist on latest Give 1.8.17\r\n\r\n\r\n![nimbus-record-video-2017-12-06-11-07-12](https://user-images.githubusercontent.com/15060983/33646822-a5fac464-da77-11e7-8dcc-fcd622ffee60.gif)\r\n\r\n\r\n## Expected Behavior\r\n<!-- If you're describing a bug, tell us what should happen -->\r\n<!-- If you're suggesting a change/improvement, tell us how it should work -->\r\n- The number of decimal should remain same when switching to the donation amount or gateway.\r\n\r\n\r\n## Current Behavior\r\n<!-- If describing a bug, tell us what happens instead of the expected behavior -->\r\n<!-- If suggesting a change/improvement, explain the difference from current behavior -->\r\n- Currently, It does not remain same and change from  $10.00 to $10 while switching to the amount.\r\n- Also with the Custom amount, it does not work.\r\n\r\n## Possible Solution\r\n<!-- Not obligatory, but suggest a fix/reason for the bug, -->\r\n<!-- or ideas how to implement the addition or change -->\r\n\r\n## Steps to Reproduce (for bugs)\r\n<!-- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!-- reproduce this bug. Include code to reproduce, if relevant -->\r\n1. Create a donation form with Multi-level donation with various amount\r\n2. Switching among the amount \r\n3. As you can see that decimal value does not remain same when switching\r\n\r\n\r\n## Related Issues and/or PRs\r\n<!-- List related issues or PRs against other branches:  -->\r\n\r\n## Todos\r\n- [ ] Tests\r\n\r\n\r\n## WordPress Environment\r\n<details>\r\n```\r\n### WordPress Environment ###\r\n\r\nHome URL: http://givewp.dev\r\nSite URL: http://givewp.dev\r\nWP Version: 4.9.1\r\nWP Multisite: –\r\nWP Memory Limit: 256 MB\r\nWP Debug Mode: ✔\r\nWP Cron: ✔\r\nLanguage: en_US\r\nPermalink Structure: /%year%/%monthnum%/%day%/%postname%/\r\nShow on Front: posts\r\nTable Prefix Length: 3\r\nTable Prefix Status: Acceptable\r\nAdmin AJAX: Inaccessible\r\nRegistered Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit, refunded, failed, revoked, cancelled, abandoned, processing, preapproval\r\n\r\n### Server Environment ###\r\n\r\nHosting Provider: DBH: localhost, SRV: givewp.dev\r\nTLS Connection: Connection uses TLS 1.2\r\nTLS Connection: Probably Okay\r\nServer Info: nginx/1.10.1\r\nPHP Version: ❌ 5.3.29 - We recommend a minimum PHP version of 5.6. See: PHP Requirements in Give\r\nPHP Post Max Size: 1,000 MB\r\nPHP Time Limit: 900\r\nPHP Max Input Vars: 3000\r\nPHP Max Upload Size: 1,000 MB\r\ncURL Version: ❌ 7.38.0, OpenSSL/1.0.2h - We recommend a minimum cURL version of 7.40.\r\nSUHOSIN Installed: –\r\nMySQL Version: ❌ 5.5.55 - We recommend a minimum MySQL version of 5.6. See: WordPress Requirements\r\nDefault Timezone is UTC: ✔\r\nfsockopen/cURL: ✔\r\nSoapClient: ✔\r\nDOMDocument: ✔\r\ngzip: ✔\r\nGD Graphics Library: ✔\r\nMultibyte String: ✔\r\nRemote Post: ✔\r\nRemote Get: ✔\r\n\r\n### Give Configuration ###\r\n\r\nGive Version: 1.8.17\r\nUpgraded From: 1.8.17\r\nTest Mode: Enabled\r\nCurrency Code: INR\r\nCurrency Position: Before\r\nDecimal Separator: .\r\nThousands Separator: ,\r\nSuccess Page: http://givewp.dev/donation-confirmation/\r\nFailure Page: http://givewp.dev/donation-failed/\r\nDonation History Page: http://givewp.dev/donation-history/\r\nGive Forms Slug: /donations/\r\nEnabled Payment Gateways: Test Donation, Offline Donation, PayPal Standard\r\nDefault Payment Gateway: Test Donation\r\nPayPal IPN Verification: Enabled\r\nPayPal IPN Notifications: N/A\r\nAdmin Email Notifications: Disabled\r\nDonor Email Access: Enabled\r\n\r\n### Session Configuration ###\r\n\r\nGive Use Sessions: Enabled\r\nSession: Disabled\r\n\r\n### Active Give Add-ons ###\r\n\r\n\r\n### Other Active Plugins ###\r\n\r\n\r\n### Inactive Plugins ###\r\n\r\nGive - Currency Switcher: by WordImpress – 1.0.0\r\nGive - Fee Recovery: by WordImpress – 1.3.2\r\nGive - Form Field Manager: by WordImpress – 1.2.3\r\nGive - Gift Aid: by WordImpress – 1.0.0\r\nGive - PDF Receipts: by WordImpress – 2.1\r\nGive - Recurring Donations: by WordImpress – 1.4\r\nGive - Setting API Fields Example: by WordImpress – 1.0\r\nGive - Stripe Gateway: by WordImpress – 1.5\r\nGive - Tributes: by WordImpress – 1.2\r\n\r\n### Active MU Plugins ###\r\n\r\nLocal by Flywheel Relative URL (for Live Links): by Flywheel – 1.0\r\n\r\n### Theme ###\r\n\r\nName: Twenty Seventeen\r\nVersion: 1.4\r\nAuthor URL: https://wordpress.org/\r\nChild Theme: No – If you're modifying Give on a parent theme you didn't build personally, then we recommend using a child theme. See: How to Create a Child Theme\r\n\r\n```\r\n</details>"},"comment":{"url":"https://api.github.com/repos/WordImpress/Give/issues/comments/349559497","html_url":"https://github.com/WordImpress/Give/issues/2461#issuecomment-349559497","issue_url":"https://api.github.com/repos/WordImpress/Give/issues/2461","id":349559497,"user":{"login":"DevinWalker","id":1571635,"avatar_url":"https://avatars0.githubusercontent.com/u/1571635?v=4","gravatar_id":"","url":"https://api.github.com/users/DevinWalker","html_url":"https://github.com/DevinWalker","followers_url":"https://api.github.com/users/DevinWalker/followers","following_url":"https://api.github.com/users/DevinWalker/following{/other_user}","gists_url":"https://api.github.com/users/DevinWalker/gists{/gist_id}","starred_url":"https://api.github.com/users/DevinWalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevinWalker/subscriptions","organizations_url":"https://api.github.com/users/DevinWalker/orgs","repos_url":"https://api.github.com/users/DevinWalker/repos","events_url":"https://api.github.com/users/DevinWalker/events{/privacy}","received_events_url":"https://api.github.com/users/DevinWalker/received_events","type":"User","site_admin":false},"created_at":"2017-12-06T07:38:05Z","updated_at":"2017-12-06T07:38:05Z","author_association":"CONTRIBUTOR","body":"@raftaar1191 it is important but @jaydeeprami I am unable to reproduce. Can you try on a fresh install and create a video? I'm suspect that this is an conflict with another add-on or plugin and not a core issue."}}
{"actor":{"display_login":"DevinWalker"}}