
When this happens...
Payment Received
Subscription Cancelled

Automatically do this!
Enable Integrations or automations with these events of PayHere and PubNub
Triggers when a payment is received.
Triggers when a user has cancelled their subscription, or Stripe has marked it as cancelled due to payment failures.
Creates a new payment plan
Update the company information for currently authenticated user.
Issue a refund a customer the amount specified, can be a partial refund.
viaSocket Support
We're here to help
Instant answers
AI assistant available 24/7
Expert support
Connect with our specialists
Trusted & secure
Your data is safe with us

Discover viaSocket, an AI-powered workflow automation platform with 2,000+ integrations. Learn what it is, how it works, and how to set up no-code automated workflows.

Unlock your team's potential with 5 straightforward automation hacks designed to streamline processes and free up valuable time for more important work.

Explore workflow automation: its definition, benefits, how it works, real-world examples, and how to automate with viaSocket.

Discover what webhooks are, how they work, and when to use them. Compare push-based webhooks with APIs and polling, with practical examples and ViaSocket integration.
To start, connect both your PayHere and PubNub accounts to viaSocket. Once connected, you can set up a workflow where an event in PayHere triggers actions in PubNub (or vice versa).
Absolutely. You can customize how PayHere data is recorded in PubNub. This includes choosing which data fields go into which fields of PubNub, setting up custom formats, and filtering out unwanted information.
The data sync between PayHere and PubNub typically happens in real-time through instant triggers. And a maximum of 15 minutes in case of a scheduled trigger.
Yes, viaSocket allows you to add custom logic or use built-in filters to modify data according to your needs.
Yes, you can set conditional logic to control the flow of data between PayHere and PubNub. For instance, you can specify that data should only be sent if certain conditions are met, or you can create if/else statements to manage different outcomes.
PayHere is a comprehensive online payment gateway service that facilitates seamless and secure transactions for businesses and individuals in Sri Lanka. It supports multiple payment methods, including credit cards, mobile payments, and bank transfers, making it easier for users to manage their financial transactions online.
Learn MorePubNub is a real-time communication platform that provides APIs and infrastructure for building and scaling real-time applications. It enables developers to add real-time functionalities such as chat, notifications, and live updates to their applications.
Learn More