Giter Site home page Giter Site logo

woo-wallet's People

Contributors

danyapostfactum avatar eruditiontec avatar malsubrata avatar moumitamal avatar qwykx avatar robertdevore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

woo-wallet's Issues

Not working

Instamojo payment gateway charging full cart amount even after (If a purchase requires more balance than you have in your wallet, then if checked the wallet balance will be deduct first and the rest of the amount will need to be paid.) is checked

problem in tera wallet

hi
i have a problem with tera wallet
when this plugin is enabel
after pay
in (order-recived) page i have a error
who can help me?
1
this photo is problem when plugin is enable
2
this photo is when plugin disabled

Total Amount Calculation issue when Enabled coupon as cashback

Hello @malsubrata ,

Recently we Enabled Coupon as cashback from woo smart coupons and saw that the issue i mentioned here is back again.

#21

Last time you gave code snippet , that was already in functions.php

Check the screenshot here we added a 100% cashback coupon upto Rs 500 and as u can see the cashback amount is added in total amount.

Screenshot (69)

Please reply soon

Regards,
Rohit.

Bulk Credit / Debit implementation

Hello

I've implemented a quick and dirty credit / debit bulk action.

You might be interested to implement it in tera-wallet natively.

See #46 for changes

Cheers

having issue with discount plugin

tested with some discount plugin and it seem like the product price will revert back to original price, once deactivate woo-wallet, the price will show properly discounted price again.

Cash back

When set to percentage cash back on product display it is not showing percentage cash back instead it is showing the amount cashback. Please help

Total Amount Calculation issue

If used Woowallet with smartcoupons, with cashback setting.

it gives calculation total error for product . check images.
screenshot 68
screenshot 69

Wallet Checkout

Hello,

I am facing few issues with Terra Wallet checkout and wallet balance.

First of all, it should not display address and other fields, on the checkout page, which are not required in case of wallet recharge.

Second, when the checkout is completed, the order is waiting for the store manager's approval. If there is a setting, for each payment method, from where the administrator can set a default order-status when order is placed.

Like, if a user is using Paypal, Debit/Credit Card, or other payment methods, in which fund is transferred instantly, then order-status should be set to “completed”, or if the user is using, Check, Bank Transfer or Cash on Delivery, then order status should be set to On Hold for store manager approval.

Also, offline payment methods, like Cash, or other payment methods, which need confirmation, like Check and Bank Transfer, should be hidden by default.

Cashback Options not shown anymore for variable products? Intentional or regression?

I can see there is a change in 1.3.10 where it appears that the admin UI has regressed for cashback and variable products? Basically the 'cashback' tab disappears for variable products.

In class-woo-wallet-admin.php
you now set a class of "hide_if_variable" which effectively makes the TAB disappear (display: none). I see this starting with this commit fc73d29

My customer believes he was able to set this option also for variable products in the past, is it possible?

The balance in the admin panel is not updated.

In the admin panel in the WooWallet tab, when you click on the user's balance settings and when you enter the required amount of replenishment after clicking on the "save data" button, the error "An error has occurred, please try again" appears. What to do?

Product refund: used wallet balance is not credited back

Hello,

I found a problem when a user makes an order using his wallet credit balance and then a refund is issued. I am expecting the following:

  1. User side: the "pay by wallet" amount is credited back to the user's wallet
  2. Vendor side: Vendor's earning for the order goes back to zero

On the contrary, the current TeraWallet behavior is to:

  1. User side: no cashback credit is issued after refund!
  2. Vendor side: Vendor's earning is negative (for the amount of the "pay by wallet" value)!!

Please see video: https://drive.google.com/file/d/1JngbBYA0pJTCdVe1R4iVWkT-uB6O_Kra/view?usp=sharing

I look forward to hearing from you

Woo-Wallet

Hi Malsubrata! Good effort and plugin you have there!

But i am having trouble setting up my cashback program. when i choose cashback by percentage, it doesnt have a setting for me to set how many % i want to cashback for my customer.

Inside my product i also did not see any advance option from Woo-wallet

Would really appreciate if you can help me out with this :)

Thanks!

How we can manage native balance?

we need to one functionality for wallet, we can allow order to employee for lunch until user wallet balance -10.

Not need to any payment methods and shipping methods.

Please help me to suggest about it. any hook available for this?

max credit limit for user

Wallet bug with product refunds

Hello,

I found a major bug with the cashback calculation: the wallet balance is not rectified in case of a product refund.

This is a major issue because a user could keep buying expensive products and then asking for a refund, keeping the entire cashback amount. Obviously, the cashback earned from a refunded order needs to be written off.

Please see this test on plain installation: https://drive.google.com/file/d/1XPCPnIRzFu7mSiWn4Mk-EcB25CCqoOGB/view?usp=sharing

I look forward to finding a solution. Hope it helps to make TeraWallet the best cashback solution on the market.

A terrible bug when charging the wallet with multiple currencies

The wallet works with the main currency of the site only.

For example, my site contains dollar, euro and pound currencies.

The dollar is the main currency in the site settings.

When you recharge your wallet balance with 10 euros and then change the currency icon, you will find that you have 10 dollars, not 10 euros!

Assumed the exchange rate is considered in the portfolio between different currencies

Ordering by "Remaining balance" does not work

Ordering by "Remaining balance" does not seem to work in the admin panel.

It looks like the problem is in /includes/admin/class-woo-wallet-balance-details.php in the prepare_items() function.
As I understand it, according to the documentation for WP_User_Query orderby=balance will not work even if fields=all_with_meta is set because the balance is not stored in the wp_usermeta table.

Imgur
Imgur

New User - Set minimum amount spent

Hello,
Thank you for the wonderful plugin. Can you add a feature in Actions, for New User, I want to give cashback - 5% cashback on purchases above 1500.

Right now, the feature supports only to place an amount.

Thank you

Error wallet page

Hello. I installed this plugin, then uninstalled it last month and delete the wallet page. Then i re-installed but the page is still missing thus showing error. I can just create the page again right? Is there shortcode i can copy-paste to the wallet page?

Transfer issue

Has anyone reported an issue with the transfer function? The message I get is the it can not perform this action at the moment!

Thanks

Transfer amount to another member by Display Name not email.

Hi, great extension.

It would be great if the transfer wallet points feature could select via a users Display Name.
Perhaps with an auto complete.

image

https://codex.wordpress.org/Function_Reference/get_currentuserinfo

Ideally the email address would remain out of the display, but I suppose it could be an option to show/hide it.

For sites that have buddy press maybe it could show more info such as friends only filter and display picture.

What are your thoughts on this feature request, it might be something I can pull off, do you accept pull requests, is there a preferred way to implement plugins to a plugin for a plugin? "Pluginception".

Kind regards,
Liam

Plugin dashboard disappeared (404 Error)

Hi,

I updated the latest version of woocommerce wallet and the plugin dashboard disappeared and is showing 404 error.

Here is the attached screenshot.

p.s. The portal where it is integrated, it is a non profit initiative.
screenshot

referral program in woo wallet plugin

Hi,

I also need a referral program on Tera Wallet through which I add credit to people account only IF the person they have referred my site to makes their 1st Purchase.
Currently, the Referral Program working on the site is such that if a user creates only an account the referring person gets credit in their wallet. This thing is very misused.

users create a more fake account and earn referral money.

So, I enable email verification, but the problem still continues the amount credited instantly to the user without verifying email.

Can someone guide me regarding this?

Permalinks and other inconsistencies

The slug for transaction history should be under the wallet one, i.e., look at the inconsistency I've got:

/my-account/wallet
/my-account/wallet/add
/my-account/wallet-transactions

I'd like the last one to be /my-account/wallet/transactions, for example.

If I'm in My Account, then the link should just be named Wallet and not My Wallet. Also, the whole topup thing is dialect-specific. For example, in America, wallets are reloaded and recharged, not topped-up.

Allow custom step e.g. 1 or increments of some number on topup amount and way to validate decimal is allowed or not.

Would be great to have a way to configure the step amount to be a whole number e.g. value of 1.

As well as a way to enforce a whole number only.

templates/wc-endpoint-wallet.php
65:                        <label for="woo_wallet_balance_to_add"><?php _e( 'Enter amount', 'woo-wallet' ); ?></label>
70:                        <input type="number" step="0.01" min="<?php echo $min_amount; ?>" max="<?php echo $max_amount; ?>" name="woo_wallet_balance_to_add" id="woo_wallet_balance_to_add" class="woo-wallet-balance-to-add" required="" />

Should probably apply to transferring as well.

Image Post Bug

Hallo,
Great plugin.. I discovered a common bug across different sites with no just this plugin and woocomerce only with bare minimum themes...

When try to post/attach and "Set a Featured Image" it bugs out and doesnt allow it for some reason...\

Kindly investigate

Activate wallet by user role

Hello,

I'd like to suggest this feature for future TeraWallet versions: an admin filter to choose which user roles can enable TeraWallet and its cashback feature.

I say user roles, but it would work even better with membership plans (I personally use WooCommerce Memberships).

Maybe via integration with WPFusion?

Discount without deducting from the wallet

First of all I’m sorry for my English, I’m using a translator. I detected the following problem: if you activate the option “Automatically deduct balance from the wallet” and at checkout the option “Pay by wallet”, the customer is able to make the purchase with 51% of the value of the product.
If the customer makes a purchase, but does not finalize the payment, and he decides to pay later on the “Orders” panel, the final amount displayed is discounted, and he has not deducted anything from the wallet.
So if the customer has 51% of the value of the product, he buys but does not finalize the payment, so he comes back and chooses “Pay by wallet”, the amount will already be discounted, and he will use the wallet to pay, the system gives the discount even if his balance is insufficient, and still uses the balance to pay for the product.
A temporary solution is to deactivate “Pay by wallet” so the system will deduct from the wallet and the customer pays the rest by another means of payment. The problem is, if the customer has a balance in the portfolio greater than the value of the product, he cannot use that balance, so the customer will complain.

Problema al eliminar recarga de saldo del carrito.

Los clientes de mi sitio me indican que luego de crear una solicitud de recarga de saldo, es imposible eliminarla del carrito de compras.

Efectivamente, lo he probado múltiples veces, y luego de agregar al carrito una recarga de saldo, es imposible eliminarla, algo idea de porque esto sucede, y cómo puede solucionarse?

an issue in the check out page

hi there,
i am not sure what happened here.
i visited the wallet page and need to add 0.50$ to my wallet.
in the checkout page i got a warning i have an error, in the debug mode i fin that:
Notice: Undefined variable: order in /home/bpp/web/bpearlp.com/public_html/wp-content/plugins/woo-wallet/includes/helper/woo-wallet-util.php on line 470

Fatal error: Uncaught Error: Call to a member function get_items() on null in /home/bpp/web/bpearlp.com/public_html/wp-content/plugins/woo-wallet/includes/helper/woo-wallet-util.php:12 Stack trace: #0 /home/bpp/web/bpearlp.com/public_html/wp-content/plugins/woo-wallet/includes/helper/woo-wallet-util.php(470): is_wallet_rechargeable_order(NULL) #1 /home/bpp/web/bpearlp.com/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-payment-method.php(92): is_full_payment_through_wallet() #2 /home/bpp/web/bpearlp.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(151): Woo_Gateway_Wallet_payment->is_available() #3 /home/bpp/web/bpearlp.com/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3678): WC_Payment_Gateways->get_available_payment_gateways() #4 /home/bpp/web/bpearlp.com/public_html/wp-includes/class-wp-hook.php(288): wc_get_pay_buttons('') #5 /home/bpp/web/bpearlp.com/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array in /home/bpp/web/bpearlp.com/public_html/wp-content/plugins/woo-wallet/includes/helper/woo-wallet-util.php on line 12

TeraWallet not compatible with Dokan (multi-vendor orders)

The current TeraWallet version is not calculating correctly the cashback total for orders containing products from different vendors (via Dokan).

The cashback is calculated twice: for each sub-order as well as for the main order.

Here a video reproducing the issue with a clean installation: https://drive.google.com/file/d/1uY8VZc7mO8XDo-nJWh1zujP_k_S_1vxd/view?usp=sharing

This is a major issue that makes TeraWallet not usable with Dokan. Please urgently fix it.

Payment option not available when expected

Hello,

I'm using 1.2 from Github and Woo 3.4.3 on WP 4.9.7 using Storefront theme.

If I have $1000 in my wallet, and the cart total is $1200 (cart > wallet), I get the checkbox to use the wallet, it works well.

But If I have $1000 in my wallet, and the cart total is $600 (cart < wallet) I get no option to use the wallet.

This is not as expected, correct? Shouldn't you be able to use the wallet regardless of how much you have in cart? I see it supports partial payment so it should not be an issue.

WC 3.6 Warning in Woo-wallet Rest API

hi @malsubrata
i just want to report issue,
yesterday i updated my WC from 3.5.8 to 3.6
after that i got this warning message.
this only happen in 3.6 only

Notice: wc_rest_controller was called incorrectly. Classes that extend the WooCommerce/WordPress REST API should only be loaded during the rest_api_init action, or should call WC()->api->rest_api_includes() manually. Backtrace: require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce->on_plugins_loaded, do_action('woocommerce_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, WooWallet->woocommerce_loaded_callback, WooWallet_API->__construct, WooWallet_API->rest_api_init, WooWallet_API->rest_api_includes, include_once('/plugins/woo-wallet/includes/api/class-wc-rest-woo-wallet-controller.php'), spl_autoload_call, WC_Autoloader->autoload, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.6.) in /var/www/html/tasimportir/wp-includes/functions.php on line 4667

you can see it here: https://github.com/woocommerce/woocommerce/blob/master/includes/class-wc-autoloader.php#L94

thanks

Allow Multiple Subscriptions in One CheckOut

We want to use the Woo-Wallet to work with our subscriptions. But at the moment only one subscription at once can be ordered.

Our subscriptions are Fresh Food Products (Vegetables, Fruits, Milk, Bread) on a weekly or monthly basis.

This Message appears now: "A subscription has been removed from your cart. Due to payment gateway restrictions, different subscription products can not be purchased at the same time."

In the WooCommerce Subscription Plugin. This could be possible.
Bildschirmfoto 2020-03-05 um 10 02 29

It would be perfect, if it will work with multiple subscriptions at once. 😍

How to reset the wallet

Hello everyone,
I am testing the plugin, I have made some transactions but I have a question:
How do I restart the transactions so that no user has debits or credits.

Thank you

Wallet Balance Issue

I have an issue with woo-wallet,
As you can see in the attached image, the wallet balance is 0, although the balance is credited with 10.00 EGP for being a member
Please support to solve this issue

Woo-Wallet issue

Deduction of Wallet amount twice in case of retry payment

Hello Subrata,

Found a new weird bug. Please look at this.

Consider a case,
user added a product in cart , apply Wallet Credit option & Goes to checkout

Here Final total amount will be 'Cart value - Wallet credit'

On checkout he cancels the payment, And retry the payment from my account section.

Now it will deduct wallet credit two times.

please check the attachment.

Regards,
Rohit

screenshot 145

How to prevent wallet send email for specific email address?

hi,

i want to prevent woo-wallet for send email for specific address.

example: prevent send email for new order

add_filter( 'woocommerce_email_recipient_new_order', 'ieo_ignore_new_order', 10, 2 );
function ieo_ignore_new_order( $recipient, $order ) {
	// Disable Customer new order
	if(stripos(get_option('ignore_email_new_order'), $order->get_billing_email())!==false){
        $recipient = '';
    }
    return $recipient;
}

that code works, but when i change email id into woo wallet email id, i still recieved woo-wallet email

$this->id = 'new_wallet_transaction';

add_filter( 'woocommerce_email_recipient_new_wallet_transaction', 'ieo_ignore_wallet', 10, 2 );
function ieo_ignore_wallet( $recipient, $order ) {
	$res['recipient_before'] = $recepient; //for debug
	$res['order'] = $recepient; //for debug
	$res['blacklist'] = get_option('ignore_email_wallet'); //[email protected] //for debug
	$res['email'] = $order->get_billing_email; //for debug
	// Disable wallet order
	if(stripos(get_option('ignore_email_wallet'), $order->get_billing_email())!==false){
        $recipient = '';
    }
	$res['recipient_after'] = $recepient; //for debug
	file_put_contents('json.txt', json_encode($res)); //for debug
    return $recipient;
}

result: email new order not sent (because 1st script) but email wallet change still sent.
and my log json.txt display this output

{"recipient_before":null,"order":null,"blaclist":"[email protected]","email":"","recipient_after":null}

i can hackcore the woo-wallet plugin, but i want to do this correctly.

Thanks for your great works

Missing API endpoints in DOCS for woocommerce API

We can use WooCommerce API for external API calls to the wallet at these endpoints. I spent so much time getting JWT auth to work to access the endpoints currently listed inside the WP api, and then was unable to whitelist other api connections, and finally figured out how to access wallet from the woocommerce API. Please add these to the docs for others.

GET TRANSACTIONS
https://example.com/wp-json/wc/v2/wallet/{id}
GET BALANCE
https://example.com/wp-json/wc/v2/wallet/balance/{id}
POST TRANSACTION
https://example.com/wp-json/wc/v2/wallet/{id}

NOTE: '.../wc/v2/....', not '.../wp/v2/....' not '..../wc/v3/...'
also 'balance' not 'current_balance'

Balance not showing after wallet topup

HI Support Team,

I am facing an issue on wallet topup. When a person top-ups his/her wallet, Their money is not showing in the wallet, while i got the money in my payment gateway.

  • Order was generated.
  • I made the order complete to check if something happens, but not fruitful.

Please let me know if i am missing something. I have attached my setting options.

Thanks!

Screen Shot 2019-04-11 at 11 55 25 PM
Screen Shot 2019-04-11 at 11 55 03 PM
Screen Shot 2019-04-11 at 11 54 53 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.