Post by alaskabear » Sat Aug 15, 2015 1:40 am

Hi all,

I just signed up for a PayPal Pro account and initially had the "PayPal Pro" extension installed and working correctly with the Sandbox (didn't test live). I'm using Opencart v2.0.3.1.

However I spoke with a PayPal rep and they recommended I use "PayPal Payflow Pro" instead.

The problem is after installing and changing a few minor things (fixing an out-of the-box spelling error, misnamed field & removing credit card start date as a required field), once I click "Confirm Order", the button text changes to "Please wait while your order is processed..." and then nothing happens. No orders are made, there's no confirmation email sent. The order page just remains and the button text returns to "Confirm Order".

1) Has anyone else successfully implemented "PayPal Payflow Pro" and are currently using it?

2) Are there any other tweaks I need to make to get it working?

3) What's the difference between "PayPal Pro" and "PayPal Payflow Pro"? Can I just use PayPal Pro since that seemed to work okay?

Thank you in advance for any help!

Newbie

Posts

Joined
Sun Apr 14, 2013 2:06 am

Post by papaluchi » Fri Sep 18, 2015 8:54 am

I had a similar problem, turns out, even though paypal allows you to use anything for a password, it has to be alphanumeric only when it comes to payflow, at least that was the case with me and it worked; so be sure your payflow pass is only letters and numbers.

Newbie

Posts

Joined
Tue Apr 16, 2013 12:28 am

Post by richardman » Wed Sep 23, 2015 5:51 am

Oh! I had the same issue but didn't realize that was the problem. My workaround was to create a new user which happens to only use letters/numbers for passwords so that works out!

I have a different problem: does your Paypal Flow+Open Cart2.0 allow American Express as a form of payment? The Paypal Pro side is set up and I talked to the PP support and they said it looks like it's working on their end, but on the cart, AmEx is not being offered as an option.

I have set Geozones to all zones, and OC does not offer any "accepted cards" option tab for Paypal Flow.

Please help. Thanks.

Newbie

Posts

Joined
Sat Sep 19, 2015 6:47 pm

Post by richardman » Wed Sep 23, 2015 11:11 am

It would appear that the problem is simply in the payment.php code not having "American Express" in one of the array input. The payment would go through regardless. In any case, I added it and it seems to work fine. In other words, the "card type" does not seem to be used at all.

I also got rid of the "Start Date" since it's not needed either.

Newbie

Posts

Joined
Sat Sep 19, 2015 6:47 pm

Post by alaskabear » Sat Sep 26, 2015 12:30 am

Thank you @papaluchi and @richardman for your feedback.

I tried it again and this time the order was placed successfully and confirmation emails were sent, but the Checkout page still doesn't forward on to the Thank You/Confirmation page as it does when I use PayPal Pro. So for now I'll be sticking with PayPal Pro.

Newbie

Posts

Joined
Sun Apr 14, 2013 2:06 am

Post by mkp007 » Thu Feb 04, 2016 6:26 am

Hi @alaskabear

I'm having the same problem as you where the order handling does not take the customer to the Confirmation page.

Any idea on how to resolve this?

Vorticy, Inc.
Opencart 1.5.6.4, MySQL 5.1.73-5, PHP 5.3.3-46, Plesk v12.0.18, OS CentOS 6


New member

Posts

Joined
Fri May 10, 2013 12:56 am

Post by mkp007 » Wed Feb 10, 2016 1:34 pm

If you are trying to use Payflow and it is not working, the link for the transaction request is old.

Open file: catalog/controller/payment/pp_pro_pf.php

Find:

Code: Select all

if (!$this->config->get('pp_pro_pf_test')) {
			$curl = curl_init('https://payflowpro.verisign.com/transaction');
		} else {
			$curl = curl_init('https://pilot-payflowpro.verisign.com/transaction');
		}

And replace with:

Code: Select all

		if (!$this->config->get('pp_pro_pf_test')) {
			$curl = curl_init('https://payflowpro.paypal.com');
		} else {
			$curl = curl_init('https://pilot-payflowpro.paypal.com');
		}
strange that this isn't posted somewhere. Am I the only one using Payflow Pro?

For more info: https://developer.paypal.com/docs/class ... guidelines

Vorticy, Inc.
Opencart 1.5.6.4, MySQL 5.1.73-5, PHP 5.3.3-46, Plesk v12.0.18, OS CentOS 6


New member

Posts

Joined
Fri May 10, 2013 12:56 am

Post by klyn05 » Fri Sep 16, 2016 7:12 am

I had this problem originally too, but you have to put in the URL for your checkout "Success" page in PayPal manager. Otherwise, the transaction will still go through but it will just stay on the checkout page for customer, no redirect.

PayPal manager (manager.paypal.com) > Service Settings > Hosted Checkout Pages > Set Up, Under Payment Confirmation,

Show confirmation page: click On my website, and Enter Return URL, which is:
http://www.yourshop.com/subfolderIfAny/ ... ut/success

New member

Posts

Joined
Sat Jan 03, 2015 2:27 am

Post by mkp007 » Fri Sep 16, 2016 7:38 am

klyn05 wrote:I had this problem originally too, but you have to put in the URL for your checkout "Success" page in PayPal manager. Otherwise, the transaction will still go through but it will just stay on the checkout page for customer, no redirect.

PayPal manager (manager.paypal.com) > Service Settings > Hosted Checkout Pages > Set Up, Under Payment Confirmation,

Show confirmation page: click On my website, and Enter Return URL, which is:
http://www.yourshop.com/subfolderIfAny/ ... ut/success
Thanks for mentioning this. I'm a bit embarrassed to say that I never altered those settings. It's actually still in "Test" mode!! But oddly enough, my checkout process works just fine. After processing the payment with Payflow, my page redirects to the confirmation success page. Maybe what's not happening is information regarding the payment "Transaction ID" is not being stored in OC.

For the "Show confirmation page" do you have this set to "On my website"? Any other settings on there worth sharing?

Thanks.

Vorticy, Inc.
Opencart 1.5.6.4, MySQL 5.1.73-5, PHP 5.3.3-46, Plesk v12.0.18, OS CentOS 6


New member

Posts

Joined
Fri May 10, 2013 12:56 am

Post by klyn05 » Sat Sep 17, 2016 1:02 am

mkp007 wrote:Thanks for mentioning this. I'm a bit embarrassed to say that I never altered those settings. It's actually still in "Test" mode!! But oddly enough, my checkout process works just fine. After processing the payment with Payflow, my page redirects to the confirmation success page. Maybe what's not happening is information regarding the payment "Transaction ID" is not being stored in OC.

For the "Show confirmation page" do you have this set to "On my website"? Any other settings on there worth sharing?

Thanks.
Hi mkp,
What problem(s) are you experiencing now? Originally I believe you said you were not being redirected to confirmation page after checkout.

You will use "On my website" if you are using your own website/OC checkout process. Then add the URL I mentioned.
IE, PayPal Express or iFrames Payment modules (which are available standard in OC Payments mods) redirect your customer to either a very basic PayPal looking checkout, or a page that still looks like it is coming from PayPal - but customized with your own logo, etc. (which you can customize).

If you are using Payflow Pro... You want your confirmation page to be "On your website".
This provides the seamless user transaction that basically appears as if PayPal has nothing to do with it, simply a checkout process transitioned seamlessly from your website.

I don't really touch any other settings in Service Settings > Hosted Checkout Pages > Set Up, other than Transaction Process Mode> Live.
I know you said you were in Test mode, but one time I had this set to Test without knowing it also, so make sure that one is set to Live also. You can see that status in the box to the bottom right Service Summary > Hosted Checkout Pages on your Home page in PayPal manager. HTH...

New member

Posts

Joined
Sat Jan 03, 2015 2:27 am

Post by mkp007 » Sat Sep 17, 2016 2:35 am

HTH,

My problem was only that the code in file catalog/controller/payment/pp_pro_pf.php contained the wrong URL path to PayFlow to process the payment. I don't really have any other major problem; however, I'm just slightly concerned that not having the PayFlow setup done correctly that I'm either missing out on information being sent back from PayFlow or that when there is an error it is not handled correctly by Opencart. I'm going to test it out and see. I appreciate your input.

BTW, have you looked into an extension for Payflow that will allow partial/full refunds to be processed from within OC orders? I have one for PayPal payments and I'd sure like to have one for PayFlow. I'm thinking it might not be all that difficult for someone with the proper skills.

Vorticy, Inc.
Opencart 1.5.6.4, MySQL 5.1.73-5, PHP 5.3.3-46, Plesk v12.0.18, OS CentOS 6


New member

Posts

Joined
Fri May 10, 2013 12:56 am

Post by mandamexico » Fri Feb 17, 2017 1:09 pm

Do we still require to use a silent post URL for the data to be sent back to OpenCart? If so, what is the new path's url? I used to use PayFlow Link a while back and just set up my PayFlow account back up.

Also, I am in the states and we do not need or use the "card valid from date" nor the "card issue number" fields. Is there a way that I can omit these from the form? I tried cancelling out code using "<!--, -->" but it broke the php file and prompted a warning on the last step of checkout. I am ready for test transactions but need these fixed so that I can start submitting them. Any help will be greatly appreciated!

- Chris

My Extensions

OpenCart Developer (OCD) Tools

Donate - If I ever helped you.


User avatar
Active Member

Posts

Joined
Mon Jun 29, 2009 10:14 am
Location - Los Angeles, CA
Who is online

Users browsing this forum: No registered users and 5 guests