Dnn 09.13.04 Hotcakes Commerce 3.08.01
While logged in as Superuser the PayPal Payments Pro sandbox checkout works fine.
While not logged in (GuestCheckout role) order is taken, but payment is not processed.
Checkout/Public Error UPDATE PAYMENT ERROR the payment information you provided was not able to be processed. Please update your payment information and try again.
Payment Error from Orders Module
Error
:: HCP_PPP_1001 - Unknown Payment Error: Object reference not set to an instance of an object. :: STACKTRACE - Stack Trace at Hotcakes.Payment.Gateways.PayPalPaymentsPro.<>c__DisplayClass12_0.b__0() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Hotcakes.Payment.Gateways.PayPalPaymentsPro.Authorize(Transaction t) at Hotcakes.Payment.Gateways.PayPalPaymentsPro.ProcessTransaction(Transaction t) Have tried with a variety of skins and page settings. Have added write permissions for GuestCheckout to Cache and Hotcakes Views directories In Orders> Orders Manager> Order Details > Payment > New Charges when Chargin the stored card in successful order (made by superuser) the payment processor works.
In same area under unsucessful orders (any other role) the payment > new charges throws same error. I presume there is a permissions issue...Anything else that could cause/solve this problem? Thanks
gp
Hello... Thank you for reporting this issue in the GitHub repo.
I'm not aware of anyone else having this issue, yet. When we have time, we'll attempt to reproduce the issue, but if you can provide more details about how you've configured your instance, it would be helpful. It looks like you took that part out of the Issue in GitHub. Right now, anything we do to troubleshoot this would be a guess. 🫣
I made a number of attempts to resolve this and here is what I found and what worked.
I tested with a non shipping product. The Non Shipping product box checked.
I added flat shipping with no fee... still broken
Un Checked the Non Shipping Product box and it works. Somehow there is a disconnect while not using shipping address and being a guest.
Posted By G_Papadopolis on 11/12/2024 7:48 AM I made a number of attempts to resolve this and here is what I found and what worked. I tested with a non shipping product. The Non Shipping product box checked. I added flat shipping with no fee... still broken Un Checked the Non Shipping Product box and it works. Somehow there is a disconnect while not using shipping address and being a guest.
Thank you for providing more details, here and in GitHub. I've asked someone to take a quick look to see if it can be duplicated.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.