@@ -104,43 +104,8 @@ struct session_pro_backend_payment_provider_metadata {
104104
105105/// The centralised list of common URLs and properties for handling payment provider specific
106106/// integrations. Especially useful for cross-device management of Session Pro subscriptions.
107- // clang-format off
108- const session_pro_backend_payment_provider_metadata SESSION_PRO_BACKEND_PAYMENT_PROVIDER_METADATA [SESSION_PRO_BACKEND_PAYMENT_PROVIDER_COUNT ] = {
109- /*SESSION_PRO_PAYMENT_PROVIDER_NIL*/ {
110- .device = string8_literal ("" ),
111- .store = string8_literal ("" ),
112- .platform = string8_literal ("" ),
113- .platform_account = string8_literal ("" ),
114- .refund_platform_url = string8_literal ("" ),
115- .refund_support_url = string8_literal ("" ),
116- .refund_status_url = string8_literal ("" ),
117- .update_subscription_url = string8_literal ("" ),
118- .cancel_subscription_url = string8_literal ("" ),
119- },
120- /*SESSION_PRO_PAYMENT_PROVIDER_GOOGLE_PLAY_STORE*/ {
121- .device = string8_literal ("Android" ),
122- .store = string8_literal ("Google Play Store" ),
123- .platform = string8_literal ("Google" ),
124- .platform_account = string8_literal ("Google account" ),
125- .refund_platform_url = string8_literal ("https://support.google.com/googleplay/workflow/9813244?" ),
126- .refund_support_url = string8_literal ("https://getsession.org/android-refund" ),
127- .refund_status_url = string8_literal ("https://getsession.org/android-refund" ),
128- .update_subscription_url = string8_literal ("https://play.google.com/store/account/subscriptions?package=network.loki.messenger" ),
129- .cancel_subscription_url = string8_literal ("https://play.google.com/store/account/subscriptions?package=network.loki.messenger" ),
130- },
131- /*SESSION_PRO_PAYMENT_PROVIDER_IOS_APP_STORE*/ {
132- .device = string8_literal ("iOS" ),
133- .store = string8_literal ("Apple App Store" ),
134- .platform = string8_literal ("Apple" ),
135- .platform_account = string8_literal ("Apple account" ),
136- .refund_platform_url = string8_literal ("https://support.apple.com/118223" ),
137- .refund_support_url = string8_literal ("https://support.apple.com/118223" ),
138- .refund_status_url = string8_literal ("https://support.apple.com/118224" ),
139- .update_subscription_url = string8_literal ("https://apps.apple.com/account/subscriptions" ),
140- .cancel_subscription_url = string8_literal ("https://account.apple.com/account/manage/section/subscriptions" ),
141- }
142- };
143- // clang-format on
107+ extern const session_pro_backend_payment_provider_metadata
108+ SESSION_PRO_BACKEND_PAYMENT_PROVIDER_METADATA [SESSION_PRO_BACKEND_PAYMENT_PROVIDER_COUNT ];
144109
145110typedef struct session_pro_backend_response_header session_pro_backend_response_header ;
146111struct session_pro_backend_response_header {
0 commit comments