Post by lfairban » Fri Feb 06, 2015 6:08 am

Error On Confirm - Checkout

I get this error when checking out. Upon clicking "confirm order," this message below pops up.

Code: Select all

<b> Notice </b>: Undefined variable: text_loading in <b>...catalog\view\theme\default\template\payment\pp_payflow.tpl</b> on line <b>76</b>
Line 76 contains the following:

Code: Select all

<input type="button" value="<?php echo $button_confirm; ?>" id="button-confirm" data-loading-text="<?php echo $text_loading; ?>" class="btn btn-primary" />

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by dabomb59404 » Fri Feb 06, 2015 9:29 am

I believe this:
<?php echo $text_loading; ?>

Should be this:
<?php echo $text_wait; ?>

In the pp_payflow.tpl file.

User avatar
Active Member

Posts

Joined
Thu Jun 09, 2011 5:21 am

Post by lfairban » Fri Feb 06, 2015 9:48 pm

That got me through that error, Thanks! Now I get a "general error" so I probably have something set up wrong or it could be something on PayPal's side.

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by lfairban » Fri Feb 06, 2015 10:14 pm

I'm looking at the confirm order page; why does OpenCart list "Card Valid From Date" in the checkout?

I've never seen this in a checkout form before and why is it required?

Also, will I get a "General Error" if the card information is fake; I use the 411111111... card number to test.

It seems like it should show "Credit Card Info Rejected" error if that was the case.

Anyways, I'm just trying to work through why it's failing and any help is welcome. Thanks.
Last edited by lfairban on Fri Feb 06, 2015 11:07 pm, edited 1 time in total.

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by lfairban » Fri Feb 06, 2015 11:06 pm

Also tried running PayPal Sandbox test card accounts - that didn't work.

My next step was to try to send OpenCart to my PayPal Sandbox account but with PayFlow, it wants these input fields but the test accounts only provide API input. There's just a huge disconnect between what PayPal offers and the setup options they offer. Between my test paypal Playflow accounts and my live Payflow account, the settings have the same issue...Below.

Payflow Input Setup
Partner:
Merchant Login:
User:
Password:

PayPal Sandbox Accounts for Payflow
User:
Password:
Signature:

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by lfairban » Fri Feb 06, 2015 11:12 pm

To visually describe this, on my LIVE manager site, manager.paypal.com offers these input options: see attached image.

Attachments

paypal2015-02-06_090949.png

paypal2015-02-06_090949.png (17.5 KiB) Viewed 2500 times


User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by lfairban » Fri Feb 06, 2015 11:15 pm

And then on the PayPal Sandbox, these credentials are offered...I wish they'd make up their mind.

Attachments

2015-02-06_091412.png

2015-02-06_091412.png (23.03 KiB) Viewed 2500 times


User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by lfairban » Sat Feb 07, 2015 12:11 am

This is the general error:
"Warning: A general problem has occurred with the transaction. Please try again."
Is this likely a user error, an error with OpenCart or PayPal?

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by lfairban » Sat Feb 07, 2015 12:24 am

For "Partner," it reads: "The ID provided to you by the authorized PayPal Reseller who registered you for the Payflow SDK. If you purchased your account directly from PayPal, use the PayPal Pro instead."
If I change it from PayPal to "PayPal Pro," I get this error:
Warning: Payment module configuration error. Please verify the login credentials.
By "use the PayPal Pro instead." does Opencart mean I should disable Payflow and set up the "PayPal Pro" extension?

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by Cue4cheap » Sat Feb 07, 2015 6:00 am

What paypal account do you have? Paypal payflow pro?
If so I would recommend PayPal Payflow Pro iFrame.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by ahuvainc » Fri Mar 25, 2016 7:53 pm

I am getting the exact errors. Is there a fix for this ? I would like to pay for support on this - any recommendations / offers ? I've submitted an issue in Github and The file reference can be found here - hasn't been updated in over a year.
https://github.com/opencart/opencart/bl ... ayflow.tpl

- payflow iframe is not a resolve as it takes user with hickups off the website - don't want this.
- Paypal tech suggested the 'test mode' is still based on the code . Doesn't really turn off in admin
- I'm getting user undefined variable on line 76 as above and those line codes aren't relative anymore.
- The field at checkout "Card Valid From Date" needs to be removed. Customers don't know this
- This is an out of box payment option - should work !!

Please someone reply ! :)

Skype me at 'ahuvainc'


User avatar
Newbie

Posts

Joined
Fri Mar 18, 2016 3:28 am
Location - Israel
Who is online

Users browsing this forum: No registered users and 6 guests