After successful payment callback function
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
After successful payment callback function
Hello All,
Thanks for your awesome package!!
I have used aimeos on my Skelton laravel application.
I have configured the skeleton application database and aimeos database differently but install on the same laravel installation with the different subdomain.
Once a new user successfully payment in subscription, I need to update user some information on skeleton application database. I can use any callback API or callback function to achieve
Can you guide me on how to achieve this #feature?
Environment is Linux.
Thanks for your awesome package!!
I have used aimeos on my Skelton laravel application.
I have configured the skeleton application database and aimeos database differently but install on the same laravel installation with the different subdomain.
Once a new user successfully payment in subscription, I need to update user some information on skeleton application database. I can use any callback API or callback function to achieve
Can you guide me on how to achieve this #feature?
Environment is Linux.
Re: After successful payment callback function
Aimeos only uses one "users" table and you have to configure the "db-customer" resource in your ./config/shop.php file to point to your default Laravel database (run ./artisan aimeos:setup afterwards to update the table).
Then, it's pretty easy to update user information. At which point in time do you want to update what information? After the order is stored, payed or delivery is in progress?
Then, it's pretty easy to update user information. At which point in time do you want to update what information? After the order is stored, payed or delivery is in progress?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: After successful payment callback function
I want to update user information after successful payment. Is there a method by which I do not need to update core functions and do it in my controller?
Re: After successful payment callback function
You can add your own code in the updateSync() method of a service provider decorator for the payment provider you have configured: https://aimeos.org/docs/Developers/Library/Service
Then, add your decorator here: https://aimeos.org/docs/User_Manual/Adm ... ce_details
Then, add your decorator here: https://aimeos.org/docs/User_Manual/Adm ... ce_details
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: After successful payment callback function
I am using the default Payment Provider given in core setup. As you said I can use updateSync() method for my custom code. I only want to add one database entry when subscription created. So is it fine to use it in Base file of extension?
Is it will overwrite when I do composer update?
Is it will overwrite when I do composer update?
Re: After successful payment callback function
Like mentioned in the other thread, a subscription processor is better for your use case.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star