[Skip to main content](#vessel-content)

#   Authorize.Net Plugin Customizations

##

- **[navalmadaan](/forum/user/32151-navalmadaan "View navalmadaan's Profile")**
- [![navalmadaan's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32151-navalmadaan "View navalmadaan's Profile") Topic Author
- [ Offline](/forum/user/32151-navalmadaan)

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 6 months ago [\#151695](#151695) by [navalmadaan](/forum/user/32151-navalmadaan "View navalmadaan's Profile")  *[Authorize.Net Plugin Customizations](/forum/31-development/867351-authorize-net-plugin-customizations#151695 "Hi All,  I am developing a Payment Module for Miles and More where the user will be able to make payment using both credit card and Miles and More Card. I am using MilesandMore API for the same. I am stuck with the partial payment option. I am having a condition like after successful payment , I need to debit the MilesandMore Account too. I am trying the code in the Authorize.Net Payment module but the trigger onAfterOrderUpdate is not working. Kindly suggest the possible trigger to fulfill my condition.  Waiting for any early reply.")* was created by *[navalmadaan](/forum/user/32151-navalmadaan "View navalmadaan's Profile")*

Hi All,

I am developing a Payment Module for Miles and More where the user will be able to make payment using both credit card and Miles and More Card. I am using MilesandMore API for the same. I am stuck with the partial payment option. I am having a condition like after successful payment , I need to debit the MilesandMore Account too. I am trying the code in the Authorize.Net Payment module but the trigger onAfterOrderUpdate is not working. Kindly suggest the possible trigger to fulfill my condition.

Waiting for any early reply.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2NzM1MS1hdXRob3JpemUtbmV0LXBsdWdpbi1jdXN0b21pemF0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[navalmadaan](/forum/user/32151-navalmadaan "View navalmadaan's Profile")**
- [![navalmadaan's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32151-navalmadaan "View navalmadaan's Profile") Topic Author
- [ Offline](/forum/user/32151-navalmadaan)

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 6 months ago [\#151788](#151788) by [navalmadaan](/forum/user/32151-navalmadaan "View navalmadaan's Profile")  Replied by *[navalmadaan](/forum/user/32151-navalmadaan "View navalmadaan's Profile")* on topic *[Authorize.Net Plugin Customizations](/forum/31-development/867351-authorize-net-plugin-customizations#151788 "Hi All,  I am developing a Payment Module for Miles and More where the user will be able to make payment using both credit card and Miles and More Card. I am using MilesandMore API for the same. I am stuck with the partial payment option. I am having a condition like after successful payment , I need to debit the MilesandMore Account too. I am trying the code in the Authorize.Net Payment module but the trigger onAfterOrderUpdate is not working. Kindly suggest the possible trigger to fulfill my condition.  Waiting for any early reply.")*

Attaching the code too.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2NzM1MS1hdXRob3JpemUtbmV0LXBsdWdpbi1jdXN0b21pemF0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 6 months ago [\#151800](#151800) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Authorize.Net Plugin Customizations](/forum/31-development/867351-authorize-net-plugin-customizations#151800 "Hi All,  I am developing a Payment Module for Miles and More where the user will be able to make payment using both credit card and Miles and More Card. I am using MilesandMore API for the same. I am stuck with the partial payment option. I am having a condition like after successful payment , I need to debit the MilesandMore Account too. I am trying the code in the Authorize.Net Payment module but the trigger onAfterOrderUpdate is not working. Kindly suggest the possible trigger to fulfill my condition.  Waiting for any early reply.")*

Hello,
I think that the best solution will probably be to do that through the "**function onPaymentNotification(&amp;$statuses)**" function so that you"ll be able to :
- Update your order status + send order status emails.
- Debit the MilesandMore Account too

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2NzM1MS1hdXRob3JpemUtbmV0LXBsdWdpbi1jdXN0b21pemF0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.222 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
