📕
Meup - Marketplace Events WordPress Theme
  • READ THE FIRST
  • Global
    • Youtube Tutorials
    • Install Theme
    • Update Theme/Plugins
      • Automatic Update
      • Manual Update
    • Support Theme
  • Basic
    • Header Settings
    • Update Footer
    • Home Page
    • Theme Options
      • Typography
      • Layout Global
      • Header Global
      • Footer Global
      • Blog
      • Event
      • Venue
      • Author
      • Site Identity
  • Main Features
    • How to make money with Theme?
    • VENDORS FEATURES
      • READ THE FIRST
      • Package
      • Create Event
        • Basic
        • Ticket
          • Internal link - No Seat
          • Internal link - Simple Seat
          • Internal link - Map
          • Event Online (Virtual Online)
          • External Link
          • Customize Template
        • Calendar
        • Coupon
        • Staff member
        • Cancel booking
        • Extra Service
      • My Listings
      • Wallet
      • General
      • My Bookings
      • My Wishlist
      • My Profile
    • USER FEATURES
      • READ THE FIRST
      • My Bookings
      • My Wishlist
      • My Profile
    • ADMIN FEATURES
      • Create Event
      • Manage Event
      • Manage Packages
      • Manage Venues
      • Manage Categories
      • Manage State, City
      • Manage Custom Taxonomy
      • Manage Custom Checkout Fields
      • Manage all Bookings
      • Manage all Tickets
      • Report Sales
      • Report User
      • Cancel/Refund Booking
      • Manage Withdraw and Payout
        • Method 1
        • Method 2
    • Settings
      • General
      • Event
      • Package
      • Checkout
      • Cancel Booking
      • Mail
      • Tax & Profit
      • Role
      • PDF Invoice
      • Ticket Transfer
      • Date Format
    • Elements in page
      • Search Form
      • Search Half Map
      • Event Category
      • Event Slider
      • Location Event
      • Event Slideshow
      • Event Grid
  • Login/Register User
    • READ THE FIRST
    • Setup Login, Register
    • Customize Register User Form
    • Admin Approve Vendor
  • Scan QR code in ticket
    • READ THE FIRST
    • Via Mobile Phone
    • Via Application
      • Install Application
      • Use Application
      • Customize Application
    • Via a link
    • Note
  • Frontend
    • Change Slug event
    • Event Archive Template
    • Event Detail Template
    • Cart Event Page
    • Checkout page in WooComemrce
    • Author Page
    • Customize PDF Ticket
    • Disable Marketplace
    • Vendor Dashboard
    • Mail
    • Update Sharing Social
  • Other
    • Mail chimp setting
    • Google Map
    • Translation
    • Find Icons
  • FAQs
    • Can't Book Events
    • Cart Event Error
    • Admin will approve event before publish it.
    • Login before booking event
    • when i create events, there is not ''booking button'' but ''share button''
    • Get Token Instagram
    • The vendor submit event without register package
    • Search go to home page
Powered by GitBook
On this page
  • 1: Admin Setup Payout Method
  • 2: The Vendor: withdraw amount from his account
  • 3: The Admin will see requirement withdraw of vendor in Payout menu
  • 4: Update Calculate Profit for Vendor

Was this helpful?

  1. Main Features
  2. ADMIN FEATURES
  3. Manage Withdraw and Payout

Method 2

PreviousMethod 1NextSettings

Last updated 8 months ago

Was this helpful?

1: Admin Setup Payout Method

From Menu left panel click Payout Method >> New

The vendor will see that payout method in Profile

2: The Vendor: withdraw amount from his account

3: The Admin will see requirement withdraw of vendor in Payout menu

The admin can update payout with status: Completed, Canceled, Pending

4: Update Calculate Profit for Vendor

You can use filter hook: 'el_get_profit_id_booking' to calculate profit for Vendor.

// Some code
add_filter( 'el_get_profit_id_booking', 'get_profit_by_id_booking_customize', 10, 2 );

function get_profit_by_id_booking_customize ( $profit, $id_booking ) {

	if ($id_booking == null) return ;

	$id_event = get_post_meta( $id_booking, OVA_METABOX_EVENT . 'id_event', true );
	$total_after_tax = get_post_meta(  $id_booking, OVA_METABOX_EVENT . 'total_after_tax', true );
	$total_before_tax = get_post_meta( $id_booking, OVA_METABOX_EVENT .'total', true );


	$list_ticket_by_id_booking = EL_Ticket::instance()->get_list_ticket_by_id_booking($id_booking);
	$number_ticket = count($list_ticket_by_id_booking);

	$number_ticket_free = EL_Ticket::instance()->get_number_ticket_free_by_id_booking($id_booking);
	$number_ticket_paid = $number_ticket - $number_ticket_free; 

    $total_admin =  get_total_admin($id_event, $total_before_tax, $number_ticket_paid, $number_ticket_free);

	$profit = $total_before_tax - $total_admin;
	
    return $profit;
	
}
Admin add payout method
Vendor choose Payout Method
Manage Wallet
Insert Amount to withdraw