You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -133,6 +133,12 @@ class MintingMessageReceiver : SqsMessageReceiver {
133
133
}
134
134
)
135
135
}
136
+
137
+
PaymentType.PAYPAL-> {
138
+
// unexpected, we never set MintingPaymentSubmitted for PayPal
139
+
// probably a bug, this is handled gracefully by the outer try-catch
140
+
throwIllegalStateException("Unexpected PayPal payment type for song: ${song.id}.")
141
+
}
136
142
}
137
143
}
138
144
@@ -144,6 +150,8 @@ class MintingMessageReceiver : SqsMessageReceiver {
144
150
PaymentType.NEWM-> {
145
151
log.info { "Awaiting NEWM payment for song: ${song.id} on address: ${monitorRequest.address} for ${monitorRequest.lovelace} lovelace and $cost NEWM." }
146
152
}
153
+
154
+
PaymentType.PAYPAL-> {}
147
155
}
148
156
149
157
val response = cardanoRepository.awaitPayment(monitorRequest)
0 commit comments