importScripts("https://js.pusher.com/beams/service-worker.js");
// PusherPushNotifications.onNotificationReceived = ({ pushEvent, payload }) => {
// // NOTE: Overriding this method will disable the default notification
// // handling logic offered by Pusher Beams. You MUST display a notification
// // in this callback unless your site is currently in focus
// // https://developers.google.com/web/fundamentals/push-notifications/subscribing-a-user#uservisibleonly_options
// // Your custom notification handling logic here 🛠️
// // https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification
// pushEvent.waitUntil(
// self.registration.showNotification(payload.notification.title, {
// body: payload.notification.body,
// icon: payload.notification.icon,
// data: payload.data,
// })
// );
// };
Checks the status of a payment.
**Response: SUCCESS (200 OK)**
{
"message": {
"success": [
"Success"
]
},
"data": {
"token": "2zMRmT3KeYT2BWMAyGhqEfuw4tOYOfGXKeyKqehZ8mF1E35hMwE69gPpyo3e",
"trx_id": "CP44657864",
"payer": {
"username": "testuser",
"email": "user@appdevs.net"
}
"status": "Test",
},
"type": "success"
}