Post by lumsei » Fri Nov 01, 2013 2:59 pm

Hi,

I found this problem,

Confirm Order Button is Missing When Paypal Express Checkout was selected.
It appear when Cash on delivery was selected.

May I know why is occur?

Newbie

Posts

Joined
Fri Nov 01, 2013 2:48 pm

Post by MarketInSG » Sat Nov 02, 2013 9:21 am

the issue is on your paypal express payment module. Are you using the default built in, or external extensions?


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by elividon » Thu Nov 07, 2013 3:45 am

Same thing for me. I am using OpenCart 1.5.6 that came with the PayPal Express Checkout module. I installed it, filled in the API details, changed the status to "enabled", changed the Order Status to the logical things (Completed Status: to Complete, Denied Status: to Denied, etc.) and saved it.

But the button "Confirm Order" does not show. If I choose an other Payment Method (iDEAL in my case) the button is showing. I already checked if it is the Theme I am using, but when I switch to default theme it's the same. In Chrome and Safari, no button with PayPal.

Code with "Step 6: Confirm Order" with PayPal Express Checkout:

Code: Select all

<div id="confirm">
      <div class="checkout-heading">Step 6: Confirm Order</div>
      <div class="checkout-content" style="display: block;"><div class="checkout-product">
  <table>
    <thead>
      <tr>
        <td class="name">Product Name</td>
        <td class="model">Model</td>
        <td class="quantity">Quantity</td>
        <td class="price">Price</td>
        <td class="total">Total</td>
      </tr>
    </thead>
    <tbody>
            <tr>
        <td class="name"><a href="http://www.pearlofpersia.org/shop/index.php?route=product/product&product_id=50">test</a>
          </td>
        <td class="model">test product</td>
        <td class="quantity">1</td>
        <td class="price">€ 0.01</td>
        <td class="total">€ 0.01</td>
      </tr>
                </tbody>
    <tfoot>
            <tr>
        <td colspan="4" class="price"><b>Sub-Total:</b></td>
        <td class="total">€ 0.01</td>
      </tr>
            <tr>
        <td colspan="4" class="price"><b>Total:</b></td>
        <td class="total">€ 0.01</td>
      </tr>
          </tfoot>
  </table>
</div>
<div class="payment"></div>
</div>
    </div>
Code with "Step 6: Confirm Order" with iDEAL (an other Payment Method:

Code: Select all

<div id="confirm">
      <div class="checkout-heading">Step 6: Confirm Order</div>
      <div class="checkout-content" style="display: block;"><div class="checkout-product">
  <table>
    <thead>
      <tr>
        <td class="name">Product Name</td>
        <td class="model">Model</td>
        <td class="quantity">Quantity</td>
        <td class="price">Price</td>
        <td class="total">Total</td>
      </tr>
    </thead>
    <tbody>
            <tr>
        <td class="name"><a href="http://www.pearlofpersia.org/shop/index.php?route=product/product&product_id=50">test</a>
          </td>
        <td class="model">test product</td>
        <td class="quantity">1</td>
        <td class="price">€ 0.01</td>
        <td class="total">€ 0.01</td>
      </tr>
                </tbody>
    <tfoot>
            <tr>
        <td colspan="4" class="price"><b>Sub-Total:</b></td>
        <td class="total">€ 0.01</td>
      </tr>
            <tr>
        <td colspan="4" class="price"><b>Total:</b></td>
        <td class="total">€ 0.01</td>
      </tr>
          </tfoot>
  </table>
</div>
<div class="payment">
<div class="buttons">
	<form action="https://payment...  ...b841deea6863"></form>		
	
	<div class="right" style="text-align:right;">
		<a id="button-confirm" class="button"><span>Confirm Order</span></a>
	</div>
</div>

 
</div>
</div>
    </div>
There is just nothing in <div class="payment">. Any ideas?

Newbie

Posts

Joined
Thu Nov 07, 2013 3:21 am

Post by MarketInSG » Thu Nov 07, 2013 11:14 pm

Might be a bug in it. Have a look into the github branch and see if they have silently patched it recently.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by elividon » Tue Nov 12, 2013 10:13 pm

MarketInSG wrote:Might be a bug in it. Have a look into the github branch and see if they have silently patched it recently.
I posted the problem on GitHub. There isn't a patch or anything yet.
Link: https://github.com/opencart/opencart/issues/989

Newbie

Posts

Joined
Thu Nov 07, 2013 3:21 am

Post by garywinner » Fri Nov 15, 2013 1:32 am

Same problem here. The paypal express checkout button is gone.
I am using 1.5.6
Hope anyone can help here.

Cheers.

New member

Posts

Joined
Sun Sep 01, 2013 6:31 pm
Location - Hong Kong

Post by reason8 » Fri Nov 15, 2013 8:07 pm

I have the same problem using 1.5.6 with internal paypal paypal express.

Newbie

Posts

Joined
Mon Mar 18, 2013 1:42 pm

Post by elividon » Sat Nov 23, 2013 11:20 pm

I found the solution!

Go to \catalog\view\theme\default\template\payment\pp_express.tpl and add to following:

Code: Select all

<div class="buttons">
    <div class="right">
        <a href="<?php echo $button_continue_action; ?>" class="button"><?php echo $button_continue; ?></a>
    </div>
</div>
pp_express.tpl was totally empty. Might have something to do with with updating van 1.5.5.1 to 1.5.6

The whole file pp_express_confirm.tpl was (also) missing, but I am not sure what that is for. Let me now if you do. I copied it to the same folder from a new 1.5.6 installation.

Newbie

Posts

Joined
Thu Nov 07, 2013 3:21 am

Post by kapila » Fri Dec 06, 2013 3:45 am

I have the same problem I did check the post by elividon
Go to \catalog\view\theme\default\template\payment\pp_express.tpl and add to following:
<div class="buttons">
<div class="right">
<a href="<?php echo $button_continue_action; ?>" class="button"><?php echo $button_continue; ?></a>
</div>
</div>

I have this code but not is working, maybe is because I am not using the default template?
anybody can help me?

thanks

Newbie

Posts

Joined
Fri Dec 06, 2013 3:18 am

Post by elividon » Wed Dec 11, 2013 7:18 pm

@kapila:
What happens when you switch to default template?

Newbie

Posts

Joined
Thu Nov 07, 2013 3:21 am

Post by dbmdude » Tue Jan 07, 2014 12:25 pm

elividon wrote:I found the solution!

Go to \catalog\view\theme\default\template\payment\pp_express.tpl and add to following:

Code: Select all

<div class="buttons">
    <div class="right">
        <a href="<?php echo $button_continue_action; ?>" class="button"><?php echo $button_continue; ?></a>
    </div>
</div>
pp_express.tpl was totally empty. Might have something to do with with updating van 1.5.5.1 to 1.5.6

The whole file pp_express_confirm.tpl was (also) missing, but I am not sure what that is for. Let me now if you do. I copied it to the same folder from a new 1.5.6 installation.

I do not get it.... I did this solution and my "Confirm Order" button says Continue and simply reloads the cart... it NEVER goes to PayPal. I am currently using PayPal Payments Standard and it works PERFECTLY... BUT I rather be using PayPal Payments Express.

Is it possible there is a $button_confirm_* variable??

========================== UPDATE 09:11PM ==============================================
OK I just got it to work I think and I got it to work EXACTLY how I like it. I did not like it when I enabled the button through the 'Extensions > Modules > PayPal Express Checkout button' because you only get 4 location choices and the button is ALWAYS FLOATING on the cart page (which I hated). SO I added the button this way, then went and viewed source, then grabbed the code below and then added it to the file below. NOW it operates correctly as far as I can tell.

Does ANYONE see how this can go wrong?

I opened public_html/domain/catalog/view/theme/vintage-wine/template/payment\pp_express.tpl (it is empty now) and added the below code.

Code: Select all

<div class="buttons">
	<div class="right">
		<a href="http://domain/index.php?route=payment/pp_express/express" title="PayPal Express Checkout" style="text-decoration:none;"><img src="https://www.paypalobjects.com/en_GB/i/btn/btn_xpressCheckout.gif" alt="PayPal Express Checkout" style="float:right;" /></a>
	</div>   
</div>

Newbie

Posts

Joined
Sat Jan 04, 2014 2:25 pm

Post by elividon » Sat Jan 11, 2014 8:31 pm

@dbmdude:
So it's working like you want it to now?

Did you also come from OC 1.5.5.1 to 1.5.6?

Newbie

Posts

Joined
Thu Nov 07, 2013 3:21 am

Post by dbmdude » Sun Jan 12, 2014 5:07 am

elividon wrote:@dbmdude:
So it's working like you want it to now?

Did you also come from OC 1.5.5.1 to 1.5.6?

It is working via my testing but I have not had any production orders through it. What we sell does not sell that often. No I was not a person the upgraded I went directly to 1.5.6.

Newbie

Posts

Joined
Sat Jan 04, 2014 2:25 pm

Post by _toper_ » Tue May 06, 2014 10:11 pm

Any update on this? Got the same problem and tried to edit the pp+express.tpl but the button does not appear

Newbie

Posts

Joined
Sat Jan 05, 2013 7:11 am

Post by elividon » Tue May 06, 2014 11:04 pm

_toper_ wrote:Any update on this? Got the same problem and tried to edit the pp+express.tpl but the button does not appear
What theme are you using? Is there an pp_express.tpl involved in your current theme?
You could try copy, past and overwrite all the files in the folder "\catalog\view" files from the original OC package. Does that help?

Newbie

Posts

Joined
Thu Nov 07, 2013 3:21 am

Post by bjorne » Sun May 25, 2014 10:44 pm

elividon wrote:@kapila:
What happens when you switch to default template?
dbmdude wrote:
elividon wrote:I found the solution!

Go to \catalog\view\theme\default\template\payment\pp_express.tpl and add to following:

Code: Select all

<div class="buttons">
    <div class="right">
        <a href="<?php echo $button_continue_action; ?>" class="button"><?php echo $button_continue; ?></a>
    </div>
</div>
pp_express.tpl was totally empty. Might have something to do with with updating van 1.5.5.1 to 1.5.6

The whole file pp_express_confirm.tpl was (also) missing, but I am not sure what that is for. Let me now if you do. I copied it to the same folder from a new 1.5.6 installation.

I do not get it.... I did this solution and my "Confirm Order" button says Continue and simply reloads the cart... it NEVER goes to PayPal. I am currently using PayPal Payments Standard and it works PERFECTLY... BUT I rather be using PayPal Payments Express.

Is it possible there is a $button_confirm_* variable??

========================== UPDATE 09:11PM ==============================================
OK I just got it to work I think and I got it to work EXACTLY how I like it. I did not like it when I enabled the button through the 'Extensions > Modules > PayPal Express Checkout button' because you only get 4 location choices and the button is ALWAYS FLOATING on the cart page (which I hated). SO I added the button this way, then went and viewed source, then grabbed the code below and then added it to the file below. NOW it operates correctly as far as I can tell.

Does ANYONE see how this can go wrong?

I opened public_html/domain/catalog/view/theme/vintage-wine/template/payment\pp_express.tpl (it is empty now) and added the below code.

Code: Select all

<div class="buttons">
	<div class="right">
		<a href="http://domain/index.php?route=payment/pp_express/express" title="PayPal Express Checkout" style="text-decoration:none;"><img src="https://www.paypalobjects.com/en_GB/i/btn/btn_xpressCheckout.gif" alt="PayPal Express Checkout" style="float:right;" /></a>
	</div>   
</div>
I can confirm that the last solution works great for me :)
I have just one question, what does http://domain .... do? redirect somewhere? es it to your own homepage, I am quite new to html and other programming

Newbie

Posts

Joined
Sun May 25, 2014 10:35 pm

Post by elividon » Mon May 26, 2014 6:09 pm

http://www.yourdomain.com/index.php?rou ... ss/express redirects to the Paypal website. But I don't see how this can work out well. If you use this "direct link" as a payment option, how will you get the address, name and everything from the customer? Maybe you should make a new topic if you have some more questions about it.

Newbie

Posts

Joined
Thu Nov 07, 2013 3:21 am

Post by gori_dog » Sat Sep 20, 2014 3:53 am

I do not get it.... I did this solution and my "Confirm Order" button says Continue and simply reloads the cart... it NEVER goes to PayPal. I am currently using PayPal Payments Standard and it works PERFECTLY... BUT I rather be using PayPal Payments Express.

Is it possible there is a $button_confirm_* variable??

========================== UPDATE 09:11PM ==============================================
OK I just got it to work I think and I got it to work EXACTLY how I like it. I did not like it when I enabled the button through the 'Extensions > Modules > PayPal Express Checkout button' because you only get 4 location choices and the button is ALWAYS FLOATING on the cart page (which I hated). SO I added the button this way, then went and viewed source, then grabbed the code below and then added it to the file below. NOW it operates correctly as far as I can tell.
Hello. I´ve had the same issue. So I changed the default products to mine and the PayPal Button started to redirect me to the payment page. So try this if you like.

Newbie

Posts

Joined
Sat Sep 20, 2014 3:50 am
Who is online

Users browsing this forum: No registered users and 152 guests