Alex

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Eventbrite UK currency problem #1231007
    Alex
    Participant

    Hi Brook, many thanks for replying.

    I’ve looked at the code and it seems to be hard-coded to USD everywhere I can see at the moment.

    For example:

    
    	$args = (object) wp_parse_args( $args, array(
    			'name' => '',
    			'description' => '',
    			'start' => '',
    			'end' => '',
    			'cost' => 0,
    			<strong>'currency' => 'USD',</strong>
    			'qty' => 0,
    			'type' => 0,
    			'include_fee' => false,
    		) );

    Likewise, looking at the Eventbrite API, it says that you simply need to POST the right currency code alongside the cost, under ticket_class.cost, i.e ‘GBP,2000’.

    I’m going to give it a try replacing all USD mentioned in your code with GBP which I think will work, but I don’t think that’s a reliable long-term solution, nor is editing each event to fix it manually each time, so I’ll be very grateful when Modern Tribe have a chance to look at this. Will this be in the next update?

    All the best
    Alex

Viewing 1 post (of 1 total)