Yes. Salesforce allows payment gateway integration. You can choose from two payment processing solutions on the non-profit cloud for this.