Time for my first question. "we have a client..." :)
I'd like to achieve something like:
- A visitor (User A) is able to register and create a 'Team' Entry.
- They then invite new users (Users B, C, D, E etc) to register by adding them to their 'Team' Entry(s)
- User A then pays for the Teams they have created - I am planning on constructing a Craft Commerce 'purchasable' item for each Team Entry and passing all of the Teams to the Cart for the usual Checkout process...
Challenge 1: The client would like payments for a given city to be directed to a specific Payment Gateway i.e. Payments for the Paris Team Entries, should go to a Stripe account which the Paris office has access to and can administrate.
In a similar way, payments for London team entries, need to go via a different Stripe account which only the London office has access to.
(there will be over 13 different cities in various countries by 2017 with more added thereafter)
Q: How could I extend or override the default Stripe Account in Craft Commerce settings, based on the location of the Event which a Team is registered for? e.g. I could use Stripe API custom fields in the City Entry.
Challenge 2: Allowing a user to pay for creating Team entries - I spotted this solution by Mr Kelly from earlier this year: Using Commerce to pay for posting entry
I'd appreciate any solutions or ideas you might have - thanks in advance!
Matt