You accept Stripe and PayPal. Stripe wants { amount: 1250, currency: 'usd' } and answers with status: "succeeded". PayPal wants a string total, "12.50", an upper-case currency code, and answers with state: "approved". You cannot edit either SDK.
If checkout code speaks both dialects, every change to payments touches checkout, and adding a third provider means another branch. The two SDKs disagree on units, field names and status words, and none of that belongs in your checkout logic.