Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MARKUP_RATIO= 15
- OUR SYSTEM QUOTE SHOWS 800 IS THE COST
- CUSTOMER PRICE 920 = 800( Price we believe the driver will acceept at ,this comes our quote database ) + MARKUP_RATIO * 800
- if(customer_selected == 'DOWNPAYMENT'):
- Customer decides they do not want to pay the whole price up front, but rather a deposit upfront and the rest on delivery.
- This is now considerd a COD Order ( Cash on Delivery 0rder)
- The MARKUP_RATIO will be taken as an NMI Transaction and added to the Invoice.
- Carrier balance = 800.
- Carrier Price = 800 ( based off our quote)
- Customer Balance = 800 (They've already paid us $120 as a deposit ) 920 - 120 = 800
- Customer Price = 920 = the original price.
- Not let's assume the Carrier actually agrees to do it for less, let's say they say we'll do it for $600 instead of $800 we can simply adjust the
- Carrier Balance to $600
- Set Carrier Price at $600
- Customer Balance = 800 (They've already paid us $120 as a deposit ) 920 - 120 = 800
- The Customer balance will be $800 still , but now we can just charge $600 on delivery and charge the $200 extra profit on the vaulted NMI token once the shipment has been completed.
- Customer Price = 920 = the original price.
- if(customer_selected=='FULLPAYMENT'):
- MARKUP_RATIO= 15
- OUR SYSTEM QUOTE SHOWS 800 IS THE COST
- CUSTOMER PRICE 920 = 800( Price we believe the driver will acceept at ,this comes our quote database ) + MARKUP_RATIO * 800
- Customer Balance = 0 ( They have paid us in full through a single NMI Transaction)
- Customer Price = 920
- Carrier balance = 800 We owe the driver $800 at this point.
- Carrier Price = 800
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement