Click here to Skip to main content
15,888,239 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I hope all of you are fine.

I am making a donation website in WordPress.

There will be a charity account creation that has 4 different amounts in cents. Users will create their account and donate to that charity. It will be recurring based.

For charity creation, I am using woo commerce along with the WCFM marketplace plugin which allows us to use the stripe split payment and create a charity profile submission from the front end.

What I exactly need is the amount is in cents as the daily purpose and it will be monthly basis donation. (Like amount is 25 cents daily but a donation is a monthly basis so it becomes $7.50 which will be deducted when user donate on that charity). But my goal is to show illusion like donor is donating on a daily basis. It will be shown on the donor account.

this is the website http://example.com/path/ which is currently under development.

what I have done right now. I have complete the charity profile system and donor account system.

For recurring, I am using woo commerce subscription plugin which allows me to set the monthly recurring.

Just stuck in creating the illusion.

Please anyone can help me out to achieve this task to show an illusion in donor account that he is paying on a daily basis but actually monthly donation is deducted from his card.

Let me know if you need further information from me.

Thanks...

What I have tried:

I have tried to create a wallet in which amount is save and only daily basis it will deducted and show as an illusion that donor is donating on daily basis.
Posted
Updated 17-Jun-20 2:03am
v2

1 solution

You don't create an illusion. What you actually do is create a local account and extend them credit for the month; and at the end of the month you collect on their account from their credit card.

The simplified way to do this would be to create a Ledger and have a cron job or other type of schedule task make an entry into the ledger with the Date, Account Number, and amount.
When it comes to make the monthly charge, you also make an entry into the ledger.
When a customer wants to view their account, you return the details of their account from the ledger.

I do not work with WordPress or it's add-ins, perhaps there is one out there (?invoicing) or maybe you know how to do your own programming.
In a non-templated system that had everything else in, an experienced developer could add this functionality in less than a day.
 
Share this answer
 
Comments
RaXa GiLLaNi 17-Jun-20 8:11am    
Hi Brother,

Thanks for your prompt response. Basically I have used the ledger system but it's not useful and it's just shows the actual amount with respect to the payment deduction.

My motive is when the donor donate on that charity which is monthly based, he should see some options in their account like he is donating on daily basis neither he just paid the donation for the whole month at once.
RaXa GiLLaNi 17-Jun-20 8:12am    
Well if you can find me a sample script and send it to me that would be great or any other reference site which you think is doing similar to this.
MadMyche 17-Jun-20 8:29am    
How to implement is up to you; If you have a system and it is not working the way you want it to (ie your ledger) then post the details on that and the problem you have.
RaXa GiLLaNi 17-Jun-20 8:33am    
Ok I will try it again and will update you if still facing any kind of problem.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900