Paypal button link not going to...

User 516429 Photo


Registered User
83 posts

Maybe there's hope. I didn't think passing one variable to Paypal would be so difficult
User 187934 Photo


Senior Advisor
20,271 posts

It's not difficult if you use an IPN script.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 516429 Photo


Registered User
83 posts

Fixed it but not sure how. I decided to create a new button in Paypal and it gave me a whole bunch of different code to put into the web page. I made a few adjustments to use the form variables and it worked. Strangely though is that the button I thought I created doesn't show up in my button list so I'm not sure how I did it. But at least I can use the code that was provided. The only difference I see in the code is <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHostedGuest"> and <input type="hidden" name="cmd" value="_xclick">
On the original code it was <input type="hidden" name="cmd" value="_s-xclick">

Here is the code Paypal gave me:

<!-- commented out to hide button <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="whiteoconnell@aol.com">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Payment to Susan White Photography">
<input type="hidden" name="button_subtype" value="[PaymentFor]">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="amount" value="[PaymentAmt]">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHostedGuest">

<!-- commented out to hide button <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>
User 187934 Photo


Senior Advisor
20,271 posts

I don't see a spot to enter the value.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 516429 Photo


Registered User
83 posts

<input type="hidden" name="amount" value="[PaymentAmt]"> amount pulled from webform
User 187934 Photo


Senior Advisor
20,271 posts

Ok I miss understood. You wanted to pass the value from the form to the payment button. I never picked up on that. I was totally focused on you being able to enter the value on the Paypal button.:lol:
Sorry about that.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 516429 Photo


Registered User
83 posts

I added this to have paypal forward a cancelled or successful transaction but that doesn't seem to show up on the Paypal page:

<input type="hidden" name="success_url"value="http://www.whiteoconnellphoto.com/send-money/sendmoney-thankyou.html" />
<input type="hidden" name="cancel_url"value="http://www.whiteoconnellphoto.com/send-money/sendmoney-paymentcancelled.html">
User 516429 Photo


Registered User
83 posts

Any idea on the missing '00's for the amount when I get the form results?
User 516429 Photo


Registered User
83 posts

It was the Paypal button that I was using that was messed up. Nothing I did would change the amount
User 187934 Photo


Senior Advisor
20,271 posts

Try setting up your variable in the notification or confirmation like this.

[PaymentAmt].00
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.