I have the plugin activated only as a wallet, with the purchase reward enabled when an order is placed. All other features are disabled until I find a solution to these issues.
The first issue is with the daily visit reward. Whenever the site cache is purged, the reward is given again, and this happens every time the cache is cleared.
The second issue is with the referral system. Just clicking on the referral link grants the reward, even if the referred user doesn’t make a purchase. This happens every time the link is clicked, no matter how many times.
Thanks for your help!
]]>This is the error I found in the log under the name of FATAL ERROR.
Occurred when trying to make a refund with TeraWallet, the page after clicking on the "Refund with TeraWallet" button remains pending and generates an error 500. If I reload the page in the order I find the refund made but in the customer's balance there is no trace of the credit.
What do you think is happening?
thanks to everyone
mauro
2024-12-04T13:23:08+00:00 Critico Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::get_customer_id() in /home/customer/www/roderi.it/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-cashback.php:76
Contesto aggiuntivo
{
"error": {
"type": 1,
"file": "/home/customer/www/roderi.it/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-cashback.php",
"line": 76
},
"remote-logging": true,
"backtrace": [
"",
"#0 /home/customer/www/roderi.it/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-ajax.php(193): Woo_Wallet_Cashback::calculate_cashback(false, 34149, true)",
"#1 /home/customer/www/roderi.it/public_html/wp-includes/class-wp-hook.php(324): Woo_Wallet_Ajax->recalculate_order_cashback_after_calculate_totals(false, Object(WC_Order_Refund))",
"#2 /home/customer/www/roderi.it/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)",
"#3 /home/customer/www/roderi.it/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)",
"#4 /home/customer/www/roderi.it/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1967): do_action('woocommerce_ord…', false, Object(WC_Order_Refund))",
"#5 /home/customer/www/roderi.it/public_html/wp-content/plugins/woocommerce/includes/wc-order-functions.php(616): WC_Abstract_Order->calculate_totals(false)",
"#6 /home/customer/www/roderi.it/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-ajax.php(279): wc_create_refund(Array)",
"#7 /home/customer/www/roderi.it/public_html/wp-includes/class-wp-hook.php(324): Woo_Wallet_Ajax->woo_wallet_order_refund('')",
"#8 /home/customer/www/roderi.it/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)",
"#9 /home/customer/www/roderi.it/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)",
"#10 /home/customer/www/roderi.it/public_html/wp-admin/admin-ajax.php(192): do_action('wp_ajax_woo_wal…')",
"#11 {main}",
"thrown"
]
}
]]>It gets a javascript error “TypeError: undefined is not an object (evaluating ‘e.data.error’)” on the ajax return function – seems that there is nothing returned from the server.
]]>I want that when the customer has 10 dollars in wallet and the product chooses is 10 dollars, customer can only use 5 dollars of it, that is, customer can only use half of the final amount, or if customer chooses a product that is 25 dollars, customer can use the entire amount of money.
]]>I’m using WCFM and want to use it with TeraWallet. I’m using Stripe as a gateway payment to top-up the wallet.
When a user credit his wallet, he/she uses his credit card to pay for the amount he/she wants to credit. The amount goes on my stripe account minus the fees from Stripe. Then when he/she buys something from the marketplace, is it possible that that the amount is automatically split between the vendor and the admin. If I set up a commission of 10%, when an item is bought, will this work automatically.
Then I could buy the Withdrawal Plugin and both the admin and vendor can get the money on their respective Paypal account ?
If I want to use Paypal as a withdraw method, which plugin should I install please ?
I’m not sure how that would work, knowing that the “real” money went on my Stripe account (minus the fee). Thanks for you help.
Francois
]]>I need the user to be connected directly to the payment portal when he clicks on the credit increase button, or if not, he should go to the shopping cart and have a button that goes directly to the payment portal and not to the checkout page at all, because it is not needed to increase the credit of the wallet.
Thank you, please help?
]]>