• Resolved tonygao

    (@tonygao)


    Hello,

    Currently, we use the function “mycred_add” to give credit to website users. How to add credits in “pending status” ? That means the credits need manually approved by website owner before users can cash it out(withdraw). How to do that?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Daniyal Raza

    (@daniyalraza01)

    Hello @tonygao ,

    You can use mycred_add function or add_creds or $mycred->add_creds to reward users with points. When the users status is pending the user will not get any rewards. Points are awarded when the user status is approved.

    Here is the link to the documentation.

    Documentation Link

    Let me know if you have any questions further.

    Thanks & Regards,
    WP Experts Support Team

    Thread Starter tonygao

    (@tonygao)

    Hi @daniyalraza01,

    The users are already approved before adding credit to their account. Our use case like this: after someone buy a course on our website, we send money to course creator by adding credits to their account, but buyer may request money back within 30 days, so we need to hold the money in that 30 days, that means the course creator can’t withdraw it to bank.

    Hello @tonygao,

    You cannot achieve it through mycred_add function. Through this function the user will get points automatically. You will need to make a mechanism of it through some custom coding.

    In our premium addon myCred Transfer plus there is an option for pending transfers. You can go through its documentation. Here is the link

    Documentation Link

    Let me know if you have any questions.

    Thanks

    harry murtie

    (@masterseoonline)

    @daniyalraza01 is it possible to use mycred-pending-points https://mycred.me/store/mycred-pending-points/

    why not use mycred-pending-points to achieve it???

    Thread Starter tonygao

    (@tonygao)

    @masterseoonline

    Good question! What’s the difference?

    Hello @masterseoonline @tonygao,

    Yes, you can use myCred Pending Points as well to achieve it. The difference between myCred pending transfers and pending points is that pending transfers is only for transfers. While pending points can be applied on myCred Pay with Points (our Woocommerce payment gateway) and other pending payment scenarios.

    Hope you understand now.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Pending credit!’ is closed to new replies.