PDA

View Full Version : paypal donate in profile


puertoblack2003
10-27-2011, 06:12 AM
hey guys I need help getting the paypal in postbit to work i already created the profile and I'm using this

<vb:if condition="$post['field5']"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=$post[field5]" target="_blank" rel="nofollow"><img src="images/acc-donate.jpg" border="0" alt="Donate money to this user"></a></vb:if>

but when i click on donate i get an error
PayPal cannot process this transaction because of a problem with the seller's website. Please contact the seller directly to resolve this problem.

in the paypal url shows this with the field number at the end, which i know its wrong

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=$post[field5]

any help would be appreciated.

--------------- Added 1319773685 at 1319773685 ---------------

any help would be appreciated .

HMBeaty
10-28-2011, 02:52 AM
I think you would need to use something like:

<vb:if condition="$post['field5']"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id={vb.raw post.field5}" target="_blank" rel="nofollow"><img src="images/acc-donate.jpg" border="0" alt="Donate money to this user"></a></vb:if>

puertoblack2003
10-28-2011, 05:05 AM
I think you would need to use something like:

<vb:if condition="$post['field5']"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id={vb.raw post.field5}" target="_blank" rel="nofollow"><img src="images/acc-donate.jpg" border="0" alt="Donate money to this user"></a></vb:if>

thanks Buddy, but redirecting to payapl gives me the same error see image attached.Unless paypal changed something with there app, Also i see you from VA! I'm heading down this Saturday to Hampton for my Granddaughters birthday :)




134102

hyperviperx99
12-05-2011, 03:19 AM
Where do you exactly put this code?