|
if (paymentMethodID != 'Affirm') { |
In this cartridge, you are replacing (rather than prepending/appending) the SFRA out of the box SubmitPayment handler/code. This line catches everything that's not affirm, and does not play well with any other payment types (eg paypal).