mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Testing AXO
This commit is contained in:
parent
9391865217
commit
fe03215799
2 changed files with 3 additions and 1 deletions
|
@ -549,7 +549,7 @@ class AxoManager {
|
|||
onClickSubmitButton() {
|
||||
if (this.data.card) { // Ryan flow
|
||||
log('Ryan flow.');
|
||||
this.submit(this.data.card.paymentToken);
|
||||
this.submit(this.data.card.getPaymentToken());
|
||||
|
||||
} else { // Gary flow
|
||||
log('Gary flow.');
|
||||
|
|
|
@ -99,6 +99,8 @@ class FormFieldGroup {
|
|||
}
|
||||
|
||||
inputValue(name) {
|
||||
console.log('inputValue:name', this.fields[name].selector);
|
||||
|
||||
return document.querySelector(this.fields[name].selector).value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue