Making payments simple without compromising security

Making payments quickly and easily is one thing. Keeping them secure behind the scenes is another.

Here’s how we approached both when developing our latest Coral Starfish feature.

Nobody wants to jump through hoops just to make a payment.

Whether it’s creating another account, remembering yet another password or waiting for someone to manually process an order, those little frustrations can quickly turn something simple into a time-consuming task.

And when you’re busy recruiting, the last thing you need is another bit of admin slowing you down.

At Coral Starfish, we’re always looking at ways to make everyday tasks easier for recruitment and executive search professionals. Our Chrome extension connects platforms such as LinkedIn, XING and BoardEx with recruitment CRM systems including Bullhorn, Invenias and Salesforce, helping recruiters work more efficiently without constantly switching between systems.

So, when we introduced online payments as part of our new contact enrichment feature, we wanted to make sure the purchasing process was just as straightforward.

Customers needed to be able to purchase credits and start using them immediately, without having to contact us or wait for someone to process their order.

Sounds simple enough, doesn’t it?

But behind that seemingly straightforward process were some important decisions about security, protecting payment information and making sure everything worked reliably.

Our challenge was finding the right balance between keeping things simple for customers and maintaining the security standards we expect from our technology.

Here’s how we approached it, the decisions we made and why we believe good security shouldn’t come at the expense of a good customer experience.

Knowing what not to build yourself

There are several established payment providers whose businesses are focused on processing payments securely, so it made sense to use one of these rather than introduce the additional responsibility of handling sensitive financial information ourselves.

We decided on using Stripe, as they are well known and established with handling online payments, have strong security measures and also because it supported the international currencies we work with across our customer base.

When a customer makes a purchase, they’re directed to Stripe’s hosted checkout, where they enter their payment details. Those card details are handled by Stripe rather than being collected or stored by Coral Starfish. This significantly reduces the amount of sensitive information our own systems need to handle.

Of course, using a third party doesn’t remove all our security responsibilities. We still need to make sure our integration is secure, that payments are properly confirmed and that customers receive what they’ve purchased.

We think there’s an important distinction between taking responsibility for integrating with a payment provider securely and taking on the responsibility of processing and storing payment card information ourselves.

Sometimes, making a system more secure starts with deciding what you don’t need to build.

Making payments simple

Do customers really need another login?

A very important consideration was how customers would access the purchasing process.

Coral Starfish integrates with recruitment CRM systems and users are currently authenticated through their CRM, so they don’t currently need a separate Coral Starfish username and password.

This works well for the product itself, but introducing online purchasing presented a slightly different challenge – the person who wants to purchase credits isn’t necessarily the person using our extension. For example, a recruiter might run out of credits but need their manager or someone in the finance department to make the purchase. On the other hand, the person using the product can also make the purchase, so we had to handle both scenarios.

This requirement meant we needed a way for someone to access the purchasing process, even if they weren’t a direct user of Coral Starfish. 

One option would have been to introduce a separate account system, requiring people to register, create passwords and log in before making a purchase. We considered this, but it would have introduced another step for customers and another authentication system for us to maintain and secure.

Instead, we looked at how we could provide secure access without requiring another login. The approach we chose uses single-use, time-limited purchasing links.

A user can access the purchasing process from within Coral Starfish or copy a link and share it with the colleague responsible for making the payment. Importantly, these links are associated with a specific customer account, and our backend validates that association when the link is used.

This ensures any resulting purchase is for the associated customer account, without relying on the person making the purchase to enter this information. This enables us to give non-users of the product the ability to buy credits without introducing a new login credentials, benefiting both the end user and us too.

What happens after someone pays?

One of the benefits of self-service purchasing is that customers can start using what they’ve bought without waiting for someone to process the order manually.

With this, there’s an important technical consideration. How does your application know that someone has actually paid?

It’s not enough to assume that a payment was successful simply because a customer returns to the product after visiting a checkout page. A customer could close the browser, lose their connection or return to the product before the payment has been fully processed.

This is where the integration between your application and the payment provider becomes particularly important.

Stripe provides webhooks, which allow it to notify an application when relevant payment events occur. When a customer successfully completes a purchase, Stripe can send an event to our backend so we can process the payment and allocate the appropriate credits.

There are several security and reliability measures we’ve implemented to make sure this works correctly.

Verifying that payment notifications really come from Stripe

Our backend verifies Stripe webhook signatures before processing payment events.

This is important because an application shouldn’t simply trust an incoming request claiming that a payment has succeeded. Signature verification allows us to check that a notification genuinely came from Stripe, rather than accepting an unverified request.

Security and customer experience

Preventing credits from being allocated twice

Another consideration is that Stripe’s webhook events aren’t necessarily delivered just once.

For example, if Stripe doesn’t receive the expected acknowledgement from our application, it may send the same event again. Without appropriate handling, this could result in the same payment being processed more than once.

We’ve implemented checks to prevent duplicate credit allocation, so receiving the same payment notification multiple times doesn’t result in customers receiving additional credits they haven’t purchased. This is an example of idempotency, a principle that’s important when building reliable systems that process financial transactions.

Making sure credits go to the correct customer

Our solution also needs to ensure that a payment is associated with the correct customer account.

This is particularly important because the person purchasing credits may not be a direct user of Coral Starfish themselves. The purchasing links generated are securely associated with the relevant customer account, and that association is validated by our backend.

When a payment is processed, the integration uses that customer association to ensure credits are allocated to the intended account.

These checks are all handled behind the scenes, so customers don’t need to understand the technical details or take additional steps. 

Security and customer experience should work together

It’s sometimes assumed that making software more secure means making it more complicated to use.

There are certainly situations where additional security measures introduce extra steps, and sometimes those steps are necessary. We don’t think that should automatically be the starting point, as proven by how we solved the purchasing of credits with this new functionality.

When we were designing the purchasing process, we wanted to consider whether there were ways to achieve the security we needed without creating unnecessary work for customers.

Using Stripe’s hosted checkout meant we didn’t need to collect payment card details ourselves.

Generating payment links from within our platform and including a unique customer account identifier can then be validated in the platform post-purchase. This meant no purchase could be incorrectly associated with a different customer, reducing the details required to make a purchase.

Automating the process of confirming payments and allocating credits meant customers wouldn’t have to wait for someone at Coral Starfish to activate what they’d bought.

Each decision involved considering both the technical requirements and the experience we wanted customers to have. That’s not to suggest that security and convenience will always align perfectly. Sometimes additional checks or restrictions are necessary, even if they make a process slightly less convenient.

The important thing is considering both throughout development rather than treating customer experience as something separate from security.

Security and customer experience

Security is an ongoing responsibility

Introducing online payments didn’t fundamentally change how we think about security.

We’ve always considered security during development, and this was another example of applying that approach to a new area of the product.

This new feature was a good reminder about which responsibilities we should take on ourselves and which are better handled by specialist providers. Using Stripe doesn’t mean we can forget about security. We still have responsibility for the parts of the system we build and operate.

As the product develops, we’ll continue reviewing those decisions and considering how new functionality affects both security and customer experience.

Ultimately, customers shouldn’t need to understand everything happening behind the scenes when they make a purchase. They should be able to complete the process easily, have confidence that their payment information is being handled appropriately and receive the service they’ve paid for.

For us, that’s what we’re trying to achieve when we talk about making security part of the design process, rather than something to consider once development is finished.

At Coral Starfish, we believe good technology should make life easier, not more complicated. Whether we’re introducing new features, improving existing workflows or making payments simpler, our focus remains the same: creating a secure, reliable experience that works for our customers. Because ultimately, the best technology is the kind that takes care of the complicated things behind the scenes, so you don’t have to.

“Collaboration is key to our success – each business we work with, a vital arm of our star.”

By using Coral Starfish we have the opportunity to quickly improve our own database by adding new profiles. It provides us very quick and detailed information instead of adding data one by one which is very time consuming. Coral Starfish is a great asset for Executive Search companies.

Amrop FI

Using Coral Starfish to manage the integration of people from LinkedIn to our recruiter database Invenias has been hugely positive. The time it takes to add people is twice as quick and so simple that it has made a significant impact to our efficiency and the way we work. We have now introduced it across our business of over 50 people.

Peridot