Updating paypal csv import to new type
This commit is contained in:
parent
5a8375581f
commit
6e13ec34ef
|
@ -51,7 +51,7 @@ logger.fatal self.inspect
|
||||||
# Only create payments if the CSV matches a member
|
# Only create payments if the CSV matches a member
|
||||||
if user.present?
|
if user.present?
|
||||||
# And is a payment (not a cancellation, etc)
|
# And is a payment (not a cancellation, etc)
|
||||||
payment_types = ["Recurring Payment Received","Payment Received"]
|
payment_types = ["Subscription Payment Processed","Recurring Payment Received","Payment Received"]
|
||||||
if payment_types.include?(self._type)
|
if payment_types.include?(self._type)
|
||||||
# And a member level
|
# And a member level
|
||||||
if User.member_levels[self._gross.to_i].present?
|
if User.member_levels[self._gross.to_i].present?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user