Comments (6)
Instead of having a fallback method for country is not ISO, we should simply make sure no value is posted to Reepay
from reepay-woocommerce-payment.
@markusbrunke Hi, for create the fallback we need to receive error code, I don't see 'customer already exist' error in the errors list https://api.reepay.com/v1/error_codes
About Country codes - Woocommerce return code in ISO 3166-1 alpha-2 and I what you API use same format, we can add condition for country arg https://wp-kama.ru/plugin/woocommerce/function/WC_Countries::country_exists and clear
from reepay-woocommerce-payment.
@dimaspolohov Forget customer already exist for now.
The issue with country is not ISO, is that some merchants are using plugins that remove the country field from WooCommerce checkout meaning, and in these cases, they receive this error. In the past, we have just asked the merchant to enable the country field again and hide it with CSS, but my guess is we might be sending some default text in the country field, which triggers the country is not ISO error.
from reepay-woocommerce-payment.
@markusbrunke We can send null or empty value for this.
from reepay-woocommerce-payment.
@dimaspolohov Please send empty value for this :-)
from reepay-woocommerce-payment.
@markusbrunke Hi, That commited
from reepay-woocommerce-payment.
Related Issues (20)
- Make API checks for payment methods HOT 2
- Setup Fee bug
- Show account info when API key has been saved HOT 4
- Make sure payment method can't be enabled if disabled in Reepay
- New ordres "on-hold" even if settings are correct. HOT 1
- New merged setting page HOT 3
- Add Anyday as payment method HOT 3
- Support WooCommerce blocks for Gutenberg
- PHP Fatal Error
- Visa DK payment method does not have any logo
- Customer's can't pay for pending payment orders
- Reepay does not change to correct order status when payment is authorized
- Payment method on payment method page do not owrk HOT 2
- Save credit card type and masked credit card number in order metadata
- 1.4.54 auto-update crashes sites - undefined $urls (webhook)
- Pay button includes HTML entity
- Maestro has wrong dimensions, messes up the grid HOT 1
- Code refactroing HOT 1
- Optimize file loading on Checkout page
- Ability to customize how handleID's are formated 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 reepay-woocommerce-payment.