We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3374543 commit 1b92419Copy full SHA for 1b92419
client/checkout/api/index.js
@@ -207,8 +207,6 @@ export default class WCPayAPI {
207
} );
208
};
209
210
- const isChangingPayment = getConfig( 'isChangingPayment' );
211
-
212
return (
213
confirmPaymentOrSetup()
214
// ToDo: Switch to an async function once it works with webpack.
@@ -228,6 +226,12 @@ export default class WCPayAPI {
228
226
getExpressCheckoutConfig( 'ajax_url' ) ??
229
227
getConfig( 'ajaxUrl' );
230
+ const isChangingPayment = getConfig( 'isChangingPayment' );
+ console.log(
231
+ 'Config source isChangingPayment:',
232
+ isChangingPayment
233
+ );
234
+
235
const ajaxCall = this.request( ajaxUrl, {
236
action: 'update_order_status',
237
order_id: orderId,
0 commit comments