Osclass Support Forums

Osclass plugin support => SMS Payments Plugin => Topic started by: Адриан Димитров on May 27, 2016, 08:50:59 PM

Title: [SOLVED] Ads not market as "Premium"
Post by: Адриан Димитров on May 27, 2016, 08:50:59 PM
Hello, everything seems to be set up. Tests are ok, showing that the ad is set as premium but it is not. It does not mark ads as premium after payment.

OsClass 3.6.1, Theme - Glider.

Do i have to enable something in the osclass admin? (SMS plugin test mode -off)
Title: Re: Ads not market as "Premium"
Post by: MB Themes on May 27, 2016, 10:53:16 PM
@Адриан Димитров
Please make sure your secret key and other credentials are correct.
Title: Re: Ads not market as "Premium"
Post by: Адриан Димитров on May 28, 2016, 04:53:53 PM
@Адриан Димитров
Please make sure your secret key and other credentials are correct.

Hi, the part whit fortumo seems to be ok. It is in sandbox (no real payment) mode and osclass shows "Listing has been promoted", but after that the item is not marked as "Premium" in Osclass.  :)

*Update, the "Fancybox" (image preview) is not working when SMS payment enabled.
Title: Re: Ads not market as "Premium"
Post by: MB Themes on May 28, 2016, 06:09:42 PM
@Адриан Димитров
You might need to check for javascript conflict there, or post your url.
Title: Re: Ads not market as "Premium"
Post by: Адриан Димитров on May 28, 2016, 06:21:55 PM
@Адриан Димитров
You might need to check for javascript conflict there, or post your url.

The site is work in progress. I disabled "maintenance mode" so you can see it.


www.ImaSdelka.BG
Title: Re: Ads not market as "Premium"
Post by: MB Themes on May 28, 2016, 08:21:22 PM
@
Your theme is not well developed, you can see javascript errors comming directly from it:
Code: [Select]
bootstrap.min.js:6 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
script.js:40 Uncaught TypeError: $(...).carousel is not a function

In first case improper jQuery library is used
In second, error is probably caused by first one or carousel function is loaded later then function that calls it.
Title: Re: Ads not market as "Premium"
Post by: Адриан Димитров on May 29, 2016, 12:24:56 PM
@
Your theme is not well developed, you can see javascript errors comming directly from it:
Code: [Select]
bootstrap.min.js:6 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
script.js:40 Uncaught TypeError: $(...).carousel is not a function

In first case improper jQuery library is used
In second, error is probably caused by first one or carousel function is loaded later then function that calls it.


This erros comes out after i enable the SMS payment plugin, even if it is not included in item.php. Strange :(
Title: Re: Ads not market as "Premium"
Post by: Адриан Димитров on May 29, 2016, 02:40:24 PM
Problem maybe found.

Fortumo:
1. Reference our JavaScript library

Mobile Payments for Web Apps uses jQuery version 1.7.1. If you are also using jQuery you have to use jQuery.noConflict(). For more information check out http://api.jquery.com/jQuery.noConflict


But i'm not a coder and i have no idea how to use jQuery.noConflict. Help! :(
(Items still not marked as premium in osclass, but maybe its the same error)
Title: Re: Ads not market as "Premium"
Post by: MB Themes on May 30, 2016, 10:02:33 AM
@Адриан Димитров
Current status on this is that forumo api does not forward successful payment to your site, let's wait for their response.
Title: Re: Ads not market as "Premium"
Post by: Адриан Димитров on May 30, 2016, 10:25:58 PM
I think that their script "fortumopay.js" is not compatible with my theme. Their script uses jQuery version 1.7.1... wich is in conflict with mine(latest) so many of my theme functions dont work. :( I guess i'm just ""lucky""
Title: Re: Ads not market as "Premium"
Post by: MB Themes on May 31, 2016, 07:21:06 AM
@Адриан Димитров
That is something totally different. More, as you told they use own version of jQuery...
Problem is on fortumo side. Once payment is completed, they should ping your site with payment information. This does not happen.
Title: Re: Ads not market as "Premium"
Post by: MB Themes on May 31, 2016, 02:40:44 PM
Could you please check with hosting provider to make sure following IPs are white-listed?

54.72.6.126
54.72.6.27
54.72.6.17
54.72.6.23
79.125.125.1
79.125.5.95
79.125.5.205
Title: Re: Ads not market as "Premium"
Post by: Адриан Димитров on June 01, 2016, 03:06:58 PM
Hello, it is a private server, no IP blocks at all :)
Title: Re: Ads not market as "Premium"
Post by: MB Themes on June 01, 2016, 03:18:47 PM
@Адриан Димитров
Ok, I got message from fortumo that these IPs should be whitelisted.
Can you now go live with application? We still leave it in sandbox mode, but needs to get it live (instruction from Fortumo).
Title: Re: Ads not market as "Premium"
Post by: Адриан Димитров on June 01, 2016, 04:02:53 PM
Premium - now live :) (test mode only in OSCLASS)
Title: Re: Ads not market as "Premium"
Post by: MB Themes on June 01, 2016, 05:55:06 PM
@Адриан Димитров
Was it approved by fortumo? it used to take 1-2 days.
Title: Re: Ads not market as "Premium"
Post by: MB Themes on June 01, 2016, 06:01:04 PM
Can you resend me login details to database and fortumo page? I found successful logs there, maybe we are pretty close.
I know you sent it to me already, but cannot find it anywhere.
Title: Re: Ads not market as "Premium"
Post by: Адриан Димитров on June 01, 2016, 06:18:02 PM
PM Sended. :)
Title: Re: [SOLVED] Ads not market as "Premium"
Post by: Адриан Димитров on June 01, 2016, 10:20:53 PM
Final conclusion:

The problem was NOT in the plugin, it was whit the fortumo service being blocked. The support was GREAT! The plugin is working perfect for now. In my case only the jquery conflict left.

- following IPs must be white-listed:
54.72.6.126
54.72.6.27
54.72.6.17
54.72.6.23
79.125.125.1
79.125.5.95
79.125.5.205

- application should go LIVE before testing (For testing: Live in fortumo, TEST in plugin settings), otherwise payment may not be forwarded.
Title: Re: [SOLVED] Ads not market as "Premium"
Post by: MB Themes on June 02, 2016, 08:08:17 AM
@Адриан Димитров
Welcome, I would just add that:
- following IPs must be white-listed:
54.72.6.126
54.72.6.27
54.72.6.17
54.72.6.23
79.125.125.1
79.125.5.95
79.125.5.205

- application should go live before testing, otherwise payment may not be forwarded.