shell bypass 403

GrazzMean Shell

: /home/workvvfb/.trash/includes/Gateway/ [ drwxr-xr-x ]
Uname: Linux premium264.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.3.21 [ PHP INFO ] PHP os: Linux
Server Ip: 69.57.162.13
Your Ip: 216.73.216.219
User: workvvfb (1129) | Group: workvvfb (1084)
Safe Mode: OFF
Disable Function:
NONE

name : VnpayGateway.php
<?php


/**
 * class VnpayGateway
 *
 * @link       https://appcheap.io
 * @since      3.1.0
 *
 * @author     AppCheap <ngocdt@rnlab.io>
 */

namespace AppBuilder\Gateway;

defined( 'ABSPATH' ) || exit;

class VnpayGateway {

	public function confirm_payment( $request ) {

		$order_id = $request->get_param( 'order_id' );
		$cart_key = $request->get_param( 'cart_key' );

		if ( empty( $order_id ) || empty( $cart_key ) ) {
			return new \WP_Error(
				"app_builder_confirm_payment",
				__( "Order ID or Cart Key not provider.", "app-builder" ),
				array(
					'status' => 403,
				)
			);
		}

		$order = wc_get_order( $order_id );

		if ( ! $order ) {
			return new \WP_Error(
				"app_builder_confirm_payment",
				__( "Order not found.", "app-builder" ),
				array(
					'status' => 403,
				)
			);
		}

		if ( $order->get_status() == 'processing' ) {

			return [
				'redirect'           => 'order',
				'order_id'           => $order_id,
				'order_key'          => $order->get_order_key(),
				'order_received_url' => $order->get_checkout_order_received_url(),
			];
		}

		return [
			'redirect' => 'checkout',
		];
	}

}
© 2025 GrazzMean