MyBB Central
[TUT] MyIPN Adding Google Buy Now Button [TUT] - Printable Version

+- MyBB Central (http://www.mybbcentral.com)
+-- Forum: Mybb Central General Discussions (http://www.mybbcentral.com/forum-1.html)
+--- Forum: Mybb General Support Help (http://www.mybbcentral.com/forum-6.html)
+--- Thread: [TUT] MyIPN Adding Google Buy Now Button [TUT] (/thread-10165.html)



[TUT] MyIPN Adding Google Buy Now Button [TUT] - DEFQON - Oct 12, 2012

Adding the Google Buy Now button to MyIPN. If you dont have one, sign up here: https://accounts.google.com/ServiceLogin?service=sierra&ltmpl=selleruk&continue=https://checkout.google.com/merchantSignInRedirect

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