I was meant to get "{"response_code":"1001","response_text":"Logon to your MPower account and set your integration mode to live"}"
But I have been getting "{"response_code":"2001","response_text":"Exception, An Error Occured on the server."}"
Nick Sagona
@nicksagona
are you checking the response in the curl object? looking inside there at the return headers and body and all?
b/c it really seems like the issue is with the headers and the communication with the server (and not the pop curl object)
Akinyele Olubodun
@akinyeleolubodun
This is how I am getting the response print_r($curl->getBody());
Yeah I was able to track the issue to the header
When I call $curl->getHeaders() nothing is returned
Nick Sagona
@nicksagona
if you set CURLOPT_RETURNTRANSFER to true you should be able to look at the return response headers too for clues
set CURLOPT_RETURNTRANSFER to true?
Akinyele Olubodun
@akinyeleolubodun
It is set at default
I mean I see other header info apart from the new one I set
Nick Sagona
@nicksagona
ok well I'm about to head home from work here.
I'll have to catch you later on
Akinyele Olubodun
@akinyeleolubodun
okay
Nick Sagona
@nicksagona
ttyl
Stas
@SedovSG
@nicksagona Nick, Hello. We can help develop the project through Github or something?
Nick Sagona
@nicksagona
Sure... contribution/collaboration is def welcome. And through GH would be the best way. You can submit issues or PRs to the different repos located under https://github.com/popphp/
Currently a number of them are undergoing a refactor for a next version release.
For example pop-db's functionality is being expanded to include support of 1:1 and 1: many relationships and DB migrations
Stas
@SedovSG
Well
_
Stas
@SedovSG
Hello. Perhaps the question would be weird, but still. I would like to use a framework in your project using composer. But I added several methods to class Db\Adapter\Pdo. And now, to connect PopPHP via composer I need to send those changes to the server (remote push) How can I be?
Nick Sagona
@nicksagona
Well if you're asking about merging your work into the main repo, it would have to be reviewed and approved first. Typically, that's done by you submitting a pull request of your work so it can be reviewed.