Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: derkoi on September 25, 2012, 11:24:01 AM

Title: Is there any In-App Purchase actions?
Post by: derkoi on September 25, 2012, 11:24:01 AM
I'm looking in to buying an In-App Purchase plugin, but before I do I'm just wondering if there's any actions for any of them?
Title: Re: Is there any In-App Purchase actions?
Post by: jeanfabre on September 25, 2012, 11:51:46 AM
Hi,

 It's cooking at this very moment :) Dennis once again is sponsoring this, so you can give him a big thanks. I have all the actions and bridges done, but I need extensive testing on the device before releasing this obviously...

bye,

 Jean
Title: Re: Is there any In-App Purchase actions?
Post by: Sjones on September 25, 2012, 12:22:02 PM
OHH, this is fantastic!, so is it a playmaker own extension or is it a plugin for any particular plugin (like prime31's?)
Title: Re: Is there any In-App Purchase actions?
Post by: jeanfabre on September 25, 2012, 01:23:42 PM
Hi,

It'll be prime31's as he's clearly the best on the asset store when it comes to IOS bridges, and I have to say his code is clean and comprehensive so it's all coming up nicely,

bye,

 Jean
Title: Re: Is there any In-App Purchase actions?
Post by: derkoi on September 25, 2012, 01:57:25 PM
Excellent news. Thanks Dennis & Jean.  :)
Title: Re: Is there any In-App Purchase actions?
Post by: Andrew.Lukasik on September 25, 2012, 03:32:57 PM
You are awesome guys :D thanks!
Title: Re: Is there any In-App Purchase actions?
Post by: derkoi on September 28, 2012, 06:27:05 AM
Any ETA on this Jean? I'm thinking of using IAP for my next game.  :)
Title: Re: Is there any In-App Purchase actions?
Post by: jeanfabre on September 28, 2012, 06:38:35 AM
I'll need several more days to test everything. Hopefully I can get this for end of next week or something.

bye,

 Jean
Title: Re: Is there any In-App Purchase actions?
Post by: simon8029 on October 11, 2012, 02:08:46 PM
Anything new ? Just can't wait. ;)
Title: Re: Is there any In-App Purchase actions?
Post by: jeanfabre on October 11, 2012, 03:17:33 PM
hi,

 It's 99.999% there, but I have a bug with apple server, it doesn't return me any ID for transactions... even Prime31 never saw that...

pm me to get a package, maybe with cross referencing we will get to the bottom of that ( maybe you will even not getting that issue after all)

bye,

 Jean
Title: Re: Is there any In-App Purchase actions?
Post by: simon8029 on October 12, 2012, 10:26:53 AM
Could you send me a copy of package please? Already PM you. :)
Title: Re: Is there any In-App Purchase actions?
Post by: derkoi on October 22, 2012, 02:17:28 PM
Jean did you manage to get this working yet? I've not had chance to try it myself yet.
Title: Re: Is there any In-App Purchase actions?
Post by: drentek on December 10, 2012, 08:49:04 PM
Hi Guys,

Any updates on this?

Ta
Title: Re: Is there any In-App Purchase actions?
Post by: jeanfabre on December 11, 2012, 04:46:30 AM
Hi,

 Yes, here it is. I will need to clean up and put it on the wiki, but you can get it now to start playing with it meanwhile. Dennis confirmed me few days ago that it runs well, so you should be fine. WARNING: you will need to read the full documentation from Apple and Prime31 to understand how to work with IAP to begin with. I haven't yet done a demo that follow the guideline, the scene is only about verifying each functions.

bye,

 Jean
Title: Re: Is there any In-App Purchase actions?
Post by: drentek on December 11, 2012, 03:06:02 PM
Thanks Jean,

I appreciate the link, hopefully I can make sense of it & learn something new.
Title: Re: Is there any In-App Purchase actions?
Post by: mikejkelley on December 25, 2012, 12:47:18 AM
This is awesome. I just discovered playmaker and it's awesome. And it's great that you guys are making it even awesomer!
Title: Re: Is there any In-App Purchase actions?
Post by: Uladzimir on February 17, 2014, 04:56:14 AM
Hi,
I  tested it storeKit_beta.unitypackage two weeks (in the sandbox mode)

— I installed the latest version of Prime31 StoreKit In App v1.5.1
— then installed storeKit_beta.unitypackage actions
… and got an error message:

Assets/PlayMaker StoreKit/PlayMakerStoreKitProxy.cs(100,33): error CS0117: `StoreKitManager' does not contain a definition for `receiptValidationFailedEvent'

Assets/PlayMaker StoreKit/PlayMakerStoreKitProxy.cs(101,33): error CS0117: `StoreKitManager' does not contain a definition for `receiptValidationRawResponseReceivedEvent'

Assets/PlayMaker StoreKit/PlayMakerStoreKitProxy.cs(102,33): error CS0117: `StoreKitManager' does not contain a definition for `receiptValidationSuccessfulEvent'

Assets/PlayMaker StoreKit/PlayMakerStoreKitProxy.cs(119,33): error CS0117: `StoreKitManager' does not contain a definition for `receiptValidationFailedEvent'

Assets/PlayMaker StoreKit/PlayMakerStoreKitProxy.cs(120,33): error CS0117: `StoreKitManager' does not contain a definition for `receiptValidationRawResponseReceivedEvent'

Assets/PlayMaker StoreKit/PlayMakerStoreKitProxy.cs(121,33): error CS0117: `StoreKitManager' does not contain a definition for `receiptValidationSuccessfulEvent'


I commented out a few lines of code in PlayMakerStoreKitProxy.cs
(100,101,102 & 118,119,120)
Code: [Select]
// StoreKitManager.receiptValidationFailedEvent += receiptValidationFailed;
// StoreKitManager.receiptValidationRawResponseReceivedEvent += receiptValidationRawResponseReceived;
// StoreKitManager.receiptValidationSuccessfulEvent += receiptValidationSuccessful;
&
Code: [Select]
// StoreKitManager.receiptValidationFailedEvent -= receiptValidationFailed;
// StoreKitManager.receiptValidationRawResponseReceivedEvent -= receiptValidationRawResponseReceived;
// StoreKitManager.receiptValidationSuccessfulEvent -= receiptValidationSuccessful;
and error disappeared

After that I successfully built its system of payments for the game
(except receipt Validation).

I tested on Ipad3 (IOS6.1.3) & iPhone4S (IOS7.0.4)
All works exceptionally well (in the sandbox mode)

Thank you!

Uladzimir

P.S. Maybe there is a newer version Store Kit actions?
Title: Re: Is there any In-App Purchase actions?
Post by: jeanfabre on February 17, 2014, 10:40:37 AM
Hi,

 Thanks for sharing, indeed I did not manage to find time to update these actions, so thanks for looking this up!

 I have added this to the trello board.

https://trello.com/c/QEtncEHG/58-update-storekit-actions


bye,

 Jean
Title: Re: Is there any In-App Purchase actions?
Post by: Marsh on February 17, 2014, 12:38:10 PM
I am releasing my StoreKit plugin in the next day or two. Provides full documentation.
Title: Re: Is there any In-App Purchase actions?
Post by: jeanfabre on February 17, 2014, 11:33:41 PM
Hi,

 oh oh! nice!

bye,

 Jean