I'm using PayPal Samart Buttons which offers me two possiblities: pay with a PayPal account and use a credit/debit card.
The problem is that PayPal seems to not accept payments with credit/debit card from some countries as I created a few personal accounts (sandbox) and only some of them work. The error I get is:
Something went wrong. We'll take you back to checkout so you can try again.
It seems like only payments with PayPal accounts are available for some countries. How can I accept credit/debit cards from all countries?
Which countries are you concerned about, exactly?
If you want a solution that accepts credit/debit cards from all countries, you will likely need a full gateway solution or merchant account. Which ones are available to you will depend on which country you are in, and your business history and credit.