PayPal buy now button for mobile version

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Danloona
    Senior Member
    • Mar 2015
    • 543
    • 4.2.5

    [Site Builder] PayPal buy now button for mobile version

    Hi.

    I got an issue with paypal button on topics, it does work fine on desktop mobile, but I don't know how to fix on mobile version.

    Any ideas how I can edit the paypal code to be able for mobile version as well.

    Thanks.
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24288
    • 6.0.X

    #2
    There's no Paypal Buy Now feature in vBulletin 5, so this would be an addon. Accordingly it isn't possible to have it show in the app.

    As an aside, could you please update your license to show the current URL of your forum? This is a condition of your licence, and you also risk your actual site being issued with takedown notices if it can't be matched to a valid license. Thanks.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • Danloona
      Senior Member
      • Mar 2015
      • 543
      • 4.2.5

      #3
      Originally posted by Mark.B
      There's no Paypal Buy Now feature in vBulletin 5, so this would be an addon. Accordingly it isn't possible to have it show in the app.

      As an aside, could you please update your license to show the current URL of your forum? This is a condition of your licence, and you also risk your actual site being issued with takedown notices if it can't be matched to a valid license. Thanks.
      Yes I know. I've introduced custom code from PayPal.

      But looks a bit buggy on mobile version.

      Here is an example:

      Click image for larger version

Name:	Screenshot_20181230-165711.png
Views:	97
Size:	507.1 KB
ID:	4405278

      Here is code which I'm using:

      Code:
      <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
      <input type="hidden" name="cmd" value="_s-xclick">
      <input type="hidden" name="hosted_button_id" value="VW6Y5S2HK7E4Q">
      <table>
      <tr><td><input type="hidden" name="on0" value="Delivery options">Delivery options</td></tr><tr><td><select name="os0">
      <option value="Standard delivery 7-14 working days">Standard delivery 7-14 working days £20.00 GBP</option>
      <option value="Quick delivery 1-3 working days">Quick delivery 1-3 working days £25.00 GBP</option>
      <option value="Special delivery 24 hours">Special delivery 24 hours £35.00 GBP</option>
      </select> </td></tr>
      </table>
      <input type="hidden" name="currency_code" value="GBP">
      <input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">
      <img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
      </form>
      Any idea how I can fix this code?

      I've changed my license.

      Thanks
      Attached Files

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74151

        #4
        The easiest way to make it work on mobile devices better is to shorten the text used in the drop down. So maybe remove the terms Standard Delivery, Quick Delivery, and Special Delivery. Just leave the time period and cost.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • Danloona
          Senior Member
          • Mar 2015
          • 543
          • 4.2.5

          #5
          Yeah. Thanks Wayne, already made the titles a bit shorter.

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74151

            #6
            The only other thing you can do is inspect the elements for that widget and apply your own custom CSS to them.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            Related Topics

            Collapse

            Working...