omise / omise-php

Omise PHP library
https://docs.opn.ooo
MIT License
67 stars 41 forks source link

This library needs more love #54

Closed dlzi closed 7 years ago

dlzi commented 7 years ago

Sorry if I'm wrong, but this library seems quite behind the other ones. It's not updated as often as it could, and the lack of a good implementation tutorial makes it hard to figure out how it works. It would be great if Omise could give more attention to it.

guzzilar commented 7 years ago

Hi @danielzilli

Thank you for sharing your thought here. And you're right, this library haven't updated for a while.

Anyway, feel free to share your idea further or submit your changes through the pull request to enhance the library. We're willing to hear our user thoughts more! 😃

Appreciate it. 👍 Nam

dlzi commented 7 years ago

Hi @guzzilar

Thanks for the feedback.

I see that there are a few pull requests that are on hold. I think once they are merged, that would be nice enhancement to the library.

For my particular case, I would appreciate more tutorials or guides. Something like http://www.ilovephp.net/php/stripe-payment-gateway-integration-in-php-with-demo-examples/. That would help people that like me that is integrating Omise with a custom PHP CMS.

Cheers, Daniel

turboza commented 7 years ago

Hi @danielzilli 😄

In case you are looking for tutorial for getting started, you can take a look here. https://www.omise.co/step-by-step-guide. This article includes basic usage of Omise, card.js and Omise-PHP.

dlzi commented 7 years ago

Thank you @turboza, I know that link. :-)

However, I'm still wondering what is the "right" way to use card.js? I'm asking because https://www.omise.co/card-js-api and https://www.omise.co/step-by-step-guide are not exactly the same, when comes to how to use card.js.

Plus, at the step by step tutorial you say "Download card.js from github.com/omise/card.js (btw this link is broken). Unzip it and create an index.html file in the same folder."

That instruction is not clear to me, because next you created a form using the omise.js script, while card.js doesn't not appear anywhere.

PS: what are the main differences in building my own form and using card.js?

turboza commented 7 years ago

@danielzilli Thanks for the feedbacks 👍 I have just updated the step-by-step article to remove usage of Card.js since the Omise.js is going to replace to usage of Card.js. So you can just embed the script url https://cdn.omise.co/omise.js to use the form. I believe you can use https://www.omise.co/step-by-step-guide as a reference for implementation.

Let me know if you have a question.

dlzi commented 7 years ago

Thank you. It's clearer now 👍

dlzi commented 7 years ago

One last thing. I got the form working using the step by step guide. However, is there any guide if I want to implement my own form?

turboza commented 7 years ago

Sure, you can take a look in this document 😄 https://www.omise.co/collecting-card-information

dlzi commented 7 years ago

👍

guzzilar commented 7 years ago

Hi & thanks guys @danielzilli @turboza 😄 👍

By the way, @danielzilli thanks again for your feedback. Are you ok if Im going to close this ticket (If no question further here)?

Cheers! Nam

dlzi commented 7 years ago

All good here. Thank you!