- Posts: 8
- Thank you received: 1
Transaction ID too long
- Chris Dahlberg
- Topic Author
- Offline
- New Member
-
Less
More
8 years 9 months ago #83867
by Chris Dahlberg
Transaction ID too long was created by Chris Dahlberg
Hi,
Is there anyway to make the transaction ID shorter. In payment form that we were previously using it is only 7or 8 characters long which is fine to use for a banking ref. In Membership Pro it is way to long to use as the payment ref when doing bank transfer.
Thanks for your time.
Chris
Is there anyway to make the transaction ID shorter. In payment form that we were previously using it is only 7or 8 characters long which is fine to use for a banking ref. In Membership Pro it is way to long to use as the payment ref when doing bank transfer.
Thanks for your time.
Chris
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 9 months ago #83931
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Transaction ID too long
Hi Chris
You can edit the code to make it shorter. Please :
1. Open the file components/com_osmembership/model/register.php
2. Find this line of code:
3. Change 16 to 8
After that, it will work as expected
Tuan
You can edit the code to make it shorter. Please :
1. Open the file components/com_osmembership/model/register.php
2. Find this line of code:
Code:
$data['transaction_id'] = strtoupper(JUserHelper::genRandomPassword(16));
3. Change 16 to 8
After that, it will work as expected
Tuan
Please Log in or Create an account to join the conversation.
- Chris Dahlberg
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 1
8 years 9 months ago #83995
by Chris Dahlberg
Replied by Chris Dahlberg on topic Transaction ID too long
Hi Tuan,
Thanks for that, made the alteration to the register.php file as above but still getting 16 characters.
Is there a second file that can be overriding this?
Thanks,
Chris
Thanks for that, made the alteration to the register.php file as above but still getting 16 characters.
Is there a second file that can be overriding this?
Thanks,
Chris
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 9 months ago #84008
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Transaction ID too long
That should be the only field. You subscribe for the plan in the frontend and receiving that transaction id, correct?
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Chris Dahlberg
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 1
8 years 9 months ago #84010
by Chris Dahlberg
Replied by Chris Dahlberg on topic Transaction ID too long
Hi,
Yes adjusted the above file in the backend to 8. Then subscribe to plan in frontend and transaction ID comes in email and it stays at 16 characters. I also tried changing it to (()) like in the payment form component which sends 8 characters and no difference.
Chris
Yes adjusted the above file in the backend to 8. Then subscribe to plan in frontend and transaction ID comes in email and it stays at 16 characters. I also tried changing it to (()) like in the payment form component which sends 8 characters and no difference.
Chris
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 9 months ago #84023
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Transaction ID too long
Hi Chris
Maybe you should submit a support ticket sending us super admin account of your site and the link to subscription form. I am going to check to see why it happens and get it sorted for you
BTW, what payment method you are using?
Tuan
Maybe you should submit a support ticket sending us super admin account of your site and the link to subscription form. I am going to check to see why it happens and get it sorted for you
BTW, what payment method you are using?
Tuan
Please Log in or Create an account to join the conversation.
- Chris Dahlberg
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 1
8 years 9 months ago #84043
by Chris Dahlberg
Replied by Chris Dahlberg on topic Transaction ID too long
Will do, and offline payment at this time.
Chris
Chris
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.