remove paypal info when becoming stripe patron
This commit is contained in:
parent
f030f10c3e
commit
1c94df5d00
|
@ -337,7 +337,9 @@ final class PlanApi(
|
|||
).expireInOneMonth(!freq.renew))
|
||||
case Some(patron) => patronColl.update(
|
||||
$id(patron.id),
|
||||
patron.copy(stripe = Patron.Stripe(customerId).some).expireInOneMonth(!freq.renew)
|
||||
patron.copy(
|
||||
stripe = Patron.Stripe(customerId).some
|
||||
).removePayPal.expireInOneMonth(!freq.renew)
|
||||
)
|
||||
} void
|
||||
|
||||
|
|
Loading…
Reference in a new issue