TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    paypal "hosted button ID" integration with triggercmd

    Scheduled Pinned Locked Moved Raspberry Pi
    4 Posts 2 Posters 1.7k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      hehaha
      last edited by

      I was trying to follow the post on setting up paypal integration with raspberry pi using the below guide.

      https://www.hackster.io/triggercmd/charge-money-for-your-raspberry-pi-to-do-something-076310

      I was able to get through most of the code but could not find the "hosted button id" in the code that paypal generated for me so that i can enter it into the paywall on triggercmd. Can someone please tell me why paypal is not generating the hosted button id?

      <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
      <input type="hidden" name="cmd" value="_xclick">
      <input type="hidden" name="business" value="thay.chau@gmail.com">
      <input type="hidden" name="lc" value="US">
      <input type="hidden" name="item_name" value="One Load">
      <input type="hidden" name="amount" value="1.00">
      <input type="hidden" name="currency_code" value="USD">
      <input type="hidden" name="button_subtype" value="services">
      <input type="hidden" name="no_note" value="0">
      <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHostedGuest">
      <input type="image" src="https://www.paypalobjects.com/en_US/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_US/i/scr/pixel.gif" width="1" height="1">
      </form>

      RussR 1 Reply Last reply Reply Quote 0
      • RussR Offline
        Russ @hehaha
        last edited by Russ

        @hehaha, I'm not sure why it's not showing up in your button code. I just created a test button and it does show up in mine.

        <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="5JHS4U8KM4QX8">
        <input type="image" src="https://www.paypalobjects.com/en_US/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_US/i/scr/pixel.gif" width="1" height="1">
        </form>
        

        Another way to see the button ID is to expand the button using the arrow on the left, or the Action pulldown on the right.

        c8170af8-d8f2-4980-b3c9-f0cd423e1f45-image.png

        Maybe your button settings are different from mine. Did you create a "Buy Now" button?

        68343b0b-a913-4efe-a29f-f24d30771583-image.png

        Russell VanderMey

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          hehaha @Russ
          last edited by

          @Russ
          Hi Russ,

          Thank you for the quick feedback. Apparently, the issue was that I was not logging into my paypal account with my password and only using a one-time code sent to my cellphone for login. Paypal kept asking me to login each time I tried to view my saved buttons. I finally entered in my password into PayPal and the paypal code generated as expected. I can't wait to get my project setup and thanks for your help.
          BTW, is there a venmo integration similar to PayPal?

          Thanks,
          hehaha

          RussR 1 Reply Last reply Reply Quote 0
          • RussR Offline
            Russ @hehaha
            last edited by Russ

            @hehaha, good. I'm glad you got it working. And no, no Venmo, only PayPal.

            Russell VanderMey

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post