Custom Stripe payment gateway for stripe
Budget: $30 – $250 AUD
We need method written that will accept wholesalePrice, competitorPrice and will calculate our price based with the following formula.
ourWholesalePrice = wholesalePrice + 20;
marginDifference = competitorPrice - ourWholesalePrice;
cryptoAmount = marginDifference / 2;
ourPrice= ourWholesalePrice + cryptoAmount
If ourPrice >= competitorPrice - 5 then
ourPrice = ourWholesalePrice
The method would then process the payment on the Stripe Gateway and return the result of the payment.
We mostly need the stripe payment gateway work done
ourWholesalePrice = wholesalePrice + 20;
marginDifference = competitorPrice - ourWholesalePrice;
cryptoAmount = marginDifference / 2;
ourPrice= ourWholesalePrice + cryptoAmount
If ourPrice >= competitorPrice - 5 then
ourPrice = ourWholesalePrice
The method would then process the payment on the Stripe Gateway and return the result of the payment.
We mostly need the stripe payment gateway work done