Rank: Advanced Member
Groups: Authorized User, Developers, Registered Joined: 4/17/2019(UTC) Posts: 80
|
My client is reporting that all PayPal orders are being marked as "Payment Completed" even if the customer didn't finish the payment in PayPal. How can this be prevented?
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Are you using paypal express checkout or simple paypal method?
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers, Registered Joined: 4/17/2019(UTC) Posts: 80
|
Not PayPal Express, simple method.
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 472
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
Hello,
A few things to check -
Make sure the PayPal Notification URL is correct. This is in the PayPal account, under Profile > Selling Preferences > Instant Payment Notification.
You must have the correct SSL link to the AbleCommerce store's "ProcessPayPal.ashx" file.
Check the AbleCommerce Paypal configuration page. It will have the link shown.
Test the checkout, and if it still doesn't work, then you'll need to enable DEBUG mode from the configuration page.
Please keep us updated.
Thanks Katie |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers, Registered Joined: 4/17/2019(UTC) Posts: 80
|
Hi Katie, Thanks for helping with this. I have debugging turned on for PayPal and no errors are showing. I believe that the IPN is also working correctly because when a customer does pay it updates the site correctly. The problem is when the customer doesn't pay. I don't think the IPN is a factor in this case because this is when the user is redirected to PayPal but doesn't go through any of the payment process. Here is how I recreate the issue: 1. Add items to Basket and go through AC checkout pages. 2. On the Payment page select and click PayPal. 3. When PayPal page comes up just navigate away. This is what the order will look like: My client says this is causing problems with their processing because of showing the "Completed" status when there is no payment. This is the PayPal configuration: This is the Order Statuses set up: So they are wanting to know how to not have the Status of "Completed" show for PayPal orders that have not been Paid.
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 472
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
I see now.
Which version/build is this?
I need to check and see if this is a bug.
Thanks, Katie |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers, Registered Joined: 4/17/2019(UTC) Posts: 80
|
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 472
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
I did a few tests, and each time, the order status was always Payment Pending. Then I took a closer look at your order statuses, and if you compare to the one I attached, you should be able to see the difference. Please have the client change the order status triggers back to the default settings: default_order_status.png (49kb) downloaded 12 time(s).This should fix the problem. If the order is placed with no payment, then it will be "Payment Pending". Once the order is paid, then it will change to Shipment Pending. If the paid order only had non-shippable items, then it would skip directly to status Completed. Thank you, Katie |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers, Registered Joined: 4/17/2019(UTC) Posts: 80
|
Still having problems with this. I changed the Oder Status settings to match what you sent. This happened 2 times again yesterday. Any other ideas?
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
I am also unable to reproduce the issue you are mentioning. Can you please confirm that there are no related customizations.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers, Registered Joined: 4/17/2019(UTC) Posts: 80
|
This is still happening periodically. From user feedback it seems like instead of the user voluntarily exiting the PayPal site, they encounter some kind of error - probably on PayPal's end. The other thing that I didn't mention was that this was an upgrade from Gold R12 and they use Braintree gateway but PayPal & PayPal Express are using the PayPal gateway. The documentation on how to use PayPal Express with Braintree is lacking. I did make a change as described by in a previous post: https://www.ablecommerce.com/for...osts/t322-PayPal-Express"... the _PaymentWidget.cshtml file throws an error because the paymentAmount parameter is missing on line 102. I didn't see a way to get the amount from the Basket so I changed the line to: @Html.Action("_PayPalExpressPaymentForm", "PayPalExpress", new { orderId = Model.OrderId, basketId = Model.BasketId, paymentAmount = 0, paymentMethodId = Model.PaymentMethodId })"
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Quote:https://www.ablecommerce.com/forums/posts/t322-PayPal-Express The issue described in this forum post was fixed in our latest release 9.0.3. It is recommended to upgrade to the latest release. Thanks
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 472
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
Quote:The documentation on how to use PayPal Express with Braintree is lacking The reason is that our PayPal Express is intended to be used with the PayPal gateway, not with Braintree. Applying the upgrade from 9.0.2 to 9.0.3 is a good idea. Many issues were fixed in this last update. Thanks Katie |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers, Registered Joined: 4/17/2019(UTC) Posts: 80
|
Quote:The reason is that our PayPal Express is intended to be used with the PayPal gateway, not with Braintree. Ok, if the merchant is using both PayPal Standard, PayPal Express and Braintree, how do you configure that? They want Braintree to process PayPal Standard. There is only one configuration page for PayPal. Should you assign the PayPal Payment Method to the PayPal gateway or the Braintree gateway? This is what's not clear.
|
|
|
|
Rank: Newbie
Groups: Authorized User, Developers, Registered Joined: 3/9/2022(UTC) Posts: 4
|
Originally Posted by: Katie S Hello,
A few things to check -
Make sure the PayPal Notification URL is correct. This is in the PayPal account, under Profile > Selling Preferences > Instant Payment Notification.
You must have the correct SSL link to the AbleCommerce store's "ProcessPayPal.ashx" file.
Check the AbleCommerce Paypal configuration page. It will have the link shown.
Test the checkout, and if it still doesn't work, then you'll need to enable DEBUG mode from the configuration page.
Please keep us updated.
Thanks Katie I'm having the same issue. Before a person finishes with PayPal the order is created. How do I prevent an order from being created if they didn't finish the PayPal checkout process? Also, where is the ProcessPayPal.ashx located? I've enabled Debug Mode, where is the log file? I'm working with Version: 9.0.5.6938
|
|
|
|
Rank: Advanced Member
Groups: Administrators, Developers, Registered, HelpDesk, Authorized User, Admin, System Joined: 10/11/2018(UTC) Posts: 110
Thanks: 19 times Was thanked: 18 time(s) in 18 post(s)
|
Quote:I'm having the same issue. Before a person finishes with PayPal the order is created. How do I prevent an order from being created if they didn't finish the PayPal checkout process? This is by design in standard PayPal implementation in AbleCommerce. The order is first created and then sent over to PayPal for payment. Once the payment is made, the order is updated through IPN. You can use the PayPal Express Checkout where the user is first redirected to PayPal for payment and then come back to website to complete the order. Quote:Also, where is the ProcessPayPal.ashx located? There is no ProcessPayPal.ashx physical file in AC9. This is handled through route handler where the requested is mapped and routed to IPN processor for updating order info. The files RouteProvider.cs and IpnProcessor.cs are located under the path /IntegratedProviders/PayPal/ inside the PayPal plugin full source code. Quote:I've enabled Debug Mode, where is the log file? The log file should be under the path Website/App_Data/Logs/. Hope this helps. Thank you!
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close