Change processing fee from 5% to 3%
All checks were successful
Build and Push Docker Images / docker (push) Successful in 49s
All checks were successful
Build and Push Docker Images / docker (push) Successful in 49s
## Changes Made: ### Backend (server/routes/checkout.js): - Changed PROCESSING_FEE_PERCENT from 0.05 to 0.03 - Now calculates 3% fee instead of 5% ### Frontend (src/pages/CheckoutSuccess.tsx): - Updated display text from "Processing Fee (5%)" to "Processing Fee (3%)" - Receipt now shows correct percentage ## Impact: - All new orders will have 3% processing fee - Calculation, display, and Stripe charges all consistent at 3% 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
d6896fa591
commit
8b92e1673c
@ -12,7 +12,7 @@ const PORTFOLIO_PRICING = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Processing fee percentage
|
// Processing fee percentage
|
||||||
const PROCESSING_FEE_PERCENT = 0.05; // 5%
|
const PROCESSING_FEE_PERCENT = 0.03; // 3%
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calculate pricing with processing fee
|
* Calculate pricing with processing fee
|
||||||
|
|||||||
@ -233,7 +233,7 @@ export default function CheckoutSuccess({
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex justify-between items-center">
|
<div className="flex justify-between items-center">
|
||||||
<span className="text-slate-700">Processing Fee (5%)</span>
|
<span className="text-slate-700">Processing Fee (3%)</span>
|
||||||
<span className="text-slate-900 font-semibold">
|
<span className="text-slate-900 font-semibold">
|
||||||
${formatCurrency(processingFee)}
|
${formatCurrency(processingFee)}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user