Inapp purchase receipt validation in ios

There is a below function for validating the receipt for in-app purchase in ios. it return 1 or 0 for the receipt is an valid or an invalid.

The function contains two parameter in which the first parameter “$purchase” is a receipt that you get from apple server when a user has make the in-app purchase from device.

Read More

send push notification from server to ios device using php

For sending the push notification from server to ios device using php than you can use below code function.
Requirement : you need to xyz.pem file that can be generate from your apple account. this certificate is in two type one id development and other is distribute certificate.

Now if you want to send the push notification to multiple devices than replace the try—catch code with below code snippet.

Read More