MyBB Central

Full Version: [TUT] MyIPN Adding Google Buy Now Button [TUT]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Adding the Google Buy Now button to MyIPN. If you dont have one, sign up here: https://accounts.google.com/ServiceLogin...InRedirect

Click and edit Subscribe.php - This files located in your root files. Once opened,

Search for a bit that says $ppform and below that you'l find a bit that says </form>';

Take a new line, just below copy and paste the following:

$googleform = 'Your buy now button code goes here'
</form>';


Once you'v added your Buy Now button search for this

$message .= "<div align=\"center\">".$ppform."</div>";

Just above that, copy and paste the following:

$message .="<div align=\"center\">".$googleform."</div>";

Now you should see the Google checkout button above the bottom Paypal button.

Enjoy Smile