[Pro] Inline PayPal button

The new action ‘Paypal button’ says it does not work when used as an inline object. How can you maintain its relative position when placed underneath descriptive product text in html which can reflow according to a user’s browser settings?

You can use PayPal’s own button code as an inline Markup item and that works fine but as I only have a personal account with PayPal I do not get the options to put shipping and tax as separate items. Are you able to add these items with a PayPal business account?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

How can you maintain its relative position when placed underneath descriptive product text in html which can reflow according to a user’s browser settings?

Stick it in a table structure with the descriptive text.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No, I have tried that. The PayPal button only works as a freestanding html object. Placing it in a table cell gives the following in the actions palette:

“Cannot use this Action. It’s not possible to use this Action as an inflow item.”


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

That’s because you would end up with a block-level tag (a form) inside a paragraph tag, and that’s not valid. What I think you’re going to need to do is either use an inline DIV construction, or use my CrowBar Action to insert the raw code that the Action generates directly into the table cell. If you use an inline instance of CrowBar as the only content on a line in any text container, it will erase whatever outer tag it finds itself within. So if you had (in raw code)

<p>[the crowbar]</p>

it would be replaced with whatever was in the CrowBar’s code container.

This does mean that you’re going to have to step pretty far outside of the normal Freeway working method. Make a scratch page in the same document where you will set up your buttons as normal “drawn on the page” elements, then preview that page in a text editor, locate each block of PayPal code (begins with <form method=“post”…) and copy it to the clipboard. Then back in your regular page, insert a CrowBar where you want to place the form, click on the Code button in the Actions palette, and paste in that code. Lather, rinse, repeat.

Walter

On Apr 6, 2012, at 11:12 AM, Kayjay wrote:

No, I have tried that. The PayPal button only works as a freestanding html object. Placing it in a table cell gives the following in the actions palette:

“Cannot use this Action. It’s not possible to use this Action as an inflow item.”


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walt,

That worked - easier than it looked at first. I think Softpress need to somehow incorporate your Crowbar action into the PayPal button action (as an option to switch on/off maybe) as the buttons somehow need to be tied to text which changes according to browser settings.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Funny, I was just thinking the same thing…

Walter

On Apr 6, 2012, at 1:26 PM, Kayjay wrote:

Thanks Walt,

That worked - easier than it looked at first. I think Softpress need to somehow incorporate your Crowbar action into the PayPal button action (as an option to switch on/off maybe) as the buttons somehow need to be tied to text which changes according to browser settings.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options