Page 1 of 1

Error On Confirm - Checkout

Posted: Fri Feb 06, 2015 6:08 am
by lfairban
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" />

Re: Error On Confirm - Checkout

Posted: Fri Feb 06, 2015 9:29 am
by dabomb59404
I believe this:
<?php echo $text_loading; ?>

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

In the pp_payflow.tpl file.

Re: Error On Confirm - Checkout

Posted: Fri Feb 06, 2015 9:48 pm
by lfairban
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.

Re: Error On Confirm - Checkout

Posted: Fri Feb 06, 2015 10:14 pm
by lfairban
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.

Re: Error On Confirm - Checkout

Posted: Fri Feb 06, 2015 11:06 pm
by lfairban
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:

Re: Error On Confirm - Checkout

Posted: Fri Feb 06, 2015 11:12 pm
by lfairban
To visually describe this, on my LIVE manager site, manager.paypal.com offers these input options: see attached image.

Re: Error On Confirm - Checkout

Posted: Fri Feb 06, 2015 11:15 pm
by lfairban
And then on the PayPal Sandbox, these credentials are offered...I wish they'd make up their mind.

Re: Error On Confirm - Checkout

Posted: Sat Feb 07, 2015 12:11 am
by lfairban
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?

Re: Error On Confirm - Checkout

Posted: Sat Feb 07, 2015 12:24 am
by lfairban
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?

Re: Error On Confirm - Checkout

Posted: Sat Feb 07, 2015 6:00 am
by Cue4cheap
What paypal account do you have? Paypal payflow pro?
If so I would recommend PayPal Payflow Pro iFrame.

Mike

Re: Error On Confirm - Checkout

Posted: Fri Mar 25, 2016 7:53 pm
by ahuvainc
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 ! :)