survival / donation-system

:gem: Gem containing Survival's donation system logic
https://donation-system-staging.herokuapp.com/
MIT License
2 stars 3 forks source link

Stripe salesforce integration #23

Closed octopusinvitro closed 6 years ago

octopusinvitro commented 6 years ago

This PR takes the charge object returned by Stripe and passes it to Salesforce.

Supporters table in Salesforce

This adds the optional parameters (i.e., those that are not required in our Salesforce configuration) to the Supporter table.

Some fields that are used in the old site were left out:

Also, at the moment LastName is still using the full name until we find a good way of separating it. I am using placeholders for the greeting for the same reason. Maloca's code is also truncating some fields, which for now we are not doing either.

Donations table in Salesforce

This PR also adds the optional parameters (i.e., those that are not required in our Salesforce configuration) to the Donation table.

Some fields that are used in the old site were left out:

Also, the close date is now calculated from the payment data.

Readme

Finally, this PR updates the readme to explain how to use the gem

Issues added

I've added the following issues:

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 830cd8e8012271ef31b17d1cc772d8a77a50fba8 on stripe-salesforce-integration into 9054f7fc14653dc0f97e26b7686326dac6945494 on master.