Comments (4)
Here are the other add ons that attempt to hide/show billing address fields at checkout, usually in JS:
- PMPro Add PayPal Express https://github.com/strangerstudios/pmpro-add-paypal-express/blob/dev/pmpro-add-paypal-express.php#L139-L217
- PMPro Donations https://github.com/strangerstudios/pmpro-donations/blob/dev/includes/checkout.php#L127-L130
- PMPro Variable Pricing https://github.com/strangerstudios/pmpro-variable-pricing/blob/dev/javascript/pmpro-variable-pricing.js#L40-L42
- https://github.com/strangerstudios/pmpro-pay-by-check/blob/dev/js/pmpro-pay-by-check.js#L16-L66
Potentially, we need updates to all of the above plugins to at least check the settings for free/gateway address requirements... or we could use this opportunity to do this address field toggle (for some of them it's also payment fields though) 1 way in core.
from pmpro-address-for-free-levels.
New plan is to make sure every paid gateway, including offsite gateways, have an option to show the billing address fields. If you want to collect billing address on free levels, we will still suggest this plugin. Might rename it to Home Address in those cases or something.
from pmpro-address-for-free-levels.
We still will want some of the JavaScript functionality to hide/show addresses for cases where your free gateway is set up to not require address but say the Stripe gateway is. In that case, we want to hide the address if a discount code reduces the price to free... or show the address fields if a plugin (e.g. donations or variable pricing) causes the price to increase > 0.
from pmpro-address-for-free-levels.
Let's Slate this for PMPro 2.6.
from pmpro-address-for-free-levels.
Related Issues (11)
- Incompatibility between MailChimp and PaidMembershipsPro HOT 1
- Suggested Improvement: Display Fields on Profile page HOT 3
- Change "Billing Address" section to "Address" for free level membership HOT 1
- Billing address for free level HOT 1
- Support this for PayFast
- Update plugin for translation
- User fields not appearing in user profile HOT 2
- Fields not showing on signup form with PMPro v1.8.1 HOT 1
- Conflict with International Addresses HOT 1
- BUG: Required fields are not actually required under some circumstances. HOT 4
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 pmpro-address-for-free-levels.