Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Feature request - capture CC Service Fee #3

Closed
anchovy opened this issue Mar 23, 2022 · 2 comments
Closed

Feature request - capture CC Service Fee #3

anchovy opened this issue Mar 23, 2022 · 2 comments

Comments

@anchovy
Copy link

anchovy commented Mar 23, 2022

Windcave has an option to charge a fee for paying by Credit card - this is calculated by windcave and applied to the transaction amount, this is on an account by account basis - you can't enable/disable for a given set of key/username.

I believe it's returned in the response with the key 'AmountSurcharge'.

...
 ["AmountSettlement"]=>
  string(7) "1039.00"
  ["TotalAmount"]=>
  string(7) "1058.23"
  ["AmountSurcharge"]=>
  string(5) "19.23"
  ["AuthCode"]=>
...

Can your plugin be updated to capture this surcharge fee and make it available in the order details, and to also capture the totalAmount as the amount charged rather than AmountSettlement?

Currently, when processing an order with a surcharge we're seeing the order total set to AmountSettlement rather than TotalAmount

The walkthrough snaps below might help.

1-checkout

2-paid-with-surcharge-fee

3-success-wrong-total

There's a couple of ways this could be achived I'm thinking.

  1. Add an option to the gateways - Payments for this gateway can incur a surcharge fee.
    I say 'can' - because if the gateway allows A2A and CC, the surcharge is only added to CC payments.
    When this setting is enabled, then the plugin would know to look for the AmountSurcharge value etc.
    2: No extra settings, just update the plugin to always look for a AmountSurcharge value and to always use the TotalAmount value.

Happy to help with any other information you might need to get this over the line.

Thanks in advance.

@anchovy
Copy link
Author

anchovy commented May 4, 2022

@stephenj-plato any chance of looking at this, we've purchased the plugin and really need it to capture the processing charge applied by windcave.

@mediabeastnz
Copy link
Member

This could probably be achieved by using Event hooks. I'm just not sure there is one currently in the right spot for what you are trying to do. You'd need to grab the response from Windcave (Gateway) find that amount and then make modifications to the order.

Unfortunately this is out of the scope of this plugin.

@mediabeastnz mediabeastnz closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants