Paying at once for two different apps

Hi,

I have two free apps in two different app store accounts.
Each app has its own premium subscription.

I would like to let the user pay at once for the two subscriptions. The payment should be using Apple.
The apps are not "Reader" apps.

When a user will buy a subscription inside one of the apps he/she will get a subscription for the other app automatically.

Will it be an infringement of Apple's Guidelines?
If not, what will be the best way to do so?

Thanks in advance.

Paying at once for two different apps
 
 
Q