SenangPay icon

SenangPay

Generate SenangPay payment URL, query transaction, or manage recurring payments

Generate Recurring Payment URL

AI-generated

Overview

This node integrates with SenangPay to generate URLs for recurring payments. It allows users to create a secure payment URL for recurring transactions by providing details such as the recurring product ID, unique order ID, and optional customer information like name, email, and phone. This is useful for automating recurring billing processes and providing customers with easy access to their payment links. For example, a subscription service can use this node to generate payment URLs for monthly billing cycles.

Use Case Examples

  1. A subscription-based business generates a recurring payment URL for a customer to pay their monthly fee.
  2. An e-commerce platform automates the creation of recurring payment links for customers with installment plans.

Properties

Name Meaning
Recurring ID The recurring product ID from the SenangPay dashboard, identifying the recurring payment product.
Order ID A unique order identifier for the recurring payment to track the transaction.
Customer Name The name of the customer making the recurring payment (optional).
Customer Email The email address of the customer for the recurring payment (optional).
Customer Phone The phone number of the customer for the recurring payment (optional).

Output

JSON

  • recurringPaymentUrl - The generated URL for the recurring payment that the customer can use to complete the transaction.
  • qrLink - A QR code image URL representing the recurring payment URL for easy scanning and payment.
  • operation - The operation performed, which is 'generateRecurring' in this context.
  • recurring_id - The recurring product ID used in the payment URL.
  • order_id - The unique order identifier used in the payment URL.

Dependencies

  • SenangPay API credentials including merchant ID and secret key

Troubleshooting

  • Ensure the recurring_id and recurring_order_id are correctly provided and match those in the SenangPay dashboard to avoid invalid URL generation.
  • If the generated URL or QR code does not work, verify that the API credentials (merchant ID and secret key) are correct and correspond to the correct environment (sandbox or production).
  • Hash mismatches or invalid hash errors may occur if the secret key is incorrect or if the input parameters are altered after hash generation.

Links

Discussion