Create a payment plugin based on the interface https://git.drupalcode.org/project/basket/-/blob/9.x/src/Plugins/Payment/BasketPaymentInterface.php and also using the API https://stripe.com

How this connection works can be seen on the example of the module https://git.drupalcode.org/project/perfectmoney/-/tree/1.0.x

Next, you will need to configure the payment settings when creating /admin/basket/settings-payment

freehelpbg
Lottie file
Free help for Alternativecommerce owners