Hi all, just wondering if anyone would know how to make it so discount codes only work on one ticket per order, rather than every ticket?
I’ve tried many different routes, including inserting this code within stageshow-wp-config.php file, as well as various other files, but can’t seem to find where to edit the trolley’s code:
function StageshowFilterDiscount($unused, $cartContents)
{
$discount = 0;
// Loop round all Trolley Entries
foreach ($cartContents->rows as $cartEntry)
{
$showName = $cartEntry->showName; // Show Name
$qty = $cartEntry->qty; // Number of tickets
$cost = $cartEntry->price; // Price per ticket
// Apply discount only to the first ticket of each show
if ($qty > 0) {
// Calculate 33.36% discount for the first ticket
$discountAmount = $cost * 0.3336;
$discount += $discountAmount;
// Display the discount details for the user (optional)
define('STAGESHOWLIB_TROLLEYHTML_ABOVEBUTTONS', '<tr><td><br></td></tr><tr>
<td colspan="6" style="text-align:left"><h2>A DISCOUNT HAS BEEN APPLIED TO YOUR ORDER!</h2></td>
</tr>
<tr>
<td colspan="6" style="text-align:left">You have received a 33.36% discount on the first ticket for each show in your order.</td>
</tr>
<tr><td><br></td></tr>');
}
}
// Uncomment the line below to show the discount amount in the trolley
// echo "Total Discount: $discount <br>\n";
return $discount;
}
add_filter('stageshow_filter_discount', 'StageshowFilterDiscount', 1, 2);
This code works, but applies to the cart regardless of whether a discount code has been used (and when a discount code is submitted, it removes this anyway).
Any help would be greatly appreciated! Thankyou.
]]>When adding a new show, there’s the already documented problem with recent stageshow version, that a new seating plan does not links to a tariffplan. So making it impossible to add a new seating or pricing layout.
I experienced another odd bug: when a new show is added and I try to add performances, only the first performance gets listed correctly. The second one, does not take into account the seating plan, resulting in not showing the correct number of available seats and a bigger problem: not showing up in the box office.
This is a major problem, because the audience cannot purchase tickets for upcoming performances.
Is it possible to reduce the checkout timeout period to below 60 minutes? It’s too long to leave sales pending for an hour when we have popular events that are nearly sold out.
I’ve found that I can increase the default timeout period (in Settings.. Advanced) but when I try to reduce it it just springs back to 60.
My tech-savvy colleague can’t find an easy way to do this without seriously messing with the StageShow code, which we really don’t want to do. If there isn’t an easy way to reduce the timeout now, would Malcolm be willing to change the code to make it possible?
We’re using Stripe as our payment gateway, if that’s relevant.
]]>Is there anyone working on translations to swedish? I could volunteer to do this if there is no one working on it.
Are there any developers still working on this?
]]>Hello
Whenever I try to add a price plan using the button “Add new price plan” and choosing my seating plan in the drop down menu it creates a new price plan but the ?Seating Plan shows:? (None) and I get no “zones” in the price row.
I can se all my seating plans in the drop down but it doesn’t matter witch one I choose. It always ends up with seating plan: (none)
]]>If I have one performance, everything is ok. If I add a second performance, this does not show up with any of the shortcodes. The only difference, which I can see, is in the performance the seat plan with the first performance is fixed. The seat plan for all additional performances can be choosen, as though it is the same price plan.
]]>I’m trying to get StageShow to work for our community theater but we have complicated seating (not rectangular). I’m attempting to upload a template file, which is failing stating that I have an empty filename (Error: “Template Import Error – Empty Filename”). In the documentation it states that custom templates are not covered. Do you have any documentation on how to create a template? I know HTML and CSS very well.
I’m attempting to create four sections: a main, two sides, and a balcony. The lower sections must be reserved, but balcony seats are general admission.
We’d like to sell tickets starting in mid-March. Any assistance would be appreciated.
]]>@malcolm-oph, the current Dutch translation is a Flemish (Belgian Dutch) translation. I’d like to create a “Netherlands” Dutch translation. How do I go about it?
Thanks, Jan Stout
]]>Not sure what is happening. I have entered 4 performance for my test show and checked it out and everything works fine. However, if I add a new performance to the list, then previous performance lose the ticket choice but the new one is ok. I have tried deleting all performances and re-entering new ones. I keep getting the same strange thing happening…
]]>Thank you for the 9.8.4. update. File export now works fine with me! So we will be able to export all the relevant data in an upcoming show with 12 performances. Merry Christmas.
]]>May I come back again with this request; I posted it about 4 months ago. Other users confirmed the same problem.
I am trying to export the sales to a tab delimited text file, type sales summary, show all, filter none (or sales list; does not make any difference). After downloading the export file I receive an empty file (50 KB) with the following text:
Safe_EchoScript called when not outputting script
I would be glad for any help. Thank you. Urs R.
Hello just setting up Paypal as payment method for client, and I have got the API User, Pass and Signature and yet Paypal comes up with the 10001 API Error, can someone please help…
Another client has done this the same way and its working perfect.
]]>I am trying to create my first show.
Have followed steps in documentation and added seating plan, show and price plan.
When I come to ad performance it keeps defaulting to todays date. I change and save but it keeps going back to todays date.
Any ideas please?
]]>This is an absolute fantastic plugin that does more that what is says, well done and thnk you.
I might be doing something wrong and someone can suggest a reason.
I have tried this plugin in a localhost enviroment, on a production server and with and without LightSpeed. When ever this plugin is activated overall performnce goes for an absolute nosedive.
Any suggestions? Thanks in advance.
]]>When a sale is booked and we want to take a look at the e-mail we get link has expired.
script errors. Sending works do.
wp_die()
wp_nonce_ays()
check_admin_referer()
StageShowLibDBaseClass->CheckAdminReferer()
StageShowLibDisplayEMailClass->ProcessRemoteCall()
StageShowDisplayEMailClass->__construct()
StageShowLibSalesPluginBaseClass::HandleCallbacks()
StageShowPluginClass->OnWPLoaded()
do_action('wp_loaded')
Hi, Is it possible to add Singapore dollars and AED to the Payment Gateway list of currencies for Stripe?
Thank you!
]]>I’d like to test whether we can use the Stripe payment gateway instead of PayPal, but I’m struggling to find documentation on how to do this. There’s little help from Stripe itself (we already have an account with them as a gateway for donations via GiveTap) – they just say ‘consult your platform’s documentation’.
I’ve found a doc on how to set up Stripe within WordPress generally:
https://wpastra.com/guides-and-tutorials/stripe-wordpress-setup/
But I’m not sure how this might relate to the fields in the StageShow Stripe payment gateway. Can anyone help?
Graham
]]>The latest version of the StageShow user guide that I can see (on the ‘Overview’ page) is dated 16/08/21, though it seems to be identical to the one dated 13/08/2018 that can be accessed via the FAQ section of the plugin details in the WordPress dashboard.
Is there anything more recent? We’d like to explore the option of using Stripe as our payment gateway but there’s nothing Stripe-specific in the StageShow user guide.
Graham
]]>Has anyone else seen this? It’s happened to us twice recently. Our tickets page, instead of showing the StageShow boxoffice (with a few active, current shows) simply shows our ‘No sales available’ empty box office message. After this happens, shows can again be displayed by listing their specific IDs (e.g. [sshow-boxoffice id=”Name of show”] but tickets then can’t be bought as the ‘Quantity’ column is absent.
In a possibly related error, existing price plans are shown as having no prices.
The workaround is to create new shows and performances initialised with new price plans. But as I’ve no idea what’s causing the error(s) I can’t guarantee it won’t happen again.
When we first saw the error(s) we’d rolled StageShow back to 9.6 in response to the mail sending errors introduced in 9.7.6 (see posts on this below). We’ve now updated to 9.8.2 as the mail errors seem to have been fixed. But can we be confident that the ’empty box office’ error won’t reappear?
Graham
]]>Paypal asks to update to the latest PayPal system.
]]>First of all thank you very much for the StageShow plugin. I appreciate it very much, indeed! Just one thing which I could not find in support themes/FAQ/the documentation. I am trying to export the sales to a tab delimited text file, type sales summary, show all, filter none (or sales list; does not make any difference). After downloading the export file I receive an empty file (50 KB) with the following text:
Safe_EchoScript called when not outputting script
I would be glad for any help. Thank you. Urs R.
Hi Malcolm et al,
I hope you are well. Our customers are getting this message when they add seats “jQuery Call Error: Session Variables not available” – I suspect I am being an arse. Can you help me.
Kind regards
Steve
]]>I’ve been using Stageshow with custom buttons defined.
After the last update only one of my defined buttons is still showing.
Also all buttons are marked the same as “send”
Please help.
]]>Can someone please help, we have used system for many years, with no issue, just recently customers name is not being pulled through even tho entered to stripe, when it was working fine and now the email button is Link Expired for some reason…. can someone advice,
system no major updates done,.
]]>Since the upgrade our emails are not being sent due to missing message content. The Sales Email Test also fails to see the message content, including for previously successful emails.
Email sent with 9.7.4 (personal data x’d out to protect the innocent)
To: [email protected]
Subject: Exeter Street Hall Booking Confirmation
Thank you for your booking online with Exeter Street Hall
The booking below is confirmed. Please bring a copy of this email with you to the event.
Order Details:
Payment Method: PayPal
Sale Reference: 6J8114526V6886815
Contact EMail: [email protected]
Purchaser:
xxxxxx
xxxxx
xxxxx
xxxxx
xxx
Purchased:
The Kites 2022-19th Nov 8:00pm-Single price - Single price - Qty:1 - £10.00
Payment:
Total: £10.00
Any queries relating to this booking should be emailed to [email protected]
For further information on shows please visit our web site on https://exeterstreethall.org
Same email being viewed in 9.7.6
To: [email protected]
Subject: Exeter Street Hall Booking Confirmation
Our mailer plugin WP SMTP also registers an error as follows:
Heads up! The last email your site attempted to send was unsuccessful.
Email Source: StageShow
Mailer: Other SMTP
Message body empty
For more details please try running an Email Test or reading the latest error event.
Thank you in advance for any suggestions
Murdo
]]>In the last week, no sales emails where being sent out. And when I click on the “View Email” in a confirmed sale, I get an error page from wordpress:
The link you followed has expired
Please Try Again
This appears to line up with the last update. I have tried a lot of things but I can not get round it. I turned of caching etc… This is a bit concerning as if I cant even view the email, then I can’t even manually send a copy.
As its a live event, I did not want to do an downgrade incase everything went poop.
Thank you in advance.
]]>Hi, I would like to add a couple of questions to the checkout or order page, asking purchasers how they heard about the show and if buying due to a cast member, for them to tell us who it was. Any ideas how I can add this sort of thing?
Thanks ??
]]>Are there more shortcodes then these:
[salePPName] Buyer PayPal Account Details: Name
[salePPStreet] Buyer PayPal Account Details: Street
[salePPCity] Buyer PayPal Account Details: City
[salePPState] Buyer PayPal Account Details: State
[salePPZip] Buyer PayPal Account Details: Zip/Post Code
[salePPCountry] Buyer PayPal Account Details: Country
[saleDateTime] Sale Details: Date and Time
[saleName] Sale Details: Buyer Name
[saleEMail] Sale Details: Buyer EMail
[salePaid] Sale Details: Paid
[saleTxnId] Sale Details: PayPal Transaction ID (TxnId)
[saleStatus] Sale Details: PayPal Transaction Status
[saleBarcode] Sale Details: PayPal Transaction ID converted to a Barcodes (Only for StageShow+)
[startloop] Marker for the start of a loop for each ticket type purchased
[endloop] Marker for the end of the loop
[ticketName] Sale Details: Ticket Name
[ticketType] Sale Details: Ticket Type ID
[ticketQty] Sale Details: Ticket Quantity
[organisation] The Organsiation ID (as on the Settings Page)
[adminEMail] The Admin EMail (as on the Settings Page)
[url] The Site Home Page URL
I’m trying to create an e-ticket in which i only show:
The number of adults and / or children + only the “Row” they picked their seats in. My rows represent Tables, so i only need to know the table number, not the seat number.
Now i have:
[startloop][ticketName]?-[ticketQTY]?-[ticketSeat]
[endloop]
But this gives me way too much info for an e-ticket because i get this: Nieuwe voorstelling-juli 13, 2023 8:00 pm-Volwassene-11A?—?Zitplaats: 11A
Nieuwe voorstelling-juli 13, 2023 8:00 pm-kind-12A?—?Zitplaats: 12A
So the text in BOLD i don’t need to see that because i display it somewhere else in the mail allready. But if i delete [ticketName], it will also delete the “volwassene-11A, kind-12A” and that is not supposed to happen.
The [ticketQTY] by the way doesn’t show up at all in my e-ticket…or any mails so i’m just gonna leave that out. I hoped i could use it to define the number of adults….but guess not.
I tried [ticketRow] but appearantly that code does not exist because it doesn’t do anything…sadly.
]]>Thank you for making this plugin! I used it for two shows and ticket sales went smoothly!
While configuring and using StageShow, I did make some modifications to our local installation and thought of some possible additions that might be useful to others.
Would you consider contributions?
]]>This is such a great plugin but I’m getting a jQuery Call Error: Session Variables not available every time someone goes to add their first tickets – after page refresh it’s fine. I tried using the no JQuery option in the settings but then the seat selection doesn’t work.
I tried forcing a refresh the first time the page is loaded but this doesn’t help as the Session Variable isn’t set until the ticket is added.
Happy to use a work around , just don’t want to have to add text asking people to refresh the page and start again if they get the error…
]]>