Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take Payment via Stripe for Appointment #68

Open
kchapple opened this issue Oct 10, 2016 · 2 comments
Open

Take Payment via Stripe for Appointment #68

kchapple opened this issue Oct 10, 2016 · 2 comments
Labels

Comments

@kchapple
Copy link
Collaborator

kchapple commented Oct 10, 2016

0- Install PHP stripe integration via composer. https://stripe.com/docs/libraries#php-library

1- Upon /register, when we create a new patient in the EHR, we need to also create a Strip customer, using the token passed extension to the Patient resource. https://stripe.com/docs/api/php#create_customer

2- We need to store the Stripe Customer ID in the patient_data table (so we can make charges and retrieve customers)

3- Upon GET request to Patient, we need to retrieve Card-Holder, last-4-digits of card, and exp date (month and year.) The card details should come from the "master" patient. There is a goup_id field in patient_data that is the pid of the "master" patient. We should get the Stripe customer ID from that patient and retrieve Stripe Customer data. https://stripe.com/docs/api/php#retrieve_customer

4- Upon clicking a "charge" button (yet to be specified) the system will apply a charge to the card on file. https://stripe.com/docs/api/php#create_charge

@kchapple kchapple added the Story label Oct 10, 2016
@Leo24
Copy link
Contributor

Leo24 commented Oct 17, 2016

Add functionality for handling Stripe data
#73
LibreHealthIO/lh-ehr-api#27

@Leo24
Copy link
Contributor

Leo24 commented Oct 19, 2016

#80

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants