Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 31, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 31, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 31, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 31, 2025

      Windows 11 version 25H2: Everything you need to know about Microsoft’s next OS release

      May 31, 2025

      Elden Ring Nightreign already has a duos Seamless Co-op mod from the creator of the beloved original, and it’ll be “expanded on in the future”

      May 31, 2025

      I love Elden Ring Nightreign’s weirdest boss — he bargains with you, heals you, and throws tantrums if you ruin his meditation

      May 31, 2025

      How to install SteamOS on ROG Ally and Legion Go Windows gaming handhelds

      May 31, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Oracle Fusion new Product Management Landing Page and AI (25B)

      May 31, 2025
      Recent

      Oracle Fusion new Product Management Landing Page and AI (25B)

      May 31, 2025

      Filament Is Now Running Natively on Mobile

      May 31, 2025

      How Remix is shaking things up

      May 30, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Windows 11 version 25H2: Everything you need to know about Microsoft’s next OS release

      May 31, 2025
      Recent

      Windows 11 version 25H2: Everything you need to know about Microsoft’s next OS release

      May 31, 2025

      Elden Ring Nightreign already has a duos Seamless Co-op mod from the creator of the beloved original, and it’ll be “expanded on in the future”

      May 31, 2025

      I love Elden Ring Nightreign’s weirdest boss — he bargains with you, heals you, and throws tantrums if you ruin his meditation

      May 31, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Pay by Link: Revolutionizing Secure Payments for Businesses and Customers

    Pay by Link: Revolutionizing Secure Payments for Businesses and Customers

    July 27, 2024

    Payment Card Industry (PCI) compliance is a set of security standards established by the major payment providers like Visa and Mastercard. PCI Compliance is to store, retrieve, and transform card holder data securely during the payment process. Organizations that process payments using customers’ card data are required to comply with PCI standards.

    Compliance with PCI is mandatory for businesses that handle customer card data, and failure to comply can result in huge penalties, fines, damage to the organization reputation, negative impact on the stock value, facing legal proceedings.

    Pay by Link

    Pay by Link is one of the popular solutions available for organizations to mitigate all the above risks. With Pay by Link, organizations can accept payments using payment links. Using the Pay by Link, shoppers can pay / submit the payment information (card data) securely at their convenience. The link takes the shopper to a secure payment page where they can make payment with their preferred payment method. Most of the Pay by Link service providers support wide range of payment methods including, Visa, Master Card, Discover, American Express, Apple Pay, Google Pay, Samsung Pay, Alipay, PayPal, Venmo, Gift Card’s, ACH Direct Deposit etc.…

    Enabling Pay by Link in Call Center App

    Pay by Link is commonly used in call centers applications as a way of securely capturing customers’ payment details. The Call Center Associate generates a link and emails the link to the customer for them to complete the purchase. This removes the need to read card details over the phone, which is a payments security minefield. Pay By Link can be integrated with Chatbots to share a link to the customer.

    Configuring Pay By Link

    Organizations can define their own rules when they generate Pay by Link for their customers like, Logo, Pay with a single payment method, Link validity, currency, etc.…

    Organizations need to add terms and conditions before generating Pay by Link URL’s. Organizations can interact with Pay by link service providers sales team to do the initial setup and to create users with different roles. Once the account is setup in the System, users can login to their accounts to complete the setup.

    Example:

    Adyen supports both Test and Live accounts for users/admins to setup their accounts.

    Pay By Link’s can be generated in different ways like implementing API Integrations, logging to Customer Area, and generating links, or using iOS App.

    Link expiry and reusability

    By default, payment links expire after 24 hours. Organizations can extend the expiry of the payment link when the link gets created.

    After a shopper makes a successful payment, anyone accessing the same link will display a message “You have already paid”. For some use cases, for example when accepting donations, business might want to override the default behavior so that Organizations can give out the same link to multiple shoppers. Business can override the default payment link expiry and non-reusability when the link gets created.

    General Flow

    Pay by Link through the API

    Below is an example of Adyen Pay by Link process flow.

    Step 1: Create a payment link

    Make a POST /paymentLinks request specifying the following information:

    merchantAccount: the name of your merchant account.
    reference: your identifier for the transaction.
    amount: the currency and value in minor units.

    Sample Request

    String xApiKey = “YOUR_API_KEY”;

    Client client = new Client(xApiKey,Environment.TEST);

    var paymentLinks = new PaymentLinks(client);

    var createPaymentLinkRequest = new CreatePaymentLinkRequest();

    var amount = new Amount();

    amount.setCurrency(“EUR”);

    amount.setValue(4200L);

    createPaymentLinkRequest.setAmount(amount);

    createPaymentLinkRequest.setReference(“YOUR_PAYMENT_REFERENCE”);

    createPaymentLinkRequest.setShopperReference(“YOUR_SHOPPER_REFERENCE”);

    createPaymentLinkRequest.setDescription(“Blue Bag – ModelM671”);

    createPaymentLinkRequest.setCountryCode(“NL”);

    createPaymentLinkRequest.setMerchantAccount(“YOUR_MERCHANT_ACCOUNT”);

    createPaymentLinkRequest.setShopperLocale(“nl-NL”);

    var response = paymentLinks.create(createPaymentLinkRequest);

     

    Sample Response

    {

      “amount”: {

          “currency”: “EUR”,

          “value”: 4200

      },

      “countryCode”: “NL”,

      “description”: “Blue Bag – ModelM671”,

      “expiresAt”: “2020-07-25T11:32:20Z”,

      “id”: “PL50C5F751CED39G71”,

      “merchantAccount”: “YOUR_MERCHANT_ACCOUNT”,

      “reference”: “YOUR_PAYMENT_REFERENCE”,

      “shopperLocale”: “nl-NL”,

      “shopperReference”: “YOUR_SHOPPER_REFERENCE”,

      “url”: “https://test.adyen.link/PL50C5F751CED39G71”

    }

     

    Step 2: Retrieve the Pay by Link URL from the response object and send it back to the Call Center/Source Caller to display it on the Payment Screen. Automate the backend process to send payment link to the shopper using their preferred method.

    Ex: – Email, SMS, Chat, etc…

    Step 3: Implement listeners to listen to Adyen payment notifications and process the payment authorizations and payment confirmation updates.

     

    Process Refunds

    Adyen Pay by Link supports two different refund mechanisms.

    Referenced refund: Referenced refunds are connected to the original payment using the unique identifier of that payment. Adyen supports both full and partial refunds and below is the sample JSON message for full and partial refunds.

    Full Refund:

    {

        “SaleToPOIRequest”:{

            “MessageHeader”:{

                “ProtocolVersion”:”3.0″,

                “MessageClass”:”Service”,

                “MessageCategory”:”Reversal”,

                “MessageType”:”Request”,

                “SaleID”:”POSSystemID12345″,

                “ServiceID”:”0207111105″,

                “POIID”:”V400m-324688179″

            },

            “ReversalRequest”:{

                “OriginalPOITransaction”:{

                    “POITransactionID”:{

                        “TransactionID”:”BV0q001643892070000.VK9DRSLLRCQ2WN82″,

                        “TimeStamp”:”2022-01-31T12:08:45.004Z”

                    }

                },

                “ReversalReason”:”MerchantCancel”

            }

        }

    }

     

    Partial Refund:


    {

        “SaleToPOIRequest”:{

            “MessageHeader”:{

                “ProtocolVersion”:”3.0″,

                “MessageClass”:”Service”,

                “MessageCategory”:”Reversal”,

                “MessageType”:”Request”,

                “SaleID”:”POSSystemID12345″,

                “ServiceID”:”207111108″,

                “POIID”:”V400m-324688179″

            },

            “ReversalRequest”:{

                “OriginalPOITransaction”:{

                    “POITransactionID”:{

                        “TransactionID”:”BV0q001643892070000.VK9DRSLLRCQ2WN82″,

                        “TimeStamp”:”2022-01-31T12:08:45.004Z”

                    }

                },

                “ReversalReason”:”MerchantCancel”,

                “ReversedAmount”:6.00,

                “SaleData”:{

                    “SaleToAcquirerData”:”currency=EUR”,

                    “SaleTransactionID”:{

                        “TimeStamp”:”2022-02-03T15:04:14.004Z”,

                        “TransactionID”:”rev-708″

                    }

                }

            }

        }

    }

     

     

    Unreferenced refund: Unreferenced refunds let business return any amount to any card presented to the payment terminal. For example, business can issue a refund to someone who did not make the original payment, such as a gift recipient.

     

    In conclusion, Pay by Link is revolutionizing the way businesses and customers handle transactions. By offering a seamless, secure, and convenient payment option, it not only enhances the customer experience but also streamlines payment processes for businesses. Whether you are a small business looking to simplify your invoicing or a large enterprise aiming to enhance your payment systems, Pay by Link provides a versatile solution that adapts to your organization’s needs.

    As digital transactions continue to evolve, adopting innovative solutions like Pay by Link will keep your business ahead of the curve, ensuring that you meet the growing demands of convenience and security from your customers.

    Thank you for reading! Stay tuned for more insights and updates on the latest in digital payment solutions.

     

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleUnderstanding Azure OpenAI Parameters
    Next Article Jump On the Automotive Commerce Bandwagon with Order Management

    Related Posts

    Security

    New Linux Flaws Allow Password Hash Theft via Core Dumps in Ubuntu, RHEL, Fedora

    June 1, 2025
    Security

    Exploit details for max severity Cisco IOS XE flaw now public

    June 1, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    CodeSOD: Sdrawkcab Error Handling

    Development

    OpenSilver 3.0 adds AI-assisted UI designer

    Development

    CVE-2025-46759 – Apache HTTP Server Cross-Site Request Forgery

    Common Vulnerabilities and Exposures (CVEs)

    How Linux is Revolutionizing Education with Open Source Learning

    Development

    Highlights

    CLI Experiments : Prong (Part 1)

    July 2, 2024

    Let’s make a game! We’ll combine all of our newfound skills to build Prong (Prompts…

    Microsoft, Xbox secure victory in FTC appeal, cementing $69b Activision Blizzard deal

    May 8, 2025

    CVE-2020-36844 – KnowBe4 Security Awareness Training Reflective Cross-Site Scripting

    April 20, 2025

    MuPT: A Series of Pre-Trained AI Models for Symbolic Music Generation that Sets the Standard for Training Open-Source Symbolic Music Foundation Models

    April 21, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.