v5.2.1
This commit is contained in:
parent
3be9cdd77c
commit
b46ef7d61b
@ -1,3 +1,7 @@
|
||||
## [5.2.1] - 2020-10-13
|
||||
|
||||
* Bug fixes
|
||||
|
||||
## [5.2.0] - 2020-10-11
|
||||
|
||||
* Migrate to Nylo 2.1.0
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
# WooCommerce App: Label StoreMax
|
||||
|
||||
### Label StoreMax - v5.2.0
|
||||
### Label StoreMax - v5.2.1
|
||||
|
||||
|
||||
[Official WooSignal WooCommerce App](https://woosignal.com)
|
||||
|
||||
@ -38,32 +38,32 @@ class WebViewState extends NyState<PayPalCheckout> {
|
||||
String tmp = "";
|
||||
if (customerAddress.firstName != null) {
|
||||
tmp +=
|
||||
'<input type="hidden" name="first_name" value="${customerAddress.firstName}">\n';
|
||||
'<input type="hidden" name="first_name" value="${customerAddress.firstName.replaceAll(new RegExp(r'[^\d\w\s,\-+]+'),'')}">\n';
|
||||
}
|
||||
if (customerAddress.lastName != null) {
|
||||
tmp +=
|
||||
'<input type="hidden" name="last_name" value="${customerAddress.lastName}">\n';
|
||||
'<input type="hidden" name="last_name" value="${customerAddress.lastName.replaceAll(new RegExp(r'[^\d\w\s,\-+]+'),'')}">\n';
|
||||
}
|
||||
if (customerAddress.addressLine != null) {
|
||||
tmp +=
|
||||
'<input type="hidden" name="address1" value="${customerAddress.addressLine}">\n';
|
||||
'<input type="hidden" name="address1" value="${customerAddress.addressLine.replaceAll(new RegExp(r'[^\d\w\s,\-+]+'),'')}">\n';
|
||||
}
|
||||
if (customerAddress.city != null) {
|
||||
tmp +=
|
||||
'<input type="hidden" name="city" value="${customerAddress.city}">\n';
|
||||
'<input type="hidden" name="city" value="${customerAddress.city.replaceAll(new RegExp(r'[^\d\w\s,\-+]+'),'')}">\n';
|
||||
}
|
||||
if (customerAddress.customerCountry.hasState() &&
|
||||
customerAddress.customerCountry.state.name != null) {
|
||||
tmp +=
|
||||
'<input type="hidden" name="state" value="${customerAddress.customerCountry.state.name}">\n';
|
||||
'<input type="hidden" name="state" value="${customerAddress.customerCountry.state.name.replaceAll(new RegExp(r'[^\d\w\s,\-+]+'),'')}">\n';
|
||||
}
|
||||
if (customerAddress.postalCode != null) {
|
||||
tmp +=
|
||||
'<input type="hidden" name="zip" value="${customerAddress.postalCode}">\n';
|
||||
'<input type="hidden" name="zip" value="${customerAddress.postalCode.replaceAll(new RegExp(r'[^\d\w\s,\-+]+'),'')}">\n';
|
||||
}
|
||||
if (customerAddress.customerCountry.countryCode != null) {
|
||||
tmp +=
|
||||
'<input type="hidden" name="country" value="${customerAddress.customerCountry.countryCode}">\n';
|
||||
'<input type="hidden" name="country" value="${customerAddress.customerCountry.countryCode.replaceAll(new RegExp(r'[^\d\w\s,\-+]+'),'')}">\n';
|
||||
}
|
||||
formCheckoutShippingAddress = tmp;
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# Official WooSignal App Template for WooCommerce
|
||||
|
||||
# Label StoreMax
|
||||
# Version: 5.2.0
|
||||
# Version: 5.2.1
|
||||
# Author: Anthony Gordon
|
||||
# Homepage: https://woosignal.com
|
||||
# Documentation: https://woosignal.com/docs/app/ios/label-storemax
|
||||
|
||||
Loading…
Reference in New Issue
Block a user