Title: Central Deposit Issue
Last modified: June 6, 2023

---

# Central Deposit Issue

 *  Resolved [Mikel](https://wordpress.org/support/users/ogmic/)
 * (@ogmic)
 * [3 years ago](https://wordpress.org/support/topic/central-deposit-issue/)
 * Hello, i am currently using the central deposit add-on… and its working perfectly
   except that when a debit transaction is posted to a user’s account (**_with zero
   balance_**). The money gets added to the central deposit account. 
   How do i prevent
   the money from been added when the user does not have enough funds in his/her
   wallet.The central deposit should handle only successful debit/credit transactions,
   and not failed debits. That does not make sense (don’t you think?).

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Daniyal Raza](https://wordpress.org/support/users/daniyalraza01/)
 * (@daniyalraza01)
 * [3 years ago](https://wordpress.org/support/topic/central-deposit-issue/#post-16800414)
 * Hello [@ogmic](https://wordpress.org/support/users/ogmic/) ,
 * Thanks for contacting us.
 * Hope you are doing well, In which scenario or event this issue is appearing on
   your website? Is it happening in the case of transfer, Woocommerce Purchase or
   any other specific event? Please specify or it will helpful if you can please
   make a short video of the whole scenario?
 * Hope to hear from you soon.
 * Thanks & Regards,
   WP Experts Support Team.
 *  Thread Starter [Mikel](https://wordpress.org/support/users/ogmic/)
 * (@ogmic)
 * [3 years ago](https://wordpress.org/support/topic/central-deposit-issue/#post-16807766)
 * Hi, thanks for your response.
   I am currently using the plugin remotely.
 *  Thread Starter [Mikel](https://wordpress.org/support/users/ogmic/)
 * (@ogmic)
 * [3 years ago](https://wordpress.org/support/topic/central-deposit-issue/#post-16807782)
 * [⌊https://www.hippovideo.io/video/play/i6IvepYe3adXLOE4UDOrSYqK77WOh046qAAsLY_RiCM?
   hvlk=Np6PMoewqXy9&org_tok=6QtLeP5MgsF5uqNtFx2cuA&hvre=false&_=1686345765895&⌉⌊
   https://www.hippovideo.io/video/play/i6IvepYe3adXLOE4UDOrSYqK77WOh046qAAsLY_RiCM?
   hvlk=Np6PMoewqXy9&org_tok=6QtLeP5MgsF5uqNtFx2cuA&hvre=false&_=1686345765895&⌉[
 * [Watch Video](https://www.hippovideo.io/video/play/i6IvepYe3adXLOE4UDOrSYqK77WOh046qAAsLY_RiCM?hvlk=Np6PMoewqXy9&org_tok=6QtLeP5MgsF5uqNtFx2cuA&hvre=false&_=1686345765895&)
 *  [Daniyal Raza](https://wordpress.org/support/users/daniyalraza01/)
 * (@daniyalraza01)
 * [3 years ago](https://wordpress.org/support/topic/central-deposit-issue/#post-16811442)
 * Hello [@ogmic](https://wordpress.org/support/users/ogmic/) ,
 * Thanks for sharing screen cast.
 * When working remotely, the central deposit add-on does not check the user’s balance.
   You need to apply a condition in your code that when the users balance is above
   0 the transaction should appear.
 * Let me know if you have any questions.
 * Thanks
 *  Thread Starter [Mikel](https://wordpress.org/support/users/ogmic/)
 * (@ogmic)
 * [3 years ago](https://wordpress.org/support/topic/central-deposit-issue/#post-16811447)
 * Used the REST API add-on.
 *  [Daniyal Raza](https://wordpress.org/support/users/daniyalraza01/)
 * (@daniyalraza01)
 * [3 years ago](https://wordpress.org/support/topic/central-deposit-issue/#post-16812214)
 * You will have to check whether the user has points or not. After that you will
   hit the end points.
    -  This reply was modified 3 years ago by [Daniyal Raza](https://wordpress.org/support/users/daniyalraza01/).
 *  Thread Starter [Mikel](https://wordpress.org/support/users/ogmic/)
 * (@ogmic)
 * [3 years ago](https://wordpress.org/support/topic/central-deposit-issue/#post-16812450)
 * Hi [@daniyalraza01](https://wordpress.org/support/users/daniyalraza01/)
 * How do i check if the user has points or not. There’s no rest-route to do that,
   Or is there?
 *  [Daniyal Raza](https://wordpress.org/support/users/daniyalraza01/)
 * (@daniyalraza01)
 * [3 years ago](https://wordpress.org/support/topic/central-deposit-issue/#post-16814290)
 * Hello [@ogmic](https://wordpress.org/support/users/ogmic/) ,
 * There is an endpoint for points. Please refer to the documentation below.
 * [Documentation](https://codex.mycred.me/chapter-iv/enhancements/mycred-rest-api/endpoints/)
 * Thanks
 *  [Daniyal Raza](https://wordpress.org/support/users/daniyalraza01/)
 * (@daniyalraza01)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/central-deposit-issue/#post-17006366)
 * Hi there,
 * Due to a lack of activity, we are going to mark this ticket as resolved. If you
   have any other issues, please feel free to open a new ticket.
 * Have a great day!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Central Deposit Issue’ is closed to new replies.

 * ![](https://ps.w.org/mycred/assets/icon-128x128.gif?rev=3512531)
 * [Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program - myCred](https://wordpress.org/plugins/mycred/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mycred/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mycred/)
 * [Active Topics](https://wordpress.org/support/plugin/mycred/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mycred/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mycred/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Daniyal Raza](https://wordpress.org/support/users/daniyalraza01/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/central-deposit-issue/#post-17006366)
 * Status: resolved