Jump to content

whmcs not redirect to paypal


drmosko

Recommended Posts

Hi drmosko,

On your Product Configuration, on the Module Settings tab for this product, did you choose Automatically setup the product as soon as the first payment is received?

 

That needs to be chosen so that the product will be delivered only upon completed payments.

Link to comment
Share on other sites

thank for ur answer for my second Q, now if u can explain to me the difference between

"Automatically setup the product as soon as an order is placed ,

Automatically setup the product as soon as the first payment is received ,

Automatically setup the product when you manually accept a pending order ,

Do not automatically setup this product "

and for my first Q

u can login to my whmcs with this

email: free@dossihost.net

pass: aaDMUYDMz2Tuzw6

http://www.dossihost.net/whmcs/

and do a buy for something and then ull see that it doesnt direct to paypal.

thank u for ur reply.

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

I have a similar problem within a test installation of v5.1.2

When the customer is presented with the Invoice, the PayPal dropdown is already selected and the customer cannot proceed any further

 

I have checked back to an older installation version and there should be a button for "PayPal - pay now"

This does not appear in this installation

Please advise

Link to comment
Share on other sites

If you want to accept credit card payments on your page without going to paypal.com to finish the purchase then you need to choose a merchant account such as Paypal Website Payments Pro, however this is a premium service and paypal charges $30/m for such a convenience.

Link to comment
Share on other sites

  • 3 weeks later...

Having the same issue. And the code I have in forwardpage.tpl file in version 5.1.2 is like below, different then drmosko's one.

 

Any solutions for this one?

 

{literal}

<script language="javascript">

setTimeout ( "autoForward()" , 5000 );

function autoForward() {

var submitForm = $("#submitfrm").find("form");

submitForm.submit();

}

Link to comment
Share on other sites

  • 1 month later...

FIX FOR ME on WHMCS 5.1.2 - Pointed out to me by the Lead Developer at J!WHMCS

 

Had to Modify 'forwardpage.tpl'. - Any calls to jQuery from within WHMCS must use the jQuery declaration and not the shortcut "$".

 

WHMCS started changing those out a few versions back, but unfortunately have not changed the forwardpage.tpl or creditcard.tpl files (which would in my mind by the most important ones).

 

Had to change forwardpage.tpl FROM:

 

var submitForm = $("#submitfrm").find("form");

 

and change these out TO:

 

var submitForm = jQuery("#submitfrm").find("form");

 

This Resolved the page not forwarding on to PayPal or the other payment gateways.

Link to comment
Share on other sites

Fix for me, move the closing div tag:

 

From

<div id="submitfrm" class="textcenter">{$code}</div>

 

<form method="post" action="{if $invoiceid}viewinvoice.php?id={$invoiceid}{else}clientarea.php{/if}"></form>

 

To

<div id="submitfrm" class="textcenter">{$code}

 

<form method="post" action="{if $invoiceid}viewinvoice.php?id={$invoiceid}{else}clientarea.php{/if}"></form>

</div>

Link to comment
Share on other sites

  • 1 month later...

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