Page 1 of 2

I am new to Aimeos Guide to develop the new Payment method

Posted: 27 Aug 2019, 06:04
by Charles
Hello All,
I am new to aimeos shop. I have created the invoice payment using this "https://aimeos.org/docs/Developers/Libr ... t_provider" docs but payment not shown in the frontend.
scrreenshot.png
scrreenshot.png (137.89 KiB) Viewed 3398 times
after Manual adding payment in service tab only payment shown in frontend.if there is any direct composer update to shown payment in frontend (or) to update service. And I need other help how the payment folder structure should be?

Re: I am new to Aimeos Guide to develop the new Payment method

Posted: 27 Aug 2019, 06:47
by aimeos
Please post your code so we can see if there's something wrong in it (including the directories you've placed the files).

Re: I am new to Aimeos Guide to develop the new Payment method

Posted: 27 Aug 2019, 07:02
by Charles
I have Changed anything from the docs given just create the Myprovider.php file with Process function in the Shop root "aimeos/aimeos-core/lib/mshoplib/src/MShop/Service/Provider/Payment"

Docs is not clear for me, I think just create the PHP file in the service folder is enough to show the payment in the frontend.
screenshot.png
screenshot.png (23.74 KiB) Viewed 3391 times
Now I think its totally wrong, but how the payment has to create as like plugin- just upload the folder to showing the payments.

Re: I am new to Aimeos Guide to develop the new Payment method

Posted: 27 Aug 2019, 07:11
by aimeos
You have to create your own TYPO3 extension using the Aimeos extension generator, install that TYPO3 extension and place your file in the ./typo3conf/ext/<extname>/Resources/Private/Extensions/<extname>/lib/custom/src/MShop/Service/Provider/Payment/ directory:
- https://aimeos.org/docs/Developers/Create_an_extension
- https://aimeos.org/extensions

Re: I am new to Aimeos Guide to develop the new Payment method

Posted: 28 Aug 2019, 05:50
by Charles
Thanks for the help ;) , I have created the extension using the extension generator. this extension is installed via composer only am I right (or) are any local installation is also possible without GitHub.

Re: I am new to Aimeos Guide to develop the new Payment method

Posted: 28 Aug 2019, 06:56
by aimeos
If you choose "TYPO3 2019.x", you can install the file locally by uploading it in the extension manager.

Re: I am new to Aimeos Guide to develop the new Payment method

Posted: 28 Aug 2019, 09:57
by Charles
It's really helpful once again thanks for the help you have done, but how to create the new tab in backend admin page to give some text box configuration for the merchant. And typo3 (or) aimeos which is a better way to overwrite to extend backend configuration.
Like Merchant id, Authentication and password

Best Regards,
Charles

Re: I am new to Aimeos Guide to develop the new Payment method

Posted: 28 Aug 2019, 10:46
by aimeos
Here's the information documented you are looking for:
https://aimeos.org/docs/Developers/Libr ... figuration

Re: I am new to Aimeos Guide to develop the new Payment method

Posted: 30 Aug 2019, 05:31
by pritisikka
Thanks for sharing this important information.well done :)

Re: I am new to Aimeos Guide to develop the new Payment method

Posted: 30 Aug 2019, 09:01
by Charles
Thanks for the information you have provided that help me a lot, Now I have created the new tab in admin panel and two subpages. first subpages are working correctly but when I click the second subpage it is not not redirected to the second tab. Please any help