reliefsupports.org-v1 icon indicating copy to clipboard operation
reliefsupports.org-v1 copied to clipboard

IdeaBiz SMS Gateway Intergration

Open ravithb opened this issue 7 years ago • 10 comments

What you've done

... Creating an endpoint (POST /sms/receive) to receive sms in the format documented in http://docs.ideabiz.lk/APIs/SMS

Why have you done it

... As a partial fix for issue https://github.com/reliefsupports/reliefsupports.org/issues/8

Any testing carried out

... Manual testing was carried out.

image

ravithb avatar Jun 07 '17 10:06 ravithb

@ravithb good stuff. A couple of questions, is it possible to pull in the Ideabiz SMS classes trough composer without polluting the global app namespace? Worst case publish and pull in your own package. And move the business logic that is relevant to the app to the app src.

gayanhewa avatar Jun 07 '17 13:06 gayanhewa

@gayan thanks. I'll check and get the idea biz classes through composer. Its the first time I'm working on laravel and composer, so its good that you pointed it out. :)

On 7 June 2017 at 19:15, Gayan [email protected] wrote:

@ravithb https://github.com/ravithb good stuff. A couple of questions, is it possible to pull in the Ideabiz SMS classes trough composer without polluting the global app namespace? Worst case publish and pull in your own package. And move the business logic that is relevant to the app to the app src.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/reliefsupports/reliefsupports.org/pull/190#issuecomment-306799401, or mute the thread https://github.com/notifications/unsubscribe-auth/AGcJgFzz1dmVjFeyUGv38DeZI57V3moqks5sBqmNgaJpZM4NyhDc .

ravithb avatar Jun 07 '17 14:06 ravithb

@ravithb are you working on those changes as @gayanhewa mentioned? Should we keep the PR without merging until you finish those or?

Plus, I changed the base to dev and alos the issue title.. please check and correct it if it's not represet what you did. thanks!

heimdallrj avatar Jun 07 '17 16:06 heimdallrj

@thinkholic Yes, I'll work on those today, we can keep the PR open till those are done. You are right, the base should be dev.

ravithb avatar Jun 08 '17 01:06 ravithb

@gayanhewa @thinkholic please review commits 3a5f8bd and ffa0c51. Thanks.

ravithb avatar Jun 08 '17 05:06 ravithb

@ravithb stash the commits to one. Can you also add a link to the ideabiz package repo

gayanhewa avatar Jun 08 '17 05:06 gayanhewa

I had to restructure the original ideabiz code. https://github.com/ravithb/IdeaBiz-Request-Handler---PHP

ravithb avatar Jun 08 '17 06:06 ravithb

@gayanhewa pls see 53df6c1

ravithb avatar Jun 08 '17 07:06 ravithb

@ravithb @gayanhewa Will take this tonight.

heimdallrj avatar Jun 09 '17 09:06 heimdallrj

@thinkholic Can you merge this pr?

danishka avatar May 20 '18 02:05 danishka