|
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).
Salesforce_Commerce_Cloud_Affirm/cartridges/int_affirm_sfra/cartridge/controllers/CheckoutServices.js
Line 211 in afee520
In this cartridge, you are replacing (rather than prepending/appending) the SFRA out of the box
SubmitPaymenthandler/code. This line catches everything that's not affirm, and does not play well with any other payment types (eg paypal).