Skip to content

extpay.onPaid.addListener is not triggered #297

@CardBook

Description

@CardBook

this is my code in background.js :

	extpay.onPaid.addListener(user => {
    	console.log('test internet paiement done !')
	});
	extpay.getUser().then(user => {
		if (user.paid) {
			console.log("test already paid");
		} else {
			console.log("test not paid");
			extpay.openPaymentPage();
		}
	})

the openPaymentPage() is correctly done. Here are the screenshots of the process :

Image Image Image Image

and then the listener is not triggered...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions