omise/omise-php

This library needs more love

Closed this issue ยท 11 comments

dlzi commented

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.

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

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

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

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?

@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

Thank you. It's clearer now ๐Ÿ‘

dlzi commented

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?

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

dlzi commented

๐Ÿ‘

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

All good here. Thank you!