My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 16 attachment: double-ipn-call.patch (585 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: plugins/substruct/app/models/order.rb
===================================================================
--- plugins/substruct/app/models/order.rb (revision 43)
+++ plugins/substruct/app/models/order.rb (working copy)
@@ -589,7 +589,9 @@
self.order_status_code_id = 5
self.new_notes="Order completed."
if Preference.find_by_name('cc_clear_after_order').is_true?
- self.account.clear_personal_information
+ if Order.get_cc_processor != Preference::CC_PROCESSORS[1]
+ self.account.clear_personal_information
+ end
end
self.save
end
Powered by Google Project Hosting