mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fixes AXO settings fields display and AXO sandbox mode
This commit is contained in:
parent
2e6f403ed1
commit
11b87155f3
3 changed files with 10 additions and 13 deletions
|
@ -435,7 +435,9 @@ class AxoManager {
|
|||
}
|
||||
|
||||
async connect() {
|
||||
window.localStorage.setItem('axoEnv', 'sandbox'); // TODO: check sandbox
|
||||
if (this.axoConfig.environment.is_sandbox) {
|
||||
window.localStorage.setItem('axoEnv', 'sandbox');
|
||||
}
|
||||
|
||||
await this.fastlane.connect({
|
||||
locale: this.locale,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue