Troubleshooting for the current version

#463 – Show ad id to user in paidsystem

Posted in ‘Support’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Saturday, 24 November 2018 12:04 CET

I'm trying to get the Invoicing offline payment plugin to display some information about the ad. So when the user selects this as payment option, I need to show the ID of the ad, and also I want to show a different text if the user has uploaded a file with the ad.

So basically I want to show something like this:
"Thank you for your new ad. Your ad has id-number xxxx. And you have uploaded a file with your ad"

And if there is no fileupload with ad:
"Thank you for your new ad. Your ad has id-number xxxx. And you have not uploaded any file"

How can I do this?
Custom Fields
Joomla Version
PHP Version
Product Version
Saturday, 24 November 2018 14:11 CET
I now see that the ad is not created and not given any id until the ad is payed... Its not in the list of ads.
I want the ad to be saved and listed with a id directly after saving the ad. But un-published.

This is because I am using a special textmessage payment system. The user sends a textmessage with their phone, with the ad-id. When the text message is recived the server sends a signal to activate the ad with this id.

Monday, 26 November 2018 13:24 CET

An ad that needs to be paid is in pending state and invisible in the list until the payment is made.

Changing that behavior cannot be made easily.

Are you sure you want that behavior or could you use the default one for what you need ?

Best regards.
Monday, 26 November 2018 23:36 CET
On my current website I am using a custom code that activates the ad on incoming textmessage. Now I'm building a new version of this website and I want to have PayPal payment also. And I think customers will be disappointed if I remove the text message payment.

It would be good if I can make the text-message also work as payment and activate the ad. Can you give some help on how to fix this? Or can you create this custom code for me?

Best regards
Tuesday, 27 November 2018 13:30 CET

Could you give me an example about how it works with that text message system ?
I want to be sure I understand perfectly what you want to do before doing anything.

I let the ticket in public, you can change that state if needed.

Best regards.
Thursday, 29 November 2018 12:14 CET

It works like this. It uses 2 small scripts.
When the ad is saved, the id of the ad is saved from the url with $_GET. There is also a check in the database if there is any file uploaded with this ad.

Then the next page shows the user information about how to pay the ad. Like this:
"Send text-message with your phone to phonenumber xxxx with your ad-id. Your ad id is xxxx"

Then the second script is connected to payment company. This script recives the text-message and finds out the ad-id with $_REQUEST. It also connects to the database and sends a query to update this row, "... SET published='1' WHERE id='$payad"

So the code is almost complete, it just needs some modifications to work together with Adsmanagers Paidsystem.

If you want I can send you the two scripts so you can see exactly how it works.
Friday, 30 November 2018 10:53 CET

You can send them at

Best regards.
Monday, 03 December 2018 18:55 CET

I have sent you a email with the files now. So I'm closing this ticket

Thank you
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.