Payment handler that does not specify the method name in the response

This payment handler is for "basic-card". The code is correct except for one bug: not setting the payment method name in the response. This will cause the payment to fail.

Checking whether the payment handler is installed...



        

View the source code: