Integrate Saman Gateway for EDD
·
Saman Bank online payment gateway (SEP) integration for Easy Digital Downloads.
Saman Gateway (SEP) online payment gateway for Easy Digital Downloads.
Features include:
- Secure payment processing via Saman Payment (SEP)
- Automatic user redirection to bank gateway
- Transaction verification and amount validation
- Automatic transaction reversal on amount mismatch
- Protection against duplicate payments
- Support for both Iranian Rial and Toman
Security
The plugin includes several security measures to protect payment processing:
- Transaction amount validation during verification.
- Verification of the transaction reference number against the corresponding purchase.
- Protection against duplicate callback processing.
- Cryptographically secure transaction reference generation.
- Rate limiting on the payment callback endpoint.
- Validation of callback requests.
- Restricted logging of sensitive transaction data.
- Sensitive customer information is masked in logs.
- Automatic transaction reversal when verification detects an amount mismatch.
Configuration
After activating the plugin:
- Open the Easy Digital Downloads payment settings.
- Select the Saman (SEP) gateway.
- Enter the terminal number provided by Saman Bank.
- Enable the gateway.
- Make sure the server IP address used by your WordPress installation is registered with Saman Bank.
External services
Saman Electronic Payment (SEP) Integrates with Saman Electronic Payment (SEP) to process online payments.
Payment token, verification, and reversal requests are sent to: https://sep.shaparak.ir/
The plugin transmits the merchant terminal ID, order amount, reference number (ResNum), and return URL to request payment tokens, verify completed transactions, and perform automatic reversals. Customers enter card details securely on the bank’s hosted payment page.
