PAYPAL_API_URL PAYPAL_API_URL $response $response $response $response authorizations captures $order->purchase_units()[0]->payments()->authorizations()[0]->status() $order->purchase_units()[0]->payments()->captures()[0]->status() null null $response $response $response $response $response $response $response $response $response $response wc_print_r( $args['body'], true ) wc_print_r( $response['body'], true ) wc_print_r( $response['response'], true ) apply_filters( 'ppcp_request_args', $args, $url ) file_get_contents( 'php://input' ) $response $response $response $response $breakdown to_array to_array to_array format format to_array to_array to_array return is_a( $unit, PurchaseUnit::class ); $address country_code format to_array to_array to_array to_array to_array to_array to_array to_array to_array is_a( $product, SellerStatusProduct::class ) is_string( $capability ) wp_json_encode( $this->json ) string new Token( $json ) static $created $event_types $event->name $this->event_types stdClass[] $this->status_code $this->status_code $cart->get_cart_contents_total() + $cart->get_discount_total() + $total_fees_amount $item->quantity() * $item->tax()->value() $item->quantity() * $item->unit_amount()->value() $total_fees_amount += (float) $fee->amount WC()->session->get( 'ppcp_fees' ) value (float) $item_total $fees_from_session $national_number $national_number from_wc_order $this->shipping_needed( ... array_values( $items ) ) && is_a( $customer, \WC_Customer::class ) (object) $data->resource (string) $data->event_version (string) $data->resource_type (string) $data->resource_version (string) $data->summary '' '' '' '' new stdClass() delete strrpos( $locale, '-' ) DAY_IN_SECONDS realpath( __FILE__ ) CONNECT_WOO_CLIENT_ID CONNECT_WOO_SANDBOX_CLIENT_ID $id button_renderer dcc_renderer message_renderer PAYPAL_INTEGRATION_DATE $value register_ajax_endpoints brand card card set_bn_code validate_paynow_form wp_json_encode( $data['payer'] ) $wc_order $wc_order $wc_order $number $wc_order $parsed_request_data $purchase_units dequeue_nonce_fix enqueue_nonce_fix $stream $json (array) $assoc_array (string) $raw_key $order_id $wc_order wp_unslash( $_REQUEST['ppcp-resume-order'] ) save_meta_data update_meta_data update_meta_data (int) $this->sanitize_custom_id( $purchase_unit->custom_id() ) wc_print_r( $result->to_array(), true ) authentication_result authentication_result card card card to_array $container $container get NoteTraits wc_gateway_ppec() get_payment_method get_current_screen()->id get_current_screen()->id get_payment_method $container realpath( __FILE__ ) CONNECT_WOO_MERCHANT_ID CONNECT_WOO_SANDBOX_MERCHANT_ID CONNECT_WOO_SANDBOX_URL CONNECT_WOO_SANDBOX_URL CONNECT_WOO_URL CONNECT_WOO_URL PAYPAL_API_URL PAYPAL_API_URL PAYPAL_SANDBOX_API_URL PAYPAL_SANDBOX_API_URL $config $field $key register_routes null ! empty( $url_args ) && is_array( $url_args ) is_array( $url_args ) WP_Error|array WP_REST_Request WP_REST_Request WP_REST_Request WP_REST_Request render render_button is_a( $result, SessionHandler::class ) get_current_user_id() run wp_unslash( $_GET[ $param_name ] ) render_session_cancellation store_session getKey current( $tokens ) process_order renew apply_filters( 'woocommerce_paypal_payments_subscriptions_get_token_for_customer', null, $customer, $wc_order ) $amount $amount $default_fields $description $id $id $order $order $subscription add_payment_token_id get realpath( __FILE__ ) localize handle_request to_array $token->source() null $menu_links getKey realpath( __FILE__ ) realpath( __FILE__ ) substr( $letters, 0, 6 ) wp_unslash( $_GET[ SectionsRenderer::KEY ] ) wp_unslash( $_GET['page'] ) wp_unslash( $_GET['section'] ) wp_unslash( $_GET['section'] ) wp_unslash( $_GET['tab'] ) $letters render render_completed_status render_incomplete_status render register_admin_assets register_assets $screen->id phone phone purchase_units null null null null null card $allowed_hosts handle_request wp_unslash( $_GET['token'] ) true true false false $location display_message $messages authorizations $captures card $payment_token_repository authorizations captures wp_json_encode( $payments->to_array() ) $amount render persist set listen listen_for_merchant_id listen_for_vaulting_enabled wp_unslash( $_GET['merchantId'] ) wp_unslash( $_GET['merchantIdInPayPal'] ) wp_unslash( $_POST['ppcp-nonce'] ) $value $field $field $field render render_dcc_does_not_apply_info render_dcc_not_active_yet render_dcc_onboarding_info render_text (int) $colspan $args $args $column $columns $field $key $methods $methods $notices $order_actions $value $wc_order_id $wc_order_id register_checkout_paypal_address_preset register_columns register_order_functionality register_payment_gateways $container realpath( __FILE__ ) handle_request handle_request handle_request rest_ensure_response( $response ) rest_ensure_response( $response ) rest_ensure_response( $response ) rest_ensure_response( $response ) rest_ensure_response( $response ) \WP_REST_Response $wc_orders $request['resource']['id'] isset( $request['id'] ) ? $request['id'] : '' isset( $request['id'] ) ? $request['id'] : '' isset( $request['id'] ) ? $request['id'] : '' isset( $request['resource']['id'] ) ? $request['resource']['id'] : '' $request['resource']['id'] $request['resource']['id'] $request['resource']['purchase_units'] rest_ensure_response( $response ) rest_ensure_response( $response ) rest_ensure_response( $response ) \WP_REST_Response $wc_orders isset( $request['id'] ) ? $request['id'] : '' isset( $request['resource']['id'] ) ? $request['resource']['id'] : '' $request['resource']['id'] $request['resource']['purchase_units'] rest_ensure_response( $response ) rest_ensure_response( $response ) rest_ensure_response( $response ) rest_ensure_response( $response ) \WP_REST_Response $request['resource']['custom_id'] isset( $request['id'] ) ? $request['id'] : '' isset( $request['resource']['id'] ) ? $request['resource']['id'] : '' $request['resource']['amount'] $request['resource']['custom_id'] $request['resource']['id'] get_amount get_error_message rest_ensure_response( $response ) rest_ensure_response( $response ) rest_ensure_response( $response ) \WP_REST_Response $request['resource']['custom_id'] isset( $request['id'] ) ? $request['id'] : '' isset( $request['resource']['id'] ) ? $request['resource']['id'] : '' $request['resource']['custom_id'] $request['resource']['id'] rest_ensure_response( $response ) \WP_REST_Response ( $handler->event_types() ) ? current( $handler->event_types() ) : '' $request['event_type'] realpath( __FILE__ )