Calling Developers!
We are reenergizing our code contribution process! Learn More

Payment with points

Options
damijan
damijan Posts: 4 🧑🏻‍🚀 - Cadet

We have a feature where customers are assigned a certain amount of points (loyalty)for their purchases and they can use them to pay for products. What would be the best way to approach this?

Thank you for your suggestions.

Comments

  • filip.gojkovic955
    filip.gojkovic955 Spryker Solution Partner Posts: 19 ✨ - Novice
    edited November 2023
    Options

    My personal opinion would be to add "Loayalty Points" as payment type. And when calculating amount of payment, map points to amount of money based on some rule(e.g. 5 points = 1€).
    Customer has 50 points. He should have payment of 10€.
    On payment step you add paymentTransfer to quoteTransfer there you could also calculate amount of payment and set that value to paymentTransfer.