Skip to content

Unable to setup with the package #34

Closed
@jarekwg

Description

@jarekwg

unable to setup with the package. The documentation is not clear
It would be great if you can upload an example just for fetching the company names or something.

Originally posted by @rehmanjaffersayani in #6 (comment)

Hey @rehmanjaffersayani ,
Have you followed the steps in the readme? Where are you up to?

Yeah, I tried. Unable to sort this

InvalidClientIdError: (invalid_request) Invalid client_id parameter value.

I have attached the screenshot for your reference
Screen Shot 2019-11-19 at 11 51 44 am

Can you elaborate what you're doing here:
myob_authorisation_complete_view(cred)

You can't just pass these credentials directly into the view. You have to set up myob_authorisation_complete_view (or similar) as an endpoint that will receive the auth response from MYOB, then redirect user to MYOB where they authenticate themselves and approve the integration. Then MYOB will redirect to your designated callback_uri, where your view will be waiting to handle the request.

I called the same method as defined.
myob_authorisation_complete_view()

I am trying to do in a cron job so I am having issues. Is there any implementation for just starting the process or example.

It would be great

I have run MYOB pre-defined postman and it's working fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions