Skip to content

created all the customer endpoint requests. #3

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

Merged
merged 8 commits into from
Apr 29, 2019

Conversation

Dolaned
Copy link

@Dolaned Dolaned commented Apr 16, 2019

This pull request needs some more commenting and maybe some tests but ive created all the customer end points

@mikeybeck
Copy link
Member

Excellent, thanks for this! I've taken a quick look and it seems good to me; I'll test it out tomorrow.

@Dolaned
Copy link
Author

Dolaned commented Apr 16, 2019

all good im willing to help you complete the whole api, i would like to model some functions around the stripe on so i dont have to write different functions to get a customer object or something

@Dolaned
Copy link
Author

Dolaned commented Apr 17, 2019

I have added in some more validation to responses and added another card function in, what do you use this library for?

mikeybeck added a commit that referenced this pull request Apr 23, 2019
@Dolaned
Copy link
Author

Dolaned commented Apr 26, 2019

wait what did i miss

@mikeybeck
Copy link
Member

mikeybeck commented Apr 26, 2019 via email

@Dolaned
Copy link
Author

Dolaned commented Apr 26, 2019

oh i didnt realise what you did, ill have a look, what bug was it

@mikeybeck
Copy link
Member

mikeybeck commented Apr 26, 2019 via email

@Dolaned
Copy link
Author

Dolaned commented Apr 28, 2019

sweet, are we able to merge this now

@mikeybeck
Copy link
Member

mikeybeck commented Apr 29, 2019 via email

@Dolaned
Copy link
Author

Dolaned commented Apr 29, 2019

what function were you testing?

@mikeybeck
Copy link
Member

mikeybeck commented Apr 29, 2019 via email

@Dolaned
Copy link
Author

Dolaned commented Apr 29, 2019

how do you create the charge object
i think you need to use
payload = [
customerReference => '1',
customerCardId => '1'
]

@mikeybeck
Copy link
Member

mikeybeck commented Apr 29, 2019 via email

@mikeybeck
Copy link
Member

mikeybeck commented Apr 29, 2019 via email

@Dolaned
Copy link
Author

Dolaned commented Apr 29, 2019

it was to follow in line with the stripe repo. just so if you want to use stripe, square and other providers its more consistent, its needed in our implementation

@mikeybeck
Copy link
Member

Oh yep. We are using a couple of other providers also and have added a gateway class for each one to take care of the differences between them.
I've made a couple of modifications to our Square gateway class in order to be able to accept this PR. I'll merge it now but won't tag the release until these modifications are on production.

@mikeybeck mikeybeck merged commit 206c1c8 into blasttech:master Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants