I'd like to add certain fees based on the payment type, is there a way to do this with dtregister? I have searched this forum but haven't really found anything.
I currently have added two custom fields
1) paypal transaction fee
2) paypal percentage
These work when I add them to the event, but i'd only like them added to the event when the payment type is 'PayPal' ...
If I have to code dive thats fine. It'd be super cool to have an option on the "Payment" tab of the event which I could check "Add PayPal transaction fees to cost." or something like that.
Also, adding these fields to an event doesn't appear to work correctly for group registrations. e.g. I have an event which costs 12$. I go through group registration for 2 people, resulting in $24.00 total.
I need to add, 2.9% of $24 + .30
24 * .029 = .696 + .30 == 1$ (rounded up)
so my total should be 25$ but it's showing up as $24.65. It looks like the fee field is only working from the base cost .. not from base cost * group members.
gneill794 wrote: Also, adding these fields to an event doesn't appear to work correctly for group registrations. e.g. I have an event which costs 12$. I go through group registration for 2 people, resulting in $24.00 total.
I need to add, 2.9% of $24 + .30
24 * .029 = .696 + .30 == 1$ (rounded up)
so my total should be 25$ but it's showing up as $24.65. It looks like the fee field is only working from the base cost .. not from base cost * group members.
unless I am missing a setting somewhere?
I figured out how to do this, for the paypay percentage field I created I selected this field to be on each member for the event and left the paypal transaction cost field on just the billing. Seems to work okay. However i'd like to have this only happen when the payment type is paypal? Is there a trick to doing this with out diving in to the code?
What you have described is the best way to do this. Regarding making this happen only on paypal transactions would actually violate PayPal terms which is why this is not built in as an actual feature. According to PayPal's terms, you can't add on a transaction fee for paypal that is different than any other payment method on your website.