Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Customise PayPal Payment Page Details »
Customise PayPal Payment Page
Mod Version: 1.00, by zipperty (Member) zipperty is offline
Developer Last Online: Apr 2013 I like it Show Printable Version Email this Page

vB Version: 4.0.3 Rating: (1 vote - 5.00 average) Installs: 10
Released: 30 Apr 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

Your Primary page style will automatically be applied to all your payment pages unless you specify otherwise.
To apply a different page style, select the one you want when creating your Buy Now button, Donate button, PayPal Shopping Cart button or PayPal Website Payments button. Just click Add More Options on the button creation page, and choose a page style from the Custom Payment Page Style menu. To change the page style for a button you have already created, you can modify the button’s HTML code. Replace the value of the 'page_style' variable with the Page Style Name of the style you wish to apply. The next time the button is clicked, its payment pages will appear in the new style. Specifying the 'cs' and 'image' variables in the button code will also override your Primary page style.
- from PayPal

So, here is how to specify a PayPal payment page style within VB.


Search for "subscription_payment_paypal" in templates

Then customise/edit the file :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You should add this line of code into the above code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I added mine after :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This allows you to use any pagestyle template that you have defined on www.paypal.com

To find the pagestyles on PayPal first login to your paypal account then :

Click on profile (as in the picture) then "Custom Payment Pages"
Click image for larger version Name:


Then you can add a new payment page and call it what you want.

The name you choose should be used as the
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

as above replacing YOURPAGESTYLE with the name you chose on paypal.


Adding this extra option to your PayPal payment page in VB allows you to to use the same email address for different payment sources. i.e. Multiple instances of VB etc.

Its a bit basic (I'm new to VB) however I hope someone finds it useful.

JUST ADDED as requested.

Here is a screen shot of the header that is show once you customer clicks through to payapl. Notice the header is not the default one from paypal.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	pagestyle.jpg
Views:	1508
Size:	223.3 KB
ID:	116896  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 04 May 2010, 23:16
turntablefood turntablefood is offline
 
Join Date: Apr 2010
Do you have any samples of custom payment pages?
Reply With Quote
  #3  
Old 06 May 2010, 18:34
Centrix Centrix is offline
 
Join Date: Sep 2005
I'd like to see a demo before doing all these changes
Reply With Quote
  #4  
Old 09 May 2010, 20:15
zipperty's Avatar
zipperty zipperty is offline
 
Join Date: Mar 2010
Real name: Gary
Images added see above post.

Last edited by zipperty; 09 May 2010 at 20:55.
Reply With Quote
  #5  
Old 25 May 2010, 14:26
dianna's Avatar
dianna dianna is offline
 
Join Date: Mar 2008
Real name: Dianna
Can you be a little more clear where to put the extra coding? Does everything go under the "subscription_payment_paypal" or just the First code.
Reply With Quote
  #6  
Old 25 May 2010, 15:16
zipperty's Avatar
zipperty zipperty is offline
 
Join Date: Mar 2010
Real name: Gary
Lightbulb

Originally Posted by dianna View Post
Can you be a little more clear where to put the extra coding? Does everything go under the "subscription_payment_paypal" or just the First code.
Hi dianna,

To clarify :

Just the first code like so :

Add this line of code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

in between the 5th and 6th lines of code in : template - subscription_payment_paypal

Hope this is more clear, let me know if I can be of any further assistance.

Last edited by zipperty; 25 May 2010 at 15:46.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:22.

Layout Options | Width: Wide Color: