Jump to content

Paypal custom payment page style


gerzok

Recommended Posts

You can customise the payment gateway somewhat in the PayPal admin, but you are limited to basically putting your logo on the page. Nothing WHMCS can do about that.

 

Hi chickendippers, you're right, in pypal admin i can put my logo, but there's a function called "page_style", and i wish added to whmcs paypal.

 

any idea anybody? :shock:

Link to comment
Share on other sites

  • 1 month later...

Yes this would come in handy for using the same Paypal account for multiple businesses (per the Paypal TOS restricting use of bank accounts to be associated with a single paypal account).

 

Using the paypal settings, I can set up multiple email accoints and page styles to match each of my businesses, then I can specify which page style gets shown when a payment is submitted from a specific payment button.

 

If the whmcs paypal module would add this parameter as something configurable from the module setup page, you could specify which payment page style to display and then be able to use a single paypal account to accept payments from multiple businesses, maintaining a consistent look for each business.

 

This has two main benefits:

1. Ease of administration. 1 Paypal account for the parent company

2. Better paypal discounts due to the increased volume

 

If this is already an option, does anyone know how to implement it in WHMCS, if not, this is my vote to add it to the paypal module.

 

I have not used Paypal WPP, but would be interested to know if anyone has implemented a multi-business setup with that paypal option.

Link to comment
Share on other sites

  • 1 month later...

Quick update:

 

Spent about two hours calling PayPal, getting parameters and then reviewing my other cart. I came up with a work around for my situation. In my case, my other cart was Zen-Cart. Buried in the admin for their PP payment module was a place for a “Page Style” selection. So I set this switch for the store style stored at Paypal – the old default. In PayPal itself, I made my WHMCS site the “Primary” and new default site. Now when WHMCS goes to Paypal it automatically gets served the new default page, the WHMCS site. When the Zen Cart store goes to the site, it requests its particular page as it goes in. This solved this problem for me. Still have to deal with the very small print referring to the old main account which is not the WHMCS site account, but basically, all is working OK now.

Link to comment
Share on other sites

Final Thought:

 

According to PayPal Merchant Tech, once the Page Style is set in PayPal all that is necessary to activate it (on the fly) as it passes to Paypal, is one line of HTML code.

 

They suggested:

<input type=”hidden” name=”page_style” value=”gizzy”>, where “gizzy” is the name of the Page Style page you set in Paypal. There were other parameters that could be passed which basically were changing the template you were requesting – a fairly redundant concept.

 

I did not attempt to add this line of code to the WHMCS PP module and give it a go. I’ll leave that for the developers.

Link to comment
Share on other sites

  • 2 years later...

You can do this with one update in your whmcs database table. Open your whmcs database in PhpMyAdmin.

 

Open table tblpaymentgateways. You will see a row which display your paypal payment email address.

 

Change the value field which is your paypal email address to:

 

paypal@email.com"><input type="hidden" name="page_style" value"Page Style

 

Notice that the input tag is not closed, there is no ">, that is correct, so don't add that.

 

Please note that after you do this, when you go to Admin > Payment Gateways, then choose PayPal, it will not display correctly, since you have interfere with the database value and add HTML tags in it. That is okay with me, as long as my businesses can run under one WHMCS and have different PayPal payment page styles.

 

Good luck!

 

When all else fails, ask The Creator of all things to show you the way... He will always show the way. Be blessed!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated