Page 1 of 1
What happens with Paypal Payments Pro failed transactions
Posted: Thu Jun 24, 2021 4:55 pm
by cottonheadedidiot
Using Phoenix 1.0.3.0. PayPal Payments Pro (Direct Payment) works properly if the customer's credit card info is fine and the transaction is accepted by the card issuer.
However, if there is a failed transaction, instead of a proper error message or chance to fix the information, the customer is simply thrown back to the shopping cart.
I saw something seeming to indicate this may be due to improper configuration of the cookie paths. I do not know if this is true, but this is how ours are set up. Maybe that is the solution. Thanks.
define('HTTP_SERVER', '
https://our-site.com');
define('HTTPS_SERVER', '
https://our-site.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', '
www.our-site.com');
define('HTTPS_COOKIE_DOMAIN', '
www.our-site.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
Re: What happens with Paypal Payments Pro failed transactions
Posted: Thu Jun 24, 2021 5:16 pm
by ecartz
Code: Select all
define('HTTP_SERVER', 'https://our-site.com');
define('HTTPS_SERVER', 'https://our-site.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'www.our-site.com');
define('HTTPS_COOKIE_DOMAIN', 'www.our-site.com');
The server and domain values should match. E.g.
Code: Select all
define('HTTP_SERVER', 'https://our-site.com');
define('HTTPS_SERVER', 'https://our-site.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'our-site.com');
define('HTTPS_COOKIE_DOMAIN', 'our-site.com');
I don't know if this is related to your problem or not.
Re: What happens with Paypal Payments Pro failed transactions
Posted: Thu Jun 24, 2021 5:58 pm
by cottonheadedidiot
Thanks. That doesn't seem to help. Failed transactions just go to the shopping cart.
For a long time, on our site we have been content to use Paypal Express Checkout and the Credit Card payment module, entering the info by hand. Trying to graduate to a live CC processor, we have been unable to get Braintree to work, nor either of the Stripe modules to function. They aren't getting as far as PayPal Payments Pro. This is the closest we've been able to come with a live transaction payment module actually working. It works fine with a valid transaction, but it just sends the customer back to their shopping cart if there is anything wrong.
Maybe we can fix this Paypal Payments Pro redirect problem. Alternatively, if anyone knows the payment module gateway combination that always seems to work well with Phoenix 1.0.3.0 in the United States, that could sure save us some trouble. Or if you know the secret step to make Braintree or Stripe work, that could be another way. We just need live CC transactions to function.
Re: What happens with Paypal Payments Pro failed transactions
Posted: Fri Jun 25, 2021 5:46 am
by heatherbell
cottonheadedidiot wrote: ↑Thu Jun 24, 2021 5:58 pmAlternatively, if anyone knows the payment module gateway combination that always seems to work well with Phoenix 1.0.3.0 in the United States
Maybe use Paypal Standard - it works.
Also see the
Addons Library - there are updated Braintree and Stripe Addons there as well as a utility to upgrade your Phoenix Cart version if required.
Re: What happens with Paypal Payments Pro failed transactions
Posted: Fri Jun 25, 2021 6:54 am
by raiwa
we have been unable to get Braintree to work, nor either of the Stripe modules to function
If you tell us more details what didn't work with them (exact version you tried, error messages, screenshots etc) we may be able to help you to get them working. At least for Stripe SCA I can say that it should work with Phoenix 1.0.3.0.
Re: What happens with Paypal Payments Pro failed transactions
Posted: Sun Jun 27, 2021 1:25 pm
by cottonheadedidiot
Hey. Thank you everybody who has offered to help. It's good to see that Phoenix lives on over here. I was beginning to feel like I didn't understand what was going on anymore.
So I basically solved the problem with Paypal Payments Pro by locating and changing the redirect so that it now goes with an error message informing the customer in checkout_confirmation.php, so they can try again. It just uses a query string to signify the error state. It works well enough!
It is a shame we have had so much trouble with Braintree and Stripe. It looks like there a paid App now that will work for Braintree but not our earlier version of Phoenix. For our version of Phoenix, 1.0.3.0, the workable gateway solution for CC entry has been PayPal Payments Pro (Direct Payment), though we have had to capture the validation error and redirect to checkout_confirmation.php with a notification instead of the way it was going, which was all the way back to the shopping cart.
Re: What happens with Paypal Payments Pro failed transactions
Posted: Sun Jun 27, 2021 3:21 pm
by raiwa
It is a shame we have had so much trouble with Braintree and Stripe.
You still didn't explain which exact problems you had with these.
As already pointed out: at least Stripe SCA works without any problem if you are using the right version for your store and configure it correct.
Re: What happens with Paypal Payments Pro failed transactions
Posted: Sun Jun 27, 2021 7:23 pm
by cottonheadedidiot
I first implemented the Stripe and Braintree modules that came with Phoenix 1.0.3.0. I set them up as well as I could. I believe I entered all the credentials properly. I later downloaded and tried Stripe SCA.
With all three of them, the credit card entry form would not appear at checkout_confirmation.php for the customer to enter the information.
For our part, PayPal Payments Pro (Direct Payment) is doing the job.
Thanks!