• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Outdoor Ed
#1 Posted : Monday, November 20, 2006 3:19:10 PM(UTC)
Outdoor Ed

Rank: Member

Joined: 3/4/2006(UTC)
Posts: 121

I don't know anything about how to create workflows. I'd like to set up something where the credit card number is removed as soon as the charge is authorized (for obvious security reasons). Has anyone set something like this up?


Rick
scott.mech
#2 Posted : Monday, November 20, 2006 3:53:27 PM(UTC)
scott.mech

Rank: Member

Joined: 4/4/2004(UTC)
Posts: 670

at a glance, if you do this, how would you handle customer returns or if you received a chargeback, how would you handle the documentation for the response?

Scott Mech
Outdoor Ed
#3 Posted : Monday, November 20, 2006 11:36:35 PM(UTC)
Outdoor Ed

Rank: Member

Joined: 3/4/2006(UTC)
Posts: 121

My particular site sells online job postings so there are no returns. If the person fails to use their purchased job postings within the specified time they are out of luck.

Rick
scott.mech
#4 Posted : Tuesday, November 21, 2006 10:32:14 AM(UTC)
scott.mech

Rank: Member

Joined: 4/4/2004(UTC)
Posts: 670

Rick,
Thanks for the explanation. Guess you don't have those little problems like foreign work-visa college students that are under investigation by the US DoJ or those pesky FBI sting operations. Most criminals are probably not purchasing online job postings.

Scott Mech
jetheredge
#5 Posted : Tuesday, November 21, 2006 11:01:57 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Andy Miller wrote up a good article on creating workflow tasks... http://structured-soluti...e5/Bvc5UpdateOrderStatus Basically you would want to follow his instructions on how to create a workflow task, but instead implement code that would load up the Order and its associated payments and clear out the credit cart number, then save the payment back to the database.

Something similar to this would work. I just wrote this off the top of my head, so please do some testing with it!

For Each payment As Orders.OrderPayment In Order.Payments
if payment.PaymentMethodId = WebAppSettings.PaymentIdCreditCard then
if payment.AmountCharged > 0 then
payment.CreditCardNumber = "0000000000000000"
payment.CreditCardExpMonth = "01"
payment.CreditCardExpDay = "01"
if not Orders.OrderPayment.Update(payment) then
EventLog.LogEvent("Order did not remove credit card correctly! Payment Id " & payment.Bvin)
end if
end if
end if
End For
Justin Etheredge
Senior Software Engineer
BVSoftware
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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012