ios - PHP script execution in Firebase? -


here's scenario: have 10 ios apps subscription in app purchases. need 1 subscription purchase valid accross 10 apps. require server-side receipt validation. flow this: when customer pays subscription, receipt sent firebase db , there, require php script takes in receipt data . input , sends 'post' request app store. app store validate receipt , return json object back. overwrite old receipt latest copy. also, whenever user logs in of apps, repeat process , update receipt make sure subscription of user still valid. question is, firebase capable of dynamic script handling , http requests?

thanks :) help.

firebase hosting cannot execute php scripts. static hosting service (so serving uninterpreted html, javascript, css, etc).

recently firebase added ability connect cloud functions firebase hosting. still doesn't allow run php code on firebase hosting.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -