You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: