vault backup: 2024-08-10 09:01:40

This commit is contained in:
2024-08-10 09:01:40 -05:00
parent f4e14fdfd8
commit 842c7147d8
162 changed files with 41 additions and 43 deletions

View File

@@ -0,0 +1,26 @@
|
|
==Tags: #coupon==
**Phase 1**
Simple site that allows to build a coupon with:
1. Client logo
2. Title
3. Coupon description
4. Terms and service text
Design
- Dashed line around the coupon.
- Mostly white
- Nice and clean, but nothing special in terms of fancy design
Technology
- Ruby on Rails
- Heroku
- Sub-domain of brandhoot.com?  own domain?
**Phase 2**
**Phase 3**

View File

@@ -0,0 +1,26 @@
| | | | | | |
| ------ | ---------- | ------ | ------------ | ------------------------------------------ | ------------------------- |
| Total | Actual fee | Net | Expected Net | Actual percentage | |
| 103.2 | 3.29 | 99.91 | 100 | (3.29 - .3) / 100 = 0.0299 * 100 = 2.99 | 103.2*0.029 + .3 = 3.2928 |
| 499.29 | 14.78 | 484.51 | 484.93 | (14.78-.3) / 484.93 = 0.0299 * 100 = 2.99 | 499.29*.029+.3 = 14.7794 |
| 550.74 | 16.27 | 534.47 | 534.93 | (16.27 -.3) / 534.93 = 0.0299 * 100 = 2.99 | 550.74*.029+.3=16.2715 |
We are sending a payment of 103.20 to paypal which is what they then use to make the 2.9% + $0.30 fee calculation instead of basing it off of $100. So, the fee ends up being $3.29 instead of $3.20.
We need a better formula:
A * 0.029 + 0.3 = B
A - B = C
A = C + B
C = 100
(C + B)*0.029 + 0.3 = B
0.029C + 0.029B + 0.3 = B
0.029C + 0.3 = B-0.029B
0.029C + 0.3 = 0.971B
B = (0.029C + 0.3)/0.971
0.029*100 + 0.3 = 3.2
3.2/(1-0.029) = 3.2956