logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
judy at Web2Market  
#1 Posted : Monday, February 26, 2024 11:11:28 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 289

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
We have sites that sync order information to Acumen and in a 9.0.8 site that upgraded from AC Gold R12, the Paypal transaction information is no longer being populated in that custom code. I've stepped through debug and it calls if(Payment.HasAccountData and the code in there doesn't get hit for PP orders like it did in Gold. Did something change?
The stored procedure that pulls the data still works.
2024-02-26_11-29-16.png (6kb) downloaded 4 time(s).
Thanks

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shaharyar  
#2 Posted : Monday, March 4, 2024 11:05:25 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 703

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Hi Judy,

I don't think so any thing related has changed.
HasAccountData checks that if a value is present in the EncryptedAccountData database field. Please confirm that in the ac_Payments table, column EncryptedAccountData contains a value.
judy at Web2Market  
#3 Posted : Tuesday, March 5, 2024 7:08:13 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 289

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Yes, that field was filled out. I finally had to add another section of code if (lastPayment.PaymentMethodName.ToLowerInvariant() == "paypal")
shaharyar  
#4 Posted : Tuesday, March 5, 2024 7:10:20 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 703

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
I am glad to know that it worked for you!
Users browsing this topic
Guest (2)
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.