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', '/');
What happens with Paypal Payments Pro failed transactions
-
cottonheadedidiot
- Member
- Posts: 14
- Joined: Thu Jun 24, 2021 4:48 pm
- Phoenix Version:
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: What happens with Paypal Payments Pro failed transactions
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');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');-
cottonheadedidiot
- Member
- Posts: 14
- Joined: Thu Jun 24, 2021 4:48 pm
- Phoenix Version:
Re: What happens with Paypal Payments Pro failed transactions
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.
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.
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: What happens with Paypal Payments Pro failed transactions
Maybe use Paypal Standard - it works.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
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.
-
raiwa
- Certified Developer
- Posts: 1640
- Joined: Sat Dec 21, 2019 8:08 am
- Phoenix Version: 1.1.0.6
- : Buy Me A Beverage
- Has thanked: 70 times
- Been thanked: 152 times
Re: What happens with Paypal Payments Pro failed transactions
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.we have been unable to get Braintree to work, nor either of the Stripe modules to function
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
cottonheadedidiot
- Member
- Posts: 14
- Joined: Thu Jun 24, 2021 4:48 pm
- Phoenix Version:
Re: What happens with Paypal Payments Pro failed transactions
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.
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.
-
raiwa
- Certified Developer
- Posts: 1640
- Joined: Sat Dec 21, 2019 8:08 am
- Phoenix Version: 1.1.0.6
- : Buy Me A Beverage
- Has thanked: 70 times
- Been thanked: 152 times
Re: What happens with Paypal Payments Pro failed transactions
You still didn't explain which exact problems you had with these.It is a shame we have had so much trouble with Braintree and Stripe.
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.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
cottonheadedidiot
- Member
- Posts: 14
- Joined: Thu Jun 24, 2021 4:48 pm
- Phoenix Version:
Re: What happens with Paypal Payments Pro failed transactions
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!
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!