Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Subscription works in 'sandbox mode' but not when live? #1204

Open
FunkeXMix opened this issue Nov 9, 2013 · 0 comments
Open

Subscription works in 'sandbox mode' but not when live? #1204

FunkeXMix opened this issue Nov 9, 2013 · 0 comments
Labels

Comments

@FunkeXMix
Copy link

Hi everyone,

A very strange problem it seems. I am using the Baker version that was released in the end of September with iOS7 support. The app got approved because the subscription works in sandbox mode, but when live it does not.

These things work:

*Single issue purchase and restore

These do not:

*1 year Auto-renewable Subscription (1 month free trial)
It subscribes just fine with the 'subscribed successfully' message. But it does not unlock any issues. Restore asks for login and shows the 'processing' for a moment and then goes away. Still no unlocked issues.

I will post all the factors that I think might be important here, maybe you guys can see if I did something wrong:

iTunes:

Issue ID in manage Newsstand: com.tutumuchmedia.heman_1
Subscription Product ID: com.tutumuchmedia.heman.sub.oneyear (cleared for sale)
Shared secret is correct, no invisible spaces.

Magrocket:

Development Mode? False
issue security: false
Issue product ID: com.tutumuchmedia.heman_1
Date: 2013-08-27 17:48:31
Receipts and subscription records get created.
I skipped using the .htaccess file because I could not get it to work with my website provider.

XCode

Localizable Strings

// Subscriptions

// (These are just examples: you'll need to provide your own product IDs and names)

"com.tutumuchmedia.heman.sub.oneyear" = "1 Year Subscription";

Constants

// This constant identifies a free subscription.

// E.g. @"com.example.MyBook.subscription.free"

#define FREE_SUBSCRIPTION_PRODUCT_ID @""

// This constant identifies one or more auto-renewable subscriptions.

// E.g.:

// #define AUTO_RENEWABLE_SUBSCRIPTION_PRODUCT_IDS [NSArray arrayWithObjects: \

//     @"com.example.MyBook.subscription.3months", \

//     @"com.example.MyBook.subscription.6months", \

//     nil]

#define AUTO_RENEWABLE_SUBSCRIPTION_PRODUCT_IDS [NSArray arrayWithObjects: \

@"com.tutumuchmedia.heman.sub.oneyear", \

nil]
@nin9creative
Copy link
Contributor

Are you talking about the .htaccess file for the API? I'm pretty sure that you will need to get that working for it all to work correctly. Baker sends REST calls and the path in the URL matter to the API.

@BenjaminRPerry
Copy link

I am having the same problem. Trying to figure it out with Andrew on MagRocket's community.

Have you had any success locating the issue?

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

No branches or pull requests

3 participants