Reward Points on a cancelled payment

Phoca Cart - complex e-commerce extension
User avatar
nzrunner
Phoca Member
Phoca Member
Posts: 33
Joined: 27 Jul 2017, 15:52

Reward Points on a cancelled payment

Post by nzrunner »

As part of the testing for my payment plugin, I have been testing many different transactions. One of the tests included Rewards Points. I am pleased to say, they show as a discount and are treated nicely by PhocaCart and my plugin.

However ...

If someone decides to use some Rewards Points when purchasing, and then CANCELS the Payment, these Rewards Points are lost. :shock:

I would expect that if the Payment is cancelled, the Reward Points would be returned to the users account, to be used on a subsequent purchase.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Reward Points on a cancelled payment

Post by Jan »

Hi, did you set the reward points change for the status cancelled:

Image
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Reward Points on a cancelled payment

Post by Jan »

Hi, see the example part here:
https://www.phoca.cz/documents/116-phoc ... ard-points

For the canceled (cancelled) status, it can be set that the reward points will be set as not approved, so in fact they were subtracted, the subtraction will be canceled and points will be set back to user account.

Jan
If you find Phoca extensions useful, please support the project
Post Reply