@wilabudi Was this actually a problem that was solved or was there some other conflict which interfered with Terra Wallet now being unable to function with Dokan Multivendors?
@wilabudi @conceptalchemycompany we fix this in our GitHub repo here https://github.com/malsubrata/woo-wallet please download the plugin from here and let us know if the issue is fixed or not. We will push this on wordpress plugin directory in next update.
The problem is not fixed. I appreciate your effort to help us.
I have this problem with dokan plugin too. Can’t topup!
I appreciate your effort to help us.
Many thanks!
Hi @all,
I have problem with Dokan plugin. It can’t topup.
I found the cause was due to the Dokan plugin preventing product owners from buying their own products. And it blocks even administrators from buying their own products (product Topup too), so here’s the solution:
add_filter('dokan_vendor_own_product_purchase_restriction', 'ftv_prevent_restriction_dokan_for_terra_wallet_product', 9999, 2);
function ftv_prevent_restriction_dokan_for_terra_wallet_product($is_purchasable, $product){
if(!function_exists('get_wallet_rechargeable_product')) return $is_purchasable;
$recharse_product_id = get_wallet_rechargeable_product()->get_id();
if($product && $product->get_id() == $recharse_product_id){
return true;
}
return $is_purchasable;
}
Hope it helps everyone a lot!
@dangngocbinh Thanks for reporting this issue we will fix this in our next plugin update.