Payment mode charge in Payex

Hi,
How can I set paymentmode to charge for Payex?

Litium version: 7.2.1
AddOns.PayEx: 4.0.1

Think I found it. This seems to work :slight_smile:
_requestModelAccessor.RequestModel.Cart.CheckoutFlowInfo.ExecutePaymentMode = Foundation.Modules.ECommerce.Plugins.Payments.ExecutePaymentMode.Charge;

It’s the correct way to set the settings. I anyway need to ask why you need to have it as Charge instead of the Reserve?

It’s a requirement from the customer. It’s a B2B solution where we send the order to ERP and the ERP cant handle the capture at the moment.

But if you use Charge the money will directly be withdrawn from customer account and no capture is needed. This is used for some specific payment methods, see https://developer.payex.com/xwiki/wiki/developer/view/Main/ecommerce/payex-payment-instruments/.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.