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

#   Hikashop developing a payment plugin gateway

##

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

Less More

- Posts: 48
- Thank you received: 0
-
-

11 years 10 months ago [\#185823](#185823) by [Saiah](/forum/user/34944-saiah "View Saiah's Profile")  Replied by *[Saiah](/forum/user/34944-saiah "View Saiah's Profile")* on topic *[Hikashop developing a payment plugin gateway](/forum/29-payment-methods/872933-hikashop-developing-a-payment-plugin-gateway?start=60#185823 "-- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.43 -- Browser(s) name and version -- : MOZILLA FF 33.0.3  Developed a payment plugin based on ok payment plugin that came with the system. It's for Tranzila gateway. The thing is when a payment is successful order status doesn't get updated ,to confirmed. When payment is bad the order does get cancelled ,only when good it's not confirmed. The payment gateway send notify on both success and failure and I've built pages for both. and on both pages I give order ID.(I give to gateway and gateway gives it back) So I think if you explain to me the procedure how the order gets confirmed I would know where to try and debug.")*

I added this: Code:

$mailer-&gt;isHTML(true);

to helper.php in modifyOrder() just before, $mailer-&gt;Send();
All good ,thanks.

I need to work on that javascript validation now

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

11 years 10 months ago -  11 years 10 months ago [\#186567](#186567) by [Saiah](/forum/user/34944-saiah "View Saiah's Profile")  Replied by *[Saiah](/forum/user/34944-saiah "View Saiah's Profile")* on topic *[Hikashop developing a payment plugin gateway](/forum/29-payment-methods/872933-hikashop-developing-a-payment-plugin-gateway?start=60#186567 "-- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.43 -- Browser(s) name and version -- : MOZILLA FF 33.0.3  Developed a payment plugin based on ok payment plugin that came with the system. It's for Tranzila gateway. The thing is when a payment is successful order status doesn't get updated ,to confirmed. When payment is bad the order does get cancelled ,only when good it's not confirmed. The payment gateway send notify on both success and failure and I've built pages for both. and on both pages I give order ID.(I give to gateway and gateway gives it back) So I think if you explain to me the procedure how the order gets confirmed I would know where to try and debug.")*

Thank you for everything,
I added this code to hikashop.js: Code:

if(type=='address' &amp;&amp; typeof varform.elements['data[address][email]'] != 'undefined') { var efield=varform.elements['data[address][email]']; var efilter = /^(([^&lt;&gt;()[\]\\.,;:\s@\"]+(\.[^&lt;&gt;()[\]\\.,;:\s@\"]+)*)&#124;(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])&#124;(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; if(efield.value.length &gt; 0 &amp;&amp; !efilter.test(efield.value)) {alert("Bad email !");return false;} }

And now I have email filter in the address form.
Anyway, when you enter the address it doesn't show the extra fields I added in the address info displayed on the checkout page, it only shows the original data, name phone street and so on!

How can I get it to also display the new fields?

Last edit: 11 years 10 months ago by [Saiah](/forum/user/34944-saiah "View Saiah's Profile").

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

11 years 10 months ago -  11 years 10 months ago [\#186569](#186569) by [Saiah](/forum/user/34944-saiah "View Saiah's Profile")  Replied by *[Saiah](/forum/user/34944-saiah "View Saiah's Profile")* on topic *[Hikashop developing a payment plugin gateway](/forum/29-payment-methods/872933-hikashop-developing-a-payment-plugin-gateway?start=60#186569 "-- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.43 -- Browser(s) name and version -- : MOZILLA FF 33.0.3  Developed a payment plugin based on ok payment plugin that came with the system. It's for Tranzila gateway. The thing is when a payment is successful order status doesn't get updated ,to confirmed. When payment is bad the order does get cancelled ,only when good it's not confirmed. The payment gateway send notify on both success and failure and I've built pages for both. and on both pages I give order ID.(I give to gateway and gateway gives it back) So I think if you explain to me the procedure how the order gets confirmed I would know where to try and debug.")*

Ok,
I have edited the address view and it all worked out, thanks.

Last edit: 11 years 10 months ago by [Saiah](/forum/user/34944-saiah "View Saiah's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzI5MzMtaGlrYXNob3AtZGV2ZWxvcGluZy1hLXBheW1lbnQtcGx1Z2luLWdhdGV3YXk/c3RhcnQ9NjAmdG1wbD1tYXJrZG93bg==) 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.051 seconds

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