Skip to content

Commit ca27d5f

Browse files
authored
Merge pull request #43 from teacoder-team/dev
fix: webhook crypto
2 parents 68d5b87 + 91373e3 commit ca27d5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/payment/webhook/webhook.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class WebhookService {
7272
}
7373

7474
public async handleCrypto(payload: any) {
75-
if (payload.status !== 'paid') return
75+
if (payload.status !== 'paid' || payload.status !== 'paid_over') return
7676

7777
await this.processPayment({
7878
provider: 'crypto',

0 commit comments

Comments
 (0)