- Posts: 1
- Thank you received: 0
intergrating a cellphone payment module with hikas
13 years 6 months ago - 13 years 6 months ago #94780
by Mrosh
intergrating a cellphone payment module with hikas was created by Mrosh
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
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 6 months ago by Mrosh.
Please Log in or Create an account to join the conversation.
13 years 6 months ago #94803
by nicolas
Replied by nicolas on topic intergrating a cellphone payment module with hikas
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
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
The following user(s) said Thank You: Mrosh
Please Log in or Create an account to join the conversation.
Time to create page: 0.146 seconds