If you have a legacy POS payment connector integration with IPaymentDevice implementation, you must update it before upgrading to MPOS V34 or moving to StoreCommerce App.
In V34, Microsoft added a new parameter RequestContext in the hardware station extension. This parameter doesn't exist in the IPaymentDevice interface, which is why you must remove
IPaymentDevice from hardware station extension declaration.
New method parameter
Make sure that Legacy.PaymentDeviceAdapter is commented out in DLLHost.exe file
Add a parameter RequestContext in the following methods
AuthorizePaymentAsync
CapturePaymentAsync
VoidPaymentAsync
RefundPaymentAsync
FetchTokenAsync
And make sure that you pass this parameter value into GetPaymentProcessor method.
Comments