Thread Starter
frafor
(@frafor)
If I move to Paypal as Gateway (instead of Simulator) then I’m redirected to the Paypal page.
However the form asking for my details (the one that appears in Simulator mode) does not appear.
Anyway, I’d like to make some test in Simulator mode, is it possible?
Thread Starter
frafor
(@frafor)
UPDATE 2:
Even if i get the fatal error above, confirmation e-mail are being sent correctly.
I’m using a licensed copy of StageShowPlus
Plugin Author
Malcolm
(@malcolm-oph)
Looks like a build configuration issue.
Try version 6.2.3
Thread Starter
frafor
(@frafor)
Hi Malcolm, thanks for the reply.
Moved to 6.2.3, and now I get:
Cannot use object of type stdClass as array in /web/htdocs/[…myfolders…]/wp-content/plugins/stageshowplus/include/stageshowlib_simulator_gateway.php on line 221
Confirmation mail is still sent anyway thou
Thread Starter
frafor
(@frafor)
Hi, I’m still waiting for an answer. Moreover, I’ve translated the plugin to Italian with Poedit and I’d like to send the traslations files to you (mo / po).
Thread Starter
frafor
(@frafor)
Problem solved, in:
/stageshowplus/include/stageshowlib_simulator_gateway.php on line 221
Change line to:
$this->simSaleStatus = '<br>'.__('EMail Sent to', $this->myDomain).' '.$saleHeader->saleEMail;
And the sim checkout will work.
Another problem I’ve found is that the plugins loads its stuff too early so, sometimes WordPress function wouldn’t work.
An example in: stageshowlib_sales_trolley_dbase_api.php
I’ve changed the function FormatTimestampForDisplay() to use date_i18n() instead of date() (line 241). Everything was working fine, except when I added a ticket: in that case, then the cart returned that function date_i18n didn’t exist.
Plugin Author
Malcolm
(@malcolm-oph)
Sorry for the delay … my emails of forum updates have now been marked as “spam” so I missed your recent posts.
I’ve updated the simulator code to fix the issue above (and one more). This will be included in the next release.
You may have been fooled into thinking StageShow loads too early. Some of the Shopping Cart functionality uses direct calls to PHP scripts (for speed) which bypass WordPress completely. These scripts have their own implementation of some (but not all) of the WP core functions so this could be why your call to date_i18n() failed.
Plugin Author
Malcolm
(@malcolm-oph)
If you have translation files for me, please contact me via my contact page (here) and I’ll get back to you with my email address.
Thanks
-
This reply was modified 8 years, 10 months ago by
Malcolm.
Thread Starter
frafor
(@frafor)
Hi Malcolm, thanks for the fixes. It seems to work fine for now, today I’ll make a real payment to check if even the Paypal checkout is fine.
I’ve just sent you an e-mail for the translation files 😉