DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Hotcakes 3.08.01 Error with Paypal Payments Pro checkout for anyone but Superuser.

 4 Replies
 3 Subscribed to this topic
 26 Subscribed to this forum
Sort:
Author
Messages
New Around Here Send Private Message
Posts: 10
New Around Here

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

Veteran Member Send Private Message
Posts: 1182
Veteran Member
Have you contacted the vendor already or found/created an issue at https://github.com/Hotcak...ommerce-core/issues? Happy DNNing! Michael

Michael Tobisch
DNN★MVP

DNN Connect
Senior Member Send Private Message
Posts: 1513
Senior Member

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. 🫣

New Around Here Send Private Message
Posts: 10
New Around Here

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.  

 

Senior Member Send Private Message
Posts: 1513
Senior Member
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:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved