Our business processes credit card orders using a Wells Fargo merchant account and Authorize.net. The import works great each day into our Income/Product Sales account.
Now we would like to add a daily, automated, top-side entry to split this income line out to Product Sales-CATEGORY A and Product Sales-Category B.
So this would be like:
Date
Account
Dr
Cr
2022-01-01
Product Sales
50,000
2022-01-01
Product Sales-CATEGORY A
10,000
2022-01-01
Product Sales-CATEGORY B
40,000
I can have our order processing system calculate this figure each day and present it/send it in any format.
Is it possible to flow that into QuickBooks?
Related
I'm absolutely stumped on the right way to do this (let alone the best way).
I have a group of users with shared quantities of bitcoins. We collectively trade and share the profits each day (minus a small percentage which goes to me for the management).
I'm trying to build a system to accurately calculate profits and fees but I just can't figure out the way to do it.
These are the tables I've created in the mysql db:
tansactions: (this information is pulled from the exchange api)
id (primary key)
transactionID (unique)
transactionType (Deposit, Profit/Loss, Withdrawal)
amount (btc amount of deposit, profit or loss, withdrawal)
balance (balance after transaction)
timestamp (timestamp of the transaction)
users:
id (primary key)
nickname (person's name)
accounting:
id (primary key)
userId (id from users table)
transactionType (Deposit, Profit/Loss, Withdrawal)
amount (btc amount of deposits, calculated profits, withdrawal)
date
In my mind, I was thinking I would run a nightly script that would calculate the percentage of each person's profits and record it to the accounting table for that day.
I was thinking the accounting table could look something like this with the nightly script:
Date Transaction Amount Person / System
1/02/2021 Deposit 0.10000000 Person 1
2/02/2021 Profit 0.00041235 System
3/02/2021 Profit 0.00032456 System
4/02/2021 Profit 0.00021435 System
5/02/2021 Deposit 0.13234000 Person 2
6/02/2021 Profit 0.00152390 System
7/02/2021 Profit 0.00143540 System
8/02/2021 Profit 0.00325476 System
9/02/2021 Profit 0.00462534 System
10/02/2021 Deposit 0.00432100 Person 2
11/02/2021 Deposit 0.00625300 Person 3
12/02/2021 Profit 0.00876000 System
13/02/2021 Profit 0.00453720 System
14/02/2021 Profit 0.00642620 System
15/02/2021 Profit 0.00754000 System
16/02/2021 Withdraw 0.00087640 Person 1
17/02/2021 Profit 0.00245300 System
18/02/2021 Withdraw 0.00032625 Person 2
19/02/2021 Profit 0.00134432 System
20/02/2021 Deposit 0.01234500 Person 3
I can't think of an easy way to calculate the profit daily...
Any guidance / advice / help would be greatly appreciated!
Figured this out..
In short, here are the loops (not the most efficient way but, it works)
foreach(user)
{
check initial deposit amount and date
make an array of every date since
foreach(date since)
{
check what the whole account did on that day
calculate this user's percentage on that day
if there is a withdraw / deposit, handle that too
}
}
vague but hopefully explains the logic.
I am working on a project where the subscriber can limit his subscription on monthly basis.
As an example below
Lets say i have 5 products A - Euro 40 ,B - Euro 40, C - Euro 40, D- Euro 40,E - Euro 40
Month 1 - A + B + C + D -> First order. I am using stripe ideal to generate the payment for 4 products. Total Euro 160
Month 2 - Subscriber cancels product D subscription. So now the recursive payment must work only for the price of A+B+C. So now the total comes Euro 120
Month 3 - Subscriber cancels product C subscription. So now the recursive payment must work only for the price of A+B. So now the total comes Euro 80
Month 4 - Subscriber cancels product A + B subscription. So the subscription should be cancelled.
Work done till now:
The stripe ideal is only one time payment. In this case, i can use SEPA but will get the update 14-16 working days.
https://stripe.com/docs/sources/ideal/recurring
I am using wordpress and initiating the ideal payment programatically (not using plugin) using Stripe PHP library.
What is the alternative i can go for iDEAL?
Is it possible, if i collect the card details of the customer and charge the card on recurring basis without user authorization.
Hope i made my question clear.
I'm admittedly not particularly learned in this world, but Stripe does have some guidance here:
https://stripe.com/docs/sources/ideal/recurring
Basically, you have to turn it into a SEPA Direct Debit source, then every month inform your customer of what they're going to owe. Hopefully that's helpful!
I am working with Stripe subscription and I don't want to create different plans with xy users included but set the price simple to 10$ per user per month. See the pricing at https://www.box.com/en_GB/pricing/ to get an idea what I mean.
How can i realize that subscription behavior in Stripe? Do I need to create an own plan for every count of users? (eg. oneuserplan 10$, twouserplan 20$, threeuserplan 30$,.....)
Or can I somehow multiply the 10$/month base subscription with with the count of users?
You can find a quantity field in stripe documentation
The quantity you'd like to apply to the subscription you're creating.
For example, if your plan is $10/user/month, and your customer has 5
users, you could pass 5 as the quantity to have the customer charged
$50 (5 x $10) monthly....
I tried using simple CreateRecurringProfile and UpdateRecurringPaymentsProfile of Paypal NVP apis.
I have confusion If i can achieve my goal or not Please suggest me the solutions
Case 1:
Silver Package = $20
Gold Package = $100
My Custome created Recurring Payment with Billing Cycle of $20 Per month for 6 months on Jan 1st For silver Subscription Plan.
Later on Customer come back on Feb 2nd and updates his subscription package from silver to gold subscription at that time i want to update to subscription plan as All next billing cycle will charge to $100 from $20 but when he upgrades he/she must be charges $80 (i.e sur plus amount) because remaining $20 is paid on Feb 1st's Bill.
Thanks in Advance
Please suggest me some solutions.
In such a case, You can cancel Recurring payment Profile, And create new Profile for $100 as Recurring amount And $80 as Initial Amount ( INITAMT as given in documentation of CreateRecurringPaymentsProfile)
i'm trying to make e-shop for business cards, brochures and etc printing. So main option is file upload option.
The problem is that opencart not recalculating prices if user uploaded different files. Lets say customer want to order 100 business cards with one picture (price is 0.2$ each when amount is 100 ) and 1000 business cards with another picture (0.1$ each when amount is 1000), in total it should be 120$, but opencart showing 110$ :
-business card (file1.pdf) x100 0.1$
-business card (file2.pdf) x1000 0.1$
Total 110$
i want that prices would be recalculated if uploaded files are not same :
-business card (file1.pdf) x100 0.2$
-business card (file2.pdf) x1000 0.1$
Total 120$
How can i do this?
I guess the solution could be very simple:
make the default business card price like $0.35 for less then 100 pcs ordered
set a discount on that business card product in this way:
more than 100 pcs ordered - price is $0.2 for a piece
more than 1000 pcs ordered - price is $0.1/pcs
now when client orders 100 pcs (one product, one file) and another 1000 pcs (same product, different file - should be different option), the price(s) should be calculated accordingly.
e.g.
100x BusinessCard (file1.pdf) $0.2 = $20
1000x BusinessCard (file2.pdf) $0.1 = $100