Forum Replies Created
-
AuthorPosts
-
June 28, 2016 at 5:16 pm in reply to: How to make flat fee to charge per ticket sold instead of each event in an order #1133247TacParticipant
Thanks Brook,
Can you please confirm the following?
1. Do I need to upgrade our plugins to 4.2.1 before I install your snippet?
2. Does your snippet has a fix for non-split payments as well?
3. Where do I get to see the site fee calculated for a given order?Thanks and appreciate your help!
June 22, 2016 at 4:40 am in reply to: How to make flat fee to charge per ticket sold instead of each event in an order #1130283TacParticipantHi Brook,
Apologies for the absence!
No, we are not using split payments. Any chance, we can still get this fixed please?
Thank you.
June 17, 2016 at 5:39 am in reply to: How to make flat fee to charge per ticket sold instead of each event in an order #1128353TacParticipantThanks Brook.
June 15, 2016 at 8:05 pm in reply to: How to make flat fee to charge per ticket sold instead of each event in an order #1127660TacParticipantHi Brook,
Hope you had a great vacation. Look forward to the snippet. We are really desperate to use it as it’s costing us money on each ticket sold..
Thanks in advance.
June 14, 2016 at 1:43 pm in reply to: How to make flat fee to charge per ticket sold instead of each event in an order #1126979TacParticipantHi Brook,
Hope you are well!
Can you please help on the above as suggested?
Thanks.
June 9, 2016 at 8:56 pm in reply to: How to make flat fee to charge per ticket sold instead of each event in an order #1124865TacParticipantHi Brook,
Thanks and glad that it makes sense to you and others in the team too.
That’ll be great if you could provide us some code snippet for the time being.
Thanks and looking forward to it.
TacParticipantHi Hunter,
Thanks for your response.
I’ve attached Payment-Options.php file with the editions I have made. Can you please have a look and advise around what needs to be done to enable event organisers to select whether they want to absorb the fees or to pass on without having Paypal Adaptive option turned on.
Thank you.
——————————————————————————————————————————————————————————————————–
<?php
/**
* My Payment Options Template
* The template for payment options.
*
* Override this template in your own theme by creating a file at
* [your-theme]/tribe-events/community/payment-options.php
*
* @package Tribe__Events__Community__Community_Events_Tickets
* @since 3.1
* @author Modern Tribe Inc.
*
*/if ( ! defined( ‘ABSPATH’ ) ) {
die( ‘-1’ );
}
?>
<div id=”tribe-community-events”>
<div class=”tribe-menu-wrapper”>
” class=”button”>
<?php echo sprintf( __( ‘My %s’, ‘tribe-events-community’ ), tribe_get_event_label_plural() ); ?>
<?php do_action( ‘tribe_ct_payment_options_nav’ ); ?>
</div><?php
do_action( ‘tribe_ct_before_the_payment_options’ );
$options = get_option( Tribe__Events__Community__Tickets__Main::OPTIONNAME, Tribe__Events__Community__Tickets__Main::instance()->option_defaults );
?><form method=”post”>
<?php wp_nonce_field( ‘tribe_ct_save_payment_options’, ‘payment_options_nonce’ ); ?><?php echo esc_html__( ‘PayPal Optionsxxxxx’, ‘tribe-events-community-tickets’ ); ?>
<div class=”tribe-section-container”>
<p>
<?php
esc_html_e( ‘Please enter your PayPal email address; this is needed in order to take payment.’, ‘tribe-events-community-tickets’ );
?>
</p>
<table class=”tribe-community-tickets-payment-options” cellspacing=”0″ cellpadding=”0″>
<tbody>
<tr>
<td>
<?php tribe_community_events_field_label( ‘paypal_account_email’, __( ‘Email:’, ‘tribe-events-community-tickets’ ) ); ?>
</td>
<td>
<input type=”email” id=”paypal_account_email” name=”paypal_account_email” value=”<?php echo esc_attr( $data[‘paypal_account_email’] ); ?>”/>
<?php
if ( Tribe__Events__Community__Tickets__Main::instance()->is_split_payments_enabled() ) {
?>
<div class=”note”>
<?php
esc_html_e( ‘Tickets cannot be created without an email address that is associated with PayPal’, ‘tribe-events-community-tickets’ );
?>
</div>
<?php
}
?>
</td>
</tr>
</tbody>
</table>
</div><?php
$gateway = Tribe__Events__Community__Tickets__Main::instance()->gateway( ‘PayPal’ );$flat = $gateway->fee_flat;
$percentage = $gateway->fee_percentage;if ( ‘flat’ === $options[‘site_fee_type’] || ‘flat-and-percentage’ === $options[‘site_fee_type’] ) {
$flat += (float) $options[‘site_fee_flat’];
}if ( ‘percentage’ === $options[‘site_fee_type’] || ‘flat-and-percentage’ === $options[‘site_fee_type’] ) {
$percentage += (float) $options[‘site_fee_percentage’];
}if ( $flat || $percentage ) {
?><?php echo esc_html__( ‘Ticket Fees’, ‘tribe-events-community-tickets’ ); ?>
<div class=”tribe-section-container”>
<table class=”tribe-community-tickets-payment-options” cellspacing=”0″ cellpadding=”0″>
<tbody>
<tr>
<td>
<?php echo esc_html__( ‘Fee Structure:’, ‘tribe-events-community-tickets’ ); ?>
</td>
<td>
<p>
<?php
if ( $flat && $percentage ) {
echo sprintf(
esc_html__(
‘Fees are %s%% per transaction plus a $%s flat fee per ticket.’,
‘tribe-events-community-tickets’
),
number_format( $percentage, 1 ),
number_format( $flat, 2 )
);
} elseif ( $flat ) {
echo sprintf(
esc_html__(
‘Fees are a flat fee of $%1$s per ticket.’,
‘tribe-events-community-tickets’
),
number_format( $flat, 2 )
);
} else {
echo sprintf(
esc_html__(
‘Fees are %s%% per transaction.’,
‘tribe-events-community-tickets’
),
number_format( $percentage, 1 )
);
}
?>
</p>
</td>
</tr>
<?php
( Tribe__Events__Community__Tickets__Main::instance())
?>
<tr>
<td>
<?php echo esc_html__( ‘Options:’, ‘tribe-events-community-tickets’ ); ?>
</td>
<td>
<input type=”radio” id=”payment_fee_setting_absorb” name=”payment_fee_setting” value=”absorb” <?php checked( ‘absorb’, $data[‘payment_fee_setting’] ); ?>/>
<label for=”payment_fee_setting_absorb”><?php echo esc_html__( ‘Include fees in ticket price’, ‘tribe-events-community-tickets’ ); ?></label>
<p class=”note”>
<?php echo esc_html__( ‘Fees will be subtracted from the cost of the ticket’, ‘tribe-events-community-tickets’ ); ?>
</p>
<input type=”radio” id=”payment_fee_setting_pass” name=”payment_fee_setting” value=”pass” <?php checked( ‘pass’, $data[‘payment_fee_setting’] ); ?>/>
<label for=”payment_fee_setting_pass”><?php echo esc_html__( ‘Display fees in addition to ticket price’, ‘tribe-events-community-tickets’ ); ?></label>
<p class=”note”>
<?php echo esc_html__( ‘Additional fees will be added to the total ticket price’, ‘tribe-events-community-tickets’ ); ?>
</p>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
<?php
//end if
?>
<div class=”tribe-events-community-footer”>
<input type=”submit” class=”button submit events-community-submit” value=”<?php echo esc_attr__( ‘Save’, ‘tribe-events-community-tickets’ ); ?>”>
</div>
</form>
</div>
<?php
do_action( ‘tribe_ct_before_the_payment_options’ );TacParticipantHi Geoff,
Thanks for pointing out.
I was asking more from Site Admin point of view to check other event sellers events how they are progressing.
Is there any way?
Thanks.TacParticipantThank you very much Brook, very helpful!
TacParticipantWorked like a charm!
TacParticipantNo worries Brook.
Monday is fine, thanks for your help!
TacParticipantThanks Brook for getting back to me even on your busy day.
Happy to wait till tomorrow or even Monday.
Thank you.
May 18, 2016 at 5:16 pm in reply to: Question around tickets delivery in a lost/undelivered email #1116192TacParticipantThanks George!
The plugin works perfectly fine. The beauty of this plugin is that it keeps the email formatting (html or plain text) without any issues.
It’ll be a great functionality to have within Community Tickets plugin though to re-send the emails.
Great advice,
Thanks.May 17, 2016 at 4:56 pm in reply to: American Express/Diners Club/International Credit Cards #1115683TacParticipantThanks Geoff!
Second question is still outstanding – Is there any way to have an a different charge when any card other than Visa or Mastercard are used. We need to ensure the charges for the expensive cards such as American Express or Diners Club can be covered or restrict the users.
May 17, 2016 at 2:21 pm in reply to: Question around tickets delivery in a lost/undelivered email #1115638TacParticipantAnother thought: Is there a way to send a copy of the email to admin everytime a ticket email is triggered?
That way atleast we’ll have a copy of every emails with tickets that’s sent to the user. I know it’s a painful task but a possible work around to enable us to resend the tickets manually just in case.
I really as counting on you on this.
Thanks in advance.
-
AuthorPosts