Hi,
A couple of days ago I updated the site where I developed the onPaymentComplete php script in above plugin.
You supplied the plugin separately at the time since it was not yet in the previous RO Payments package.
I used version 6.4.0 to update. To my surprise my script was overwritten by the update!
Could you please check?
Thanks and best,
Eric
- Home »
- Support »
- RO Payments »
- Plugin jdideal/ropayments/ropayments.php overwritten?
- EricWebsite
- RO Payments
- Wednesday, 28 April 2021
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello Eric,
Easiest would be to rename your plugin to something else than ropayments so any future updates won´t overwrite yours.
To my surprise my script was overwritten by the update!Now that you mention it, this is no surprise to me but rather something I did not think of. So the RO Payments plugin is an example plugin and apparently you took the plugin verbatim instead of giving it your own name. This is why it is overwritten as the installer installs the plugins as well.
Easiest would be to rename your plugin to something else than ropayments so any future updates won´t overwrite yours.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- more than a month ago
- RO Payments
- # 1
Accepted Answer
Pending Moderation
Ah I see!
So I can change rhe folder name under plugins/jdideal/ ? Like from ropayments to onpaymentcomplete
Or should I change the ropayments.php file name?
So I can change rhe folder name under plugins/jdideal/ ? Like from ropayments to onpaymentcomplete
Or should I change the ropayments.php file name?
- more than a month ago
- RO Payments
- # 2
Accepted Answer
Pending Moderation
Hello Eric,
The changes that need to be done are:
The changes that need to be done are:
- Change the folder name plugins/jdideal/ropayments to plugins/jdideal/eric (the name eric can be anything)
- Change the filename ropayments.php to eric.php
- Change the filename ropayments.xml to eric.xml
- Inside the eric.xml also change ropayments to eric
- Change the language filenames and replace ropayments with eric
- In Joomla do a Discover installation and your plugin should show
- Complete the installation
- Enable the plugin under Plugins
- It should be ready to go
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- more than a month ago
- RO Payments
- # 3
Accepted Answer
Pending Moderation
Hi again,
Did all that but it does not seem to work.
I zipped up the plugin and attached it.
Is there anything wrong with it? I see it, it's published but does not work.
Obviously, the script.php is wrong, should I modify that too?
Did all that but it does not seem to work.
I zipped up the plugin and attached it.
Is there anything wrong with it? I see it, it's published but does not work.
Obviously, the script.php is wrong, should I modify that too?
Attachments (1)
- more than a month ago
- RO Payments
- # 4
Accepted Answer
Pending Moderation
Hello Eric,
The script.php is wrong indeed but that is only for auto-enabling the plugin. You can also just delete that file or if you want to keep it, you need to replace the word ropayment in the file with onpaymentcompleted. If you decide to delete it, remove it also from the onpaymentcompleted.xml.
The plugin does not work now because the classname is still the old one, this needs to be renamed from PlgJdidealRoPayments to PlgJdidealOnpaymentcompleted
That should be all.
The script.php is wrong indeed but that is only for auto-enabling the plugin. You can also just delete that file or if you want to keep it, you need to replace the word ropayment in the file with onpaymentcompleted. If you decide to delete it, remove it also from the onpaymentcompleted.xml.
The plugin does not work now because the classname is still the old one, this needs to be renamed from PlgJdidealRoPayments to PlgJdidealOnpaymentcompleted
That should be all.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- more than a month ago
- RO Payments
- # 5
Accepted Answer
Pending Moderation
Hi Roland,
Very sorry to bother you again, but it does not work.
The prugin does not seem to get triggered.
Could you please, please take a quick look at the plugin?
Very sorry to bother you again, but it does not work.
The prugin does not seem to get triggered.
Could you please, please take a quick look at the plugin?
Attachments (1)
- more than a month ago
- RO Payments
- # 6
Accepted Answer
Pending Moderation
Hello Eric,
It is not a bother at all
So I installed your plugin, put my own code in the onPaymentComplete and made a successful payment using the payment page and the onPaymentComplete is triggered.
There is no problem with your plugin as far as I can see. You could put in a lone of code like this one, so you get an email every time it is triggered:
It is not a bother at all

There is no problem with your plugin as far as I can see. You could put in a lone of code like this one, so you get an email every time it is triggered:
mail('YOUR EMAIL@SOMEHWERE', 'onPaymentComplete', 'The trigger onPaymentComplete is called');
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- more than a month ago
- RO Payments
- # 7
Accepted Answer
Pending Moderation
Hi Roland,
Indeed it does work! There was a typo in the code (wrong field name) that I put into the plugin that made me think it was not triggered.
Murphy strikes a lot in this project ...
Anyway, thanks for your patience with me!
Best,
Eric
Indeed it does work! There was a typo in the code (wrong field name) that I put into the plugin that made me think it was not triggered.
Murphy strikes a lot in this project ...
Anyway, thanks for your patience with me!
Best,
Eric
- more than a month ago
- RO Payments
- # 8
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »