mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Revert unneeded changes.
This commit is contained in:
parent
282d1a73e0
commit
c2946b0516
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ class CheckoutActionHandler {
|
|||
|
||||
configuration() {
|
||||
const spinner = this.spinner;
|
||||
const createOrder = async (data, actions) => {
|
||||
const createOrder = (data, actions) => {
|
||||
const payer = payerData();
|
||||
const bnCode = typeof this.config.bn_codes[this.config.context] !== 'undefined' ?
|
||||
this.config.bn_codes[this.config.context] : '';
|
||||
|
@ -136,7 +136,7 @@ class CheckoutActionHandler {
|
|||
console.error(err);
|
||||
spinner.unblock();
|
||||
|
||||
if (err && (err.type === 'create-order-error')) {
|
||||
if (err && err.type === 'create-order-error') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue