Integrate SDK and send invoice after order is created

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Integrate SDK and send invoice after order is created

Post by aimeos » 28 Mar 2021, 07:27

Every minute is fine and you should use the name of the delivery option the customer should see as label/name of the entry. You can also have several delivery options with different names and codes but the same provider value.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

fadeeva05
Posts: 8
Joined: 18 Mar 2021, 10:38

Re: Integrate SDK and send invoice after order is created

Post by fadeeva05 » 30 Mar 2021, 19:27

Ok, thanks a lot. I have another question, to be able to use QuickBook API, I need to connect my website to the account on QuickBook, where and how I can create a page on admil panel to place my "Connect" button? I need controller to generate connect URL and pass it to view and then when user connected I need to save tokens in DB. What is the most appropriate way to do this?

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Integrate SDK and send invoice after order is created

Post by aimeos » 02 Apr 2021, 17:14

You mean an OAuth handshake? You can overwrite the template for the service detail panel and add the button there:
https://aimeos.org/docs/latest/admin/jq ... templates/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

fadeeva05
Posts: 8
Joined: 18 Mar 2021, 10:38

Re: Integrate SDK and send invoice after order is created

Post by fadeeva05 » 02 Apr 2021, 18:03

Yes, I mean OAuth authorization. How I can add a backend code? I need to generate Authorization URL using QuickBook SDK and pass it to the template for the service detail panel. After the user goes through the authorization flow I get a response from quickbook with tokens which I need to process and save to db.

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Integrate SDK and send invoice after order is created

Post by aimeos » 06 Apr 2021, 15:00

The best way might be to create a subpart for the service panel where you can do all stuff you need:
https://aimeos.org/docs/latest/admin/jq ... -subparts/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply