I’ve got a few questions regarding the integration of stripe connect.
When choosing stripe connect as a payout system, a field of “country” is added to the vendor registration process. I need to set this automatically to a country of my choosing (all have the same country), remove the field from front end, but still push it to the stripe connect system.
I also like to remove the stripe onboarding step of choosing product category by having hivepress auto choose a default value for all my vendors, in a similar way to the default country. Like “digitale goods”.
Please try this PHP snippet. It will set the USA as the default country. Please check ISO country codes to change US in the code snippet on another country code
Sorry, there’s no simple code snippet for this, it would require a custom implementation. If customizations beyond the available features are required for your site, please consider hiring someone for custom work https://fvrr.co/32e7LvY
The snippet doesn’t seem to work. I get this error when trying to onboard a newly created account with stripe:
“You passed an empty string for ‘country’. We assume empty values are an attempt to unset a parameter; however ‘country’ cannot be unset. You should remove ‘country’ from your request or supply a non-empty value.”