Stripe configuration provide clients to collect the fees from the Applicants. Below are features we support
- Fees can be configured separately for applicant and Co-applicant. i.e. If there is co-applicant there could be additional fees.
- Fees can be configured for each program separately.
Salesforce Configuration
Custom settings :
In the custom settings below items needs to be configured. We can get the test keys and test the setup with Test Cards.
Stripe Publishable Key
Stripe Secrete Key
Here is link to get the API Keys from the Stripe – https://stripe.com/docs/keys
Below are fields and objects in the salesforce used in the Payment integration.
For Application Payment we are using the Opportunities, when user initiate the transaction Opportunity is created. Below are fields on Opportunity related to PHA Application Payments
- RecordType – Application Payment
- PHA__Service_File__c – Lookup to the Service File
- PHA__Stripe_Client_Secret__c – Unique Client Id for the transaction
- PHA__Stripe_Payment_Intents_Id__c – Payment Intent ( Used internally for Payment Transaction )
- Amount – Payment Amount
- Status – Status of the Payment
- Description – Payment description is added automatically.
Service File applicant is automatically added as a contact role on the opportunity.
We need to add the Opportunity Related list on the Service File Layout with the relevant columns showing
Below are fields used from Service File
- PHA__Application_Charge_Paid__c – When payment is successful this Field is set.
- PHA__Waive_Application_Fee__c – This Field can be used to waive the application fees for the applicant.
JSON Configuration
Below are the configuration Parameters need to be added in the Organization.JSON or Configuration.JSON file
- PaymentModalHeader – Header added in the Payment Modal, support HTML
- PaymentModalFooter – Footer can be added in the Payment Modal, support HTML
- EnableApplicationCharges – This enable the Payment integration
- PrimaryApplicantCharges – Fees for applicant only
- CoApplicantCharges – Fees if co-applicant is present on the Service File
Final fees will be calculated as sum of applicantCharges and coApplicant Charges
Testing –
For testing using the test stripe keys please use the cards
https://stripe.com/docs/testing
For Live keys we test by changing the application charges as $1 and using the real credit cards.