Home / eCommerce / Paystack Split Payments Integration with WC Vendors — Calculating Vendor Splits
Duplicate Snippet

Embed Snippet on Your Site

Paystack Split Payments Integration with WC Vendors — Calculating Vendor Splits

Code Preview
php
<?php
if ( wc_string_to_bool( get_option( 'wcvendors_vendor_give_taxes' ) ) ) {
	// Add tax fees to vendor total
} else {
	// Add tax total to marketplace split
}
if ( wc_string_to_bool( get_option( 'wcvendors_vendor_give_shipping' ) ) {
	// Add shipping fees to vendor total
} else {
	// Add shipping total to marketplace split
}

Comments

Add a Comment