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

#   Stripe

##

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

Less More

- Posts: 108
- Thank you received: 1
-
-

8 years 4 months ago [\#294825](#294825) by [shoppist](/forum/user/31108-shoppist "View shoppist's Profile")  *[Stripe](/forum/29-payment-methods/895158-stripe#294825 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.8  Hi,  I Need customized code to store extra information about the order into the hikashop table on successful payment of stripe like :  Subscription Id and Total no. of installments 2.Paid installments 3.Start Date End Date  I have already implemented stripe subscription through Webhooks and have all the info pulled from stripe. How can I include the extra information within order details (like for example PayPal transaction ID).  Thank you,")* was created by *[shoppist](/forum/user/31108-shoppist "View shoppist's Profile")*

-- HikaShop version -- : 3.4
-- Joomla version -- : 3.8.8

Hi,

I Need customized code to store extra information about the order into the hikashop table on successful payment of stripe like :

Subscription Id and Total no. of installments
2.Paid installments
3.Start Date
End Date

I have already implemented stripe subscription through Webhooks and have all the info pulled from stripe.
How can I include the extra information within order details (like for example PayPal transaction ID).

Thank you,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTUxNTgtc3RyaXBlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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: 86584
- Thank you received: 14325
-
-

8 years 4 months ago [\#294830](#294830) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Stripe](/forum/29-payment-methods/895158-stripe#294830 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.8  Hi,  I Need customized code to store extra information about the order into the hikashop table on successful payment of stripe like :  Subscription Id and Total no. of installments 2.Paid installments 3.Start Date End Date  I have already implemented stripe subscription through Webhooks and have all the info pulled from stripe. How can I include the extra information within order details (like for example PayPal transaction ID).  Thank you,")*

Hi,

It depends. If it's only for you, then you can create custom fields of the table "order" via the menu Display&gt;Custom fields and store the informations there.
If it's for a plugin for the public, then you want to store that in the column order_payment_params of hikashop_order.
You should have your data serialized in that column and you should have an object with attributes.
For example: Code:

$data = new stdClass(); $data-&gt;subscription_id = $subscription_id; // etc for the rest of the data $order = new stdClass(); $order-&gt;order_id = $order_id; $order-&gt;order_payment_params = $data; $orderClass = hikashop_get('class.order'); $orderClass-&gt;save($order);

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

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

Less More

- Posts: 108
- Thank you received: 1
-
-

8 years 4 months ago [\#295042](#295042) by [shoppist](/forum/user/31108-shoppist "View shoppist's Profile")  Replied by *[shoppist](/forum/user/31108-shoppist "View shoppist's Profile")* on topic *[Stripe](/forum/29-payment-methods/895158-stripe#295042 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.8  Hi,  I Need customized code to store extra information about the order into the hikashop table on successful payment of stripe like :  Subscription Id and Total no. of installments 2.Paid installments 3.Start Date End Date  I have already implemented stripe subscription through Webhooks and have all the info pulled from stripe. How can I include the extra information within order details (like for example PayPal transaction ID).  Thank you,")*

Thank you for your reply.

We have managed to make the installments displayed.

I have Updated two Files
in folder administrator\components\com_hikashop\views\order\tmpl

Listing.php
show_general.php file

these two file have to update to visualize installments in hikashop admin area.
functionality is with in plugin only this is just to visualize in the admin area.

Can we change view of admin area of Component with help of Plugin?

these files can also be replaced through ftp
in paypal, HikaShop creates a new order for the recurring payment and the akeeba subscription plugin extends the subscription period.
installment details are in akkeba not in hika

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTUxNTgtc3RyaXBlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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: 86584
- Thank you received: 14325
-
-

8 years 4 months ago [\#295046](#295046) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Stripe](/forum/29-payment-methods/895158-stripe#295046 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.8  Hi,  I Need customized code to store extra information about the order into the hikashop table on successful payment of stripe like :  Subscription Id and Total no. of installments 2.Paid installments 3.Start Date End Date  I have already implemented stripe subscription through Webhooks and have all the info pulled from stripe. How can I include the extra information within order details (like for example PayPal transaction ID).  Thank you,")*

Hi,

Just place these files in the folder administrator/templates/YOUR_TEMPLATES/html/com_hikashop/order/ and your view files will be used instead of the default one automatically.
And since they will be seen as overrides, you won't loose them when you update your HikaShop.

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

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