completed PayPal Button - Which template for Group pages?

Isleander
Isleander
@isleander
9 years ago
554 posts
I have just bought the PayPal module and would like to add Buy It Now buttons to group pages.

Which template should I use and what code do I require?

Thank you.

updated by @isleander: 02/03/16 08:03:46AM
brian
@brian
9 years ago
10,148 posts
That's not going to work - PayPal Buy It Now is only for audio, video and file downloads:

Quote:
The PayPal Buy It Now module has been created to allow profiles to sell audio, video and files from their profile, and have the purchase go directly to their PayPal account.

Contact us at support [at] jamroom [dot] net if you'd like a refund or a different module.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Isleander
Isleander
@isleander
9 years ago
554 posts
I wanted to use it for selling books.
So can I just add a PayPal button html code to the page?

Thanks.
brian
@brian
9 years ago
10,148 posts
Isleander:
I wanted to use it for selling books.
So can I just add a PayPal button html code to the page?

Thanks.

Yep - you can cut and paste a PayPal button into your editor.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Isleander
Isleander
@isleander
9 years ago
554 posts
Thanks Brian,

Thing is it does not save the code.

I placed it in the Source Code for the page, but when I saved it it disappeared.

???
brian
@brian
9 years ago
10,148 posts
Isleander:
Thanks Brian,

Thing is it does not save the code.

I placed it in the Source Code for the page, but when I saved it it disappeared.

???

Make sure you are doing it as an ADMIN user. Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Isleander
Isleander
@isleander
9 years ago
554 posts
Yes. I am the only one using the site. Just created it.
The code gets corrupted on "save" - please see attached file
updated by @isleander: 11/02/15 02:45:03PM
brian
@brian
9 years ago
10,148 posts
I know we have other sites doing this - I assume you're cutting and pasting the PayPal form into the "HTML" section of the editor?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
The Paypal button code is going to be a "form" code. Be sure to go to your Core module and Quota Config tab, and add "form" to the list of "allowed html tags" for your Admin permissions. (You may also want to add "table" while you're there, because some Paypal buttons might include options you've added to pick a style or type of thing to buy...and those options are coded as a < table > in your paste-in paypal html code.)

After enabling that, your paypal code should retain its < form target = paypal action = ...> then middle part of the code, and ending in < /form > .

I notice also that you have the exact same image gif added twice. Not sure if you meant that.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Isleander
Isleander
@isleander
9 years ago
554 posts
Strumelia,

I have set those permissions but to no avail. The form gets corrupted each time.

What you saw are the remnants of broken code.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Oh, darn. I remembered getting my Paypal button to work after adding the 'form' permission. What type of Paypal button are you trying to add? (donation, buying one thing, multiple item choices, etc)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Isleander
Isleander
@isleander
9 years ago
554 posts
I used a normal "Buy it Now" button.

Anyway, I've used a different website were I can just copy and paste with no hassle.