Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

How to create different pricings for subscriptions based on user country? #339

Open
mleister97 opened this issue Oct 10, 2021 · 2 comments

Comments

@mleister97
Copy link

I would like to sell the subscription to US customers for 100 USD and european for 100 EUR.
How is this possible?

Prefering a solution with cashier_plans.php

@wouterdorgelo
Copy link

Creating 2 different plans would be the easiest solution

@WhereIsLucas
Copy link

Something like that will work for you @mleister97

'plans' => [
        'european_plan' => [
            'amount' => [
                'value' => '100.00',
                'currency' => 'EUR',
            ],
            // Rest of the plan config
        ],
       'us_plan' => [
            'amount' => [
                'value' => '100.00',
                'currency' => 'USD',
            ],
            // Rest of the plan config
        ],
    ],

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants