I'm working on a Magento extension and I need to implement Amazon Merchant fullfillment API(https://developer.amazonservices.co.uk/doc/merchantfulfillment/merchantfulfillment/v20150601/php.html/275-1952245-7686132). And since I'm new in developing extensions(mostly edited existing ones), I'm wondering what is the best way to do this. Do I just place the files in a separate folder(in the Model dir f.e?) folder and then use require_once to call the ones I need or there's another approach?

I'm sorry if my question is somehow incomplete or unclear. Will do my best to clarify something if needed.

  • 2
    Ummm... based on your question, you've got quite a task ahead of you; essentially, if you had the minimum level of experience to do this integration, you wouldn't need to ask this question at all. Do you understand autoloading? Is this for Magento 1 or Magento 2? What is the scope of your integration? – benmarks Jan 8 '16 at 21:04
  • 1
    Libraries like the one downloaded from that page should be placed in the lib directory – Sander Mangel Jan 15 '16 at 22:02
  • Yes, managed to get the whole thing to work after I saw @benmarks response and started actually reading about what he said. – Somebody34324 Jan 16 '16 at 2:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.