Hi,
Yes you are right. It triggeres the On purchase completes trigger instead of the 'has product'. Same is with the description/title. I did use the 'on completed' and 'has product' as 'or' block, so I haven't noticed that.
Thank you!
I'm building a testcase for Imanol, so this can be fixed.
Actually it triggers "On purchase complete" instead of nothing. When I run "Restore purchases" I expect plugin just to download information to the memory and do nothing else. Then once "Restore purchases" is done I expect "Has product" (in Cocoon it's called "Is product purchased") to be able check if product has been purchased before or not.
So to clarify:
### issue 1 ###
Function: Restore purchases
Current behaviour: It triggers "On purchase complete" for every product which has been purchased in the past.
Expected behaviour: Download information about purchased products. Triggers nothing by itself.
### issue 2 ###
Function: ProductTitle, ProductPrice (and other which requires Nth product parameter)
Current situation: Require Nth product integer parameter
Expected situation: Require Product ID string parameter (or documentation of how this should be properly used with Nth integer)
I'm not sure whi Imanol is but I guess is someone from CocoonIO team? Could you please share the Cocoon forum issue report link here if you created any? Or should I do it?