vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   paypal donate in profile (https://vborg.vbsupport.ru/showthread.php?t=272907)

puertoblack2003 10-27-2011 06:12 AM

paypal donate in profile
 
hey guys I need help getting the paypal in postbit to work i already created the profile and I'm using this

Quote:

<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
Quote:

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

Quote:

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

--------------- Added [DATE]1319773685[/DATE] at [TIME]1319773685[/TIME] ---------------

any help would be appreciated .

HMBeaty 10-28-2011 02:52 AM

I think you would need to use something like:

HTML Code:

<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

1 Attachment(s)
Quote:

Originally Posted by HMBeaty (Post 2262227)
I think you would need to use something like:

HTML Code:

<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 :)




Attachment 134102

hyperviperx99 12-05-2011 03:19 AM

Where do you exactly put this code?


All times are GMT. The time now is 11:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01131 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete