Osclass Support Forums
Osclass plugin support => SMS Payments Plugin => Topic started 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)
-
@Адриан Димитров
Please make sure your secret key and other credentials are correct.
-
@Адриан Димитров
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.
-
@Адриан Димитров
You might need to check for javascript conflict there, or post your url.
-
@Адриан Димитров
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
-
@
Your theme is not well developed, you can see javascript errors comming directly from it:
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.
-
@
Your theme is not well developed, you can see javascript errors comming directly from it:
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 :(
-
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)
-
@Адриан Димитров
Current status on this is that forumo api does not forward successful payment to your site, let's wait for their response.
-
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""
-
@Адриан Димитров
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.
-
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
-
Hello, it is a private server, no IP blocks at all :)
-
@Адриан Димитров
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).
-
Premium - now live :) (test mode only in OSCLASS)
-
@Адриан Димитров
Was it approved by fortumo? it used to take 1-2 days.
-
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.
-
PM Sended. :)
-
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.
-
@Адриан Димитров
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.