Skip to content

Commit

Permalink
Remove unused updateOrderStatusNonce from get_payment_fields_js_config.
Browse files Browse the repository at this point in the history
  • Loading branch information
shendy-a8c committed Apr 16, 2021
1 parent eea4bb1 commit 60e1848
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/class-wc-payment-gateway-wcpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,6 @@ public function get_payment_fields_js_config() {
'publishableKey' => $this->account->get_publishable_key( $this->is_in_test_mode() ),
'accountId' => $this->account->get_stripe_account_id(),
'ajaxUrl' => admin_url( 'admin-ajax.php' ),
'updateOrderStatusNonce' => wp_create_nonce( 'wcpay_update_order_status_nonce' ),
'createSetupIntentNonce' => wp_create_nonce( 'wcpay_create_setup_intent_nonce' ),
'genericErrorMessage' => __( 'There was a problem processing the payment. Please check your email inbox and refresh the page to try again.', 'woocommerce-payments' ),
'fraudServices' => $this->account->get_fraud_services_config(),
Expand Down

0 comments on commit 60e1848

Please sign in to comment.