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

#   intergrating a cellphone payment module with hikas

##

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

Less More

- Posts: 1
- Thank you received: 0
-
-

13 years 7 months ago -  13 years 7 months ago [\#94780](#94780) by [Mrosh](/forum/user/14815-mrosh "View Mrosh's Profile")  *[intergrating a cellphone payment module with hikas](/forum/2-general-talk-about-hikashop/79349-intergrating-a-cellphone-payment-module-with-hikas#94780 "Hi everyone, I am new in hikashop but has however gone through faqs to see if there is way to solve my problem, and i haven't been lucky. I have this cellphone api payment module, it is written in php, where the user pays throught heir cellphone to a registered line, the line syncronises the payment message (a code) with a php script on the server that is the api. upon the user paying, they are sent a code, which is the similar code in the server sent by the payment recieving line. The user is then prompted to enter the code in a form to ascertain his/her identity. if the code matches, they are authenticated and the transaction is entered. How can this be incorperated into hikashop payment methods")* was created by *[Mrosh](/forum/user/14815-mrosh "View Mrosh's Profile")*

Hi everyone,
I am new in hikashop but has however gone through faqs to see if there is way to solve my problem, and i haven't been lucky.
I have this cellphone api payment module, it is written in php, where the user pays throught heir cellphone to a registered line, the line syncronises the payment message (a code) with a php script on the server that is the api. upon the user paying, they are sent a code, which is the similar code in the server sent by the payment recieving line. The user is then prompted to enter the code in a form to ascertain his/her identity. if the code matches, they are authenticated and the transaction is entered. How can this be incorperated into hikashop payment methods

Last edit: 13 years 7 months ago by [Mrosh](/forum/user/14815-mrosh "View Mrosh's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5MzQ5LWludGVyZ3JhdGluZy1hLWNlbGxwaG9uZS1wYXltZW50LW1vZHVsZS13aXRoLWhpa2FzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

13 years 7 months ago [\#94803](#94803) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[intergrating a cellphone payment module with hikas](/forum/2-general-talk-about-hikashop/79349-intergrating-a-cellphone-payment-module-with-hikas#94803 "Hi everyone, I am new in hikashop but has however gone through faqs to see if there is way to solve my problem, and i haven't been lucky. I have this cellphone api payment module, it is written in php, where the user pays throught heir cellphone to a registered line, the line syncronises the payment message (a code) with a php script on the server that is the api. upon the user paying, they are sent a code, which is the similar code in the server sent by the payment recieving line. The user is then prompted to enter the code in a form to ascertain his/her identity. if the code matches, they are authenticated and the transaction is entered. How can this be incorperated into hikashop payment methods")*

Hi,

You could create a custom order text field which would be required and the create a payment plugin checking on the code entered in that field using the onBeforeOrderCreate event trigger. And if the code is invalid, you would set the $do variable to false and display an error message that the code is invalid and otherwise you would change the order_status to confirmed in $order.
Our developer documentation has a bit more information on the onBeforeOrderCreate trigger:
[ www.hikashop.com/en/support/documentatio...#onBeforeOrderCreate](http://www.hikashop.com/en/support/documentation/62-hikashop-developer-documentation.html#onBeforeOrderCreate)

The following user(s) said Thank You: [Mrosh](/forum/user/14815-mrosh "View Mrosh's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5MzQ5LWludGVyZ3JhdGluZy1hLWNlbGxwaG9uZS1wYXltZW50LW1vZHVsZS13aXRoLWhpa2FzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.052 seconds

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