baker icon indicating copy to clipboard operation
baker copied to clipboard

Subscription failure

Open simantics opened this issue 13 years ago • 12 comments

Hi All,

Very close to having a real working app in the store. Just got a message back from Apple that my first submission was rejected because the subscription button wasn't working.

My app is called Aucklandia and has a free subscription – the product ID I've created is called 'freesub1'. In the Constants.h file I've put 'com.aucklandia.Aucklandia.freesub1'. Is this the correct syntax? In the example wiki it says it should be 'com.aucklandia.Aucklandia.subscriptions.freesub1' but this doesn't work either.

Cheers for your help!

simantics avatar May 06 '13 23:05 simantics

Same here. The subscription appears to work on scode demo but when I test it on iPad i have a subsctiption error. Also rejected from apple. Any help would be appreciated.

damenvaz31 avatar May 07 '13 01:05 damenvaz31

Ok I've fixed it on my end – the name I used for the product ID for Free Subscription was incorrect. I put in 'freesub1' in iTunes connect , when it really should have been written out fully 'com.aucklandia.Aucklandia.freesub1.freesub1'.

You should also create a test user in iTunes Connect -> User Management

Make sure you clear the settings in your simulator after all this before you test again. To do this go to iOS Simulator --> Clear all settings (or something like this) . Then build your simulation again.

simantics avatar May 07 '13 02:05 simantics

@damenvaz31 I am about to close the issue. Have you solved your problem as well?

Simbul avatar May 13 '13 22:05 Simbul

Hi @Simbul sadly I´m still with the problem. My test on the ipad simulator works great but when i try to test the same issue on my real iPad it gives me the suscription error. Any suggestios? I follow the instructions on the tutorial so i don´t know wher i¨m wrong.

Thanks!

damenvaz31 avatar May 13 '13 22:05 damenvaz31

Can you follow the instructions in https://github.com/Simbul/baker/wiki/Problems-and-Debugging ?

Simbul avatar May 13 '13 22:05 Simbul

Ok. I will do it and let you know. Thanks!

damenvaz31 avatar May 14 '13 23:05 damenvaz31

i just made all the recommendations but i´m having still the problem. On the simulator suscription works great!! But unfortunately on the iPad doesn´t work and send me a Suscription Error. Any ideas? Thanks a lot.

damenvaz31 avatar May 15 '13 00:05 damenvaz31

The page I linked to has a list of what you need to provide to submit a report (mainly version, steps and log). Without that information, there's not much we can do ;)

Simbul avatar May 18 '13 08:05 Simbul

damenvas31, I'm no technical expert at all, but a few days ago, I had an issue where something ran great on simulator and then didn't on iPad. It turned out that the iPad is case sensitive where the simulator is not. Maybe check your Product ID and make absolutely sure the cases are correct?

DrCrypt avatar May 19 '13 18:05 DrCrypt

I'm closing this as there's been no feedback. Please reopen if needed.

Simbul avatar Jun 03 '13 21:06 Simbul

I am also having this issue. I've compared the Subscription Product ID in iTunes with what I have in the Xcode Constants.h and they are both the same. ( Product ID ca.rb.aboutcanada.baker.subscriptions.1year )

subscription product id -- itunes

subscription product id -- xcode

I still see the "Subscription Failure" popup, both in the simulator and when testing on my device.

Xcode log is saying:

2013-07-04 13:57:32.209 Baker[2942:15b03] Trying to buy unavailable product ca.rb.aboutcanada.baker.subscriptions.1year 2013-07-04 13:57:32.211 Baker[2942:15b03] ############ UPDATED TRANSACTIONS ( "SKPaymentTransaction: 0x86988e0" ) 2013-07-04 13:58:07.288 Baker[2942:15b03] ############ UPDATED TRANSACTIONS ( "SKPaymentTransaction: 0x86988e0" ) 2013-07-04 13:58:07.289 Baker[2942:15b03] Payment transaction failure: Error Domain=SSServerErrorDomain Code=5002 "An unknown error has occurred" UserInfo=0x81a8de0 {NSLocalizedDescription=An unknown error has occurred}

Please let me know what I missed, thanks.

jbavington avatar Jul 04 '13 17:07 jbavington

Needs to match whatever you setup in iTunes connect.... On May 6, 2013 6:40 PM, "simantics" [email protected] wrote:

Hi All,

Very close to having a real working app in the store. Just got a message back from Apple that my first submission was rejected because the subscription button wasn't working.

My app is called Aucklandia and has a free subscription – the product ID I've created is called 'freesub1'. In the Constants.h file I've put 'com.aucklandia.Aucklandia.freesub1'. Is this the correct syntax? In the example wiki it says it should be 'com.aucklandia.Aucklandia.subscriptions.freesub1' but this doesn't work either.

Cheers for your help!

— Reply to this email directly or view it on GitHubhttps://github.com/Simbul/baker/issues/868 .

nin9creative avatar Jul 04 '13 19:07 nin9creative