Connect SMTP and PayHere to Build Intelligent Automations

Choose a Trigger

SMTP

When this happens...

Choose an Action

PayHere

Automatically do this!

Ready to use SMTP and PayHere automations

Actions and Triggers

When this happensTriggers

A trigger is an event that starts a workflow.

Payment Received

Payment Received

Triggers when a payment is received.

Subscription Cancelled

Subscription Cancelled

Triggers when a user has cancelled their subscription, or Stripe has marked it as cancelled due to payment failures.

Request a new Trigger for SMTP

Do thisActions

Action is the task that follows automatically within your SMTP integrations.

Send Email

Send Email

Send a Message.

Create a Plan

Create a Plan

Creates a new payment plan

Update Current Company

Update Current Company

Update the company information for currently authenticated user.

Issue a refund

Issue a refund

Issue a refund a customer the amount specified, can be a partial refund.

Request a new Action for SMTP

We'll help you get started

Our team is all set to help you!

Customer support expert avatarTechnical support expert avatarAutomation specialist expert avatarIntegration expert avatar

Frequently Asked Questions

How do I start an integration between SMTP and PayHere?

To start, connect both your SMTP and PayHere accounts to viaSocket. Once connected, you can set up a workflow where an event in SMTP triggers actions in PayHere (or vice versa).

Can we customize how data from SMTP is recorded in PayHere?

Absolutely. You can customize how SMTP data is recorded in PayHere. This includes choosing which data fields go into which fields of PayHere, setting up custom formats, and filtering out unwanted information.

How often does the data sync between SMTP and PayHere?

The data sync between SMTP and PayHere typically happens in real-time through instant triggers. And a maximum of 15 minutes in case of a scheduled trigger.

Can I filter or transform data before sending it from SMTP to PayHere?

Yes, viaSocket allows you to add custom logic or use built-in filters to modify data according to your needs.

Is it possible to add conditions to the integration between SMTP and PayHere?

Yes, you can set conditional logic to control the flow of data between SMTP and PayHere. 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.

SMTP

About SMTP

SMTP (Simple Mail Transfer Protocol) is like a digital postman that sends your emails to the right place on the internet. To use it, you’ll need the SMTP server address (like smtp.gmail.com), port number (587 or 465), and your email login credentials.

Learn More
PayHere

About PayHere

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 More