Add Activepieces integration for workflow automation
- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"extends": ["../../../../.eslintrc.json"],
|
||||
"ignorePatterns": ["!**/*"],
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": ["*.ts", "*.tsx"],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": ["*.js", "*.jsx"],
|
||||
"rules": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
# pieces-checkout
|
||||
|
||||
This library was generated with [Nx](https://nx.dev).
|
||||
|
||||
## Building
|
||||
|
||||
Run `nx build pieces-checkout` to build the library.
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "@activepieces/piece-checkout",
|
||||
"version": "0.0.6",
|
||||
"type": "commonjs",
|
||||
"main": "./src/index.js",
|
||||
"types": "./src/index.d.ts",
|
||||
"dependencies": {
|
||||
"tslib": "^2.3.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"name": "pieces-checkout",
|
||||
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "packages/pieces/community/checkout/src",
|
||||
"projectType": "library",
|
||||
"release": {
|
||||
"version": {
|
||||
"manifestRootsToUpdate": [
|
||||
"dist/{projectRoot}"
|
||||
],
|
||||
"currentVersionResolver": "git-tag",
|
||||
"fallbackCurrentVersionResolver": "disk"
|
||||
}
|
||||
},
|
||||
"tags": [],
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@nx/js:tsc",
|
||||
"outputs": [
|
||||
"{options.outputPath}"
|
||||
],
|
||||
"options": {
|
||||
"outputPath": "dist/packages/pieces/community/checkout",
|
||||
"tsConfig": "packages/pieces/community/checkout/tsconfig.lib.json",
|
||||
"packageJson": "packages/pieces/community/checkout/package.json",
|
||||
"main": "packages/pieces/community/checkout/src/index.ts",
|
||||
"assets": [
|
||||
"packages/pieces/community/checkout/*.md",
|
||||
{
|
||||
"input": "packages/pieces/community/checkout/src/i18n",
|
||||
"output": "./src/i18n",
|
||||
"glob": "**/!(i18n.json)"
|
||||
}
|
||||
],
|
||||
"buildableProjectDepsInPackageJsonType": "dependencies",
|
||||
"updateBuildableProjectDepsInPackageJson": true
|
||||
},
|
||||
"dependsOn": [
|
||||
"^build",
|
||||
"prebuild"
|
||||
]
|
||||
},
|
||||
"nx-release-publish": {
|
||||
"options": {
|
||||
"packageRoot": "dist/{projectRoot}"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint",
|
||||
"outputs": [
|
||||
"{options.outputFile}"
|
||||
]
|
||||
},
|
||||
"prebuild": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"cwd": "packages/pieces/community/checkout",
|
||||
"command": "bun install --no-save --silent"
|
||||
},
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,276 @@
|
||||
{
|
||||
"Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.": "Der geheime Checkout.com Schlüssel kann mit dem Sandbox-Schlüssel (sk_sbox_...) getestet werden (sk_sbox_...) ... Sie finden es im Checkout.com Dashboard unter Entwickler > API-Schlüssel.",
|
||||
"Create Customer": "Kunde erstellen",
|
||||
"Update Customer": "Kunde aktualisieren",
|
||||
"Create Payment Link": "Zahlungslink erstellen",
|
||||
"Create Payment": "Zahlung erstellen",
|
||||
"Refund a Payment": "Zahlung zurückerstatten",
|
||||
"Get Payment Details": "Zahlungsdetails abrufen",
|
||||
"Get Payment Actions": "Zahlungsvorgänge abrufen",
|
||||
"Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.": "Speichern Sie die Kundendaten in einem Kundenobjekt zur Wiederverwendung in zukünftigen Zahlungen. Sie können Zahlungsinstrumente verknüpfen und ein Standardinstrument festlegen.",
|
||||
"Update existing customer or their metadata.": "Aktualisieren Sie bestehende Kunden oder ihre Metadaten.",
|
||||
"Create a Payment Link to accept and process payment details.": "Erstellen Sie einen Zahlungslink, um Zahlungsdetails zu akzeptieren und zu verarbeiten.",
|
||||
"Process and manage payments from various sources including card payments and payouts.": "Zahlungen aus verschiedenen Quellen verarbeiten und verwalten, einschließlich Kartenzahlungen und Auszahlungen.",
|
||||
"Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.": "Erteilung einer Rückerstattung (vollständig oder teilweise) für eine erfasste Zahlung. Unterstützt geteilte Rückerstattungen, Leitungen und Zielorte des Bankkontos.",
|
||||
"Check transaction amount and status before refunding.": "Überweisungsbetrag und Status vor der Rückerstattung überprüfen.",
|
||||
"Build full transaction lifecycles for audit logs.": "Erstellen Sie komplette Transaktionslebenszyklen für Audit-Protokolle.",
|
||||
"Email": "E-Mail",
|
||||
"Name": "Name",
|
||||
"Phone Country Code": "Telefonlandvorwahl",
|
||||
"Phone Number": "Telefonnummer",
|
||||
"Metadata": "Metadaten",
|
||||
"Default Instrument ID": "Standard-Instrument-ID",
|
||||
"Customer ID": "Kunden-ID",
|
||||
"Amount": "Betrag",
|
||||
"Currency": "Währung",
|
||||
"Reference": "Referenz",
|
||||
"Description": "Beschreibung",
|
||||
"Billing Country": "Rechnungsland",
|
||||
"Billing Address Line 1": "Rechnungsadresse: Zeile 1",
|
||||
"Billing Address Line 2": "Rechnungsadresse: Zeile 2",
|
||||
"Billing City": "Rechnungsort",
|
||||
"Billing State": "Rechnungsstatus",
|
||||
"Billing ZIP": "Rechnung ZIP",
|
||||
"Billing Phone Country Code": "Abrechnung Telefon Ländercode",
|
||||
"Billing Phone Number": "Rechnungsnummer",
|
||||
"Customer Email": "Kunden-E-Mail",
|
||||
"Customer Name": "Kundenname",
|
||||
"Customer Phone Country Code": "Kunden-Telefon-Ländercode",
|
||||
"Customer Phone Number": "Kunden-Telefon",
|
||||
"Expires In (seconds)": "Läuft ab in (Sekunden)",
|
||||
"Display Name": "Anzeigename",
|
||||
"Return URL": "Retouren-URL",
|
||||
"Locale": "Lokal",
|
||||
"Allow Payment Methods": "Zahlungsmethoden erlauben",
|
||||
"Disabled Payment Methods": "Deaktivierte Zahlungsmethoden",
|
||||
"Products": "Produkte",
|
||||
"Shipping Country": "Versandland",
|
||||
"Shipping Address Line 1": "Lieferadresse Zeile 1",
|
||||
"Shipping Address Line 2": "Lieferadresse Zeile 2",
|
||||
"Shipping City": "Versandort",
|
||||
"Shipping State": "Versandstatus",
|
||||
"Shipping ZIP": "Versandpost",
|
||||
"Payment Type": "Zahlungsart",
|
||||
"Processing Channel ID": "Verarbeite Kanal-ID",
|
||||
"Capture Payment": "Zahlung erfassen",
|
||||
"Enable 3D Secure": "3D Secure aktivieren",
|
||||
"3DS Challenge Preference": "3DS Challenge Präferenz",
|
||||
"Payment Source Type": "Zahlungsquellentyp",
|
||||
"Card Number": "Kartennummer",
|
||||
"Expiry Month": "Ablaufmonat",
|
||||
"Expiry Year": "Gültigkeitsjahr",
|
||||
"CVV": "CVV",
|
||||
"Cardholder Name": "Name des Karteninhabers",
|
||||
"Token ID": "Token ID",
|
||||
"Instrument ID": "Instrument ID",
|
||||
"Account Holder First Name": "Vorname des Kontoinhabers",
|
||||
"Account Holder Last Name": "Nachname des Kontoinhabers",
|
||||
"Account Holder Middle Name": "Mittlerer Name des Kontoinhabers",
|
||||
"Shipping First Name": "Versandvorname",
|
||||
"Shipping Last Name": "Nachname Versand",
|
||||
"Shipping Email": "Versand E-Mail",
|
||||
"Authorization Type": "Autorisierungstyp",
|
||||
"Allow 3DS Upgrade": "3DS Upgrade erlauben",
|
||||
"Enable Risk Assessment": "Risikobewertung aktivieren",
|
||||
"Customer IP Address": "Kunden-IP-Adresse",
|
||||
"Previous Payment ID": "Vorherige Zahlungs-ID",
|
||||
"Success URL": "Erfolgs-URL",
|
||||
"Failure URL": "Fehler-URL",
|
||||
"Payment ID": "Zahlungs-ID",
|
||||
"Refund Amount": "Erstattungsbetrag",
|
||||
"Refund Reference": "Referenz erstatten",
|
||||
"Capture Action ID": "Aktion-ID erfassen",
|
||||
"Amount Allocations": "Anzahl Allokationen",
|
||||
"Line Items": "Zeilenelemente",
|
||||
"Destination Country": "Zielland",
|
||||
"Account Number": "Kundennummer",
|
||||
"Bank Code": "Bank Code",
|
||||
"IBAN": "IBAN",
|
||||
"SWIFT BIC": "SWIFT BIC",
|
||||
"Account Holder Type": "Kontoinhaber Typ",
|
||||
"Company Name": "Firmenname",
|
||||
"Account Holder Email": "Account-Inhaber E-Mail",
|
||||
"Address Line 1": "Adresszeile 1",
|
||||
"Address Line 2": "Adresszeile 2",
|
||||
"City": "Stadt",
|
||||
"State": "Bundesland",
|
||||
"ZIP Code": "Postleitzahl",
|
||||
"Country": "Land",
|
||||
"Bank Name": "Bankname",
|
||||
"Bank Branch": "Bankzweig",
|
||||
"Bank Address Line 1": "Bankadresse Zeile 1",
|
||||
"Bank Address Line 2": "Bankadresse Zeile 2",
|
||||
"Bank City": "Bank Stadt",
|
||||
"Bank Country": "Land der Bank",
|
||||
"The customer's email address": "Die E-Mail-Adresse des Kunden",
|
||||
"The customer's name": "Name des Kunden",
|
||||
"The international country calling code (e.g., +1, +44). Required if phone number is provided.": "Die internationale Ländernummer (z.B. +1, +44). Benötigt wenn eine Telefonnummer angegeben ist.",
|
||||
"The phone number (6-25 characters). Required if country code is provided.": "Die Telefonnummer (6-25 Zeichen). Benötigt wenn Landesvorwahl angegeben wird.",
|
||||
"Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.": "Zusätzliche Informationen über den Kunden. Maximal 10 Schlüssel-Wert-Paare, jeweils bis zu 100 Zeichen.",
|
||||
"The ID of the payment instrument to set as this customer's default": "Die ID des Zahlungsinstruments, das als Standard dieses Kunden festgelegt werden soll",
|
||||
"The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "Die ID des zu aktualisierenden Kunden (z.B. cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"Additional information about the customer. Will replace any existing metadata.": "Zusätzliche Informationen über den Kunden. Ersetzt alle vorhandenen Metadaten.",
|
||||
"The ID of this customer's default instrument": "Die ID des Standardgeräts dieses Kunden",
|
||||
"The payment amount in minor units (e.g., cents for USD)": "Der Zahlungsbetrag in kleinen Einheiten (z. B. Cent für USD)",
|
||||
"The three-letter ISO currency code (e.g., USD, EUR)": "Der ISO-Währungscode mit drei Buchstaben (z.B. USD, EUR)",
|
||||
"A reference to identify the payment (e.g., order number)": "Eine Referenz zur Identifizierung der Zahlung (z. B. Bestellnummer)",
|
||||
"A description of the payment": "Eine Beschreibung der Zahlung",
|
||||
"The two-letter ISO country code (e.g., US, GB)": "Der ISO-Ländercode mit zwei Buchstaben (z. B. USA, GB)",
|
||||
"The first line of the billing address": "Die erste Zeile der Rechnungsadresse",
|
||||
"The second line of the billing address": "Die zweite Zeile der Rechnungsadresse",
|
||||
"The billing address city": "Die Rechnungsadresse: Stadt",
|
||||
"The state or province (ISO 3166-2 code)": "Staat oder Provinz (ISO 3166-2 Code)",
|
||||
"The billing address zip or postal code": "Die Rechnungsadresse Postleitzahl oder Postleitzahl",
|
||||
"The international country calling code (e.g., +1)": "Der internationale Rufcode (z.B. +1)",
|
||||
"The phone number (6-25 characters)": "Die Telefonnummer (6-25 Zeichen)",
|
||||
"The customer's phone number": "Telefonnummer des Kunden",
|
||||
"Time for which the link remains valid (default: 86400)": "Zeit für die der Link gültig bleibt (Standard: 86400)",
|
||||
"The merchant name to display to customers on the checkout page": "Der Händlername für Kunden auf der Kassenseite",
|
||||
"URL to redirect customer after successful payment": "URL zur Weiterleitung nach erfolgreicher Zahlung",
|
||||
"Language and region for the payment page": "Sprache und Region für die Zahlungsseite",
|
||||
"Specific payment methods to present to customers": "Spezifische Zahlungsmethoden, die den Kunden präsentiert werden sollen",
|
||||
"Payment methods to NOT present to customers": "Zahlungsmethoden, die Kunden NICHT zur Verfügung stehen",
|
||||
"Details about the products in the order": "Details zu den Produkten in der Bestellung",
|
||||
"The two-letter ISO country code for shipping": "Der zweistellige ISO-Ländercode für den Versand",
|
||||
"The first line of the shipping address": "Die erste Zeile der Lieferadresse",
|
||||
"The second line of the shipping address": "Die zweite Zeile der Lieferadresse",
|
||||
"The shipping address city": "Die Lieferadresse Stadt",
|
||||
"The state or province for shipping": "Der Staat oder die Provinz für den Versand",
|
||||
"The shipping address zip or postal code": "Die Lieferadresse Postleitzahl oder Postleitzahl",
|
||||
"Type of payment for card transactions": "Zahlungsart für Kartentransaktionen",
|
||||
"The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx": "Der Verarbeitungskanal, der für die Zahlung verwendet werden soll. Finden Sie dies in Ihrem Checkout.com-Dashboard unter Einstellungen > Verarbeitungskanäle. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"Whether to capture the payment immediately": "Ob die Zahlung sofort erfasst werden soll",
|
||||
"Whether to process as 3D Secure payment": "Ob als 3D Secure Zahlung verarbeitet werden soll",
|
||||
"Preference for 3DS challenge": "Präferenz für 3DS Challenge",
|
||||
"Additional key-value pairs for transaction information": "Zusätzliche Schlüssel-Wert-Paare für Transaktionsinformationen",
|
||||
"The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.": "Der Zahlungsbetrag in kleinen Einheiten (z.B. Cent für USD). Verwenden Sie 0 für die Kartenprüfung.",
|
||||
"Your reference for the payment (e.g., order number)": "Ihre Referenz für die Zahlung (z. B. Bestellnummer)",
|
||||
"The type of payment source": "Die Art der Zahlungsquelle",
|
||||
"The card number (without separators). Required for card payments.": "Die Kartennummer (ohne Trennzeichen). Benötigt für Kartenzahlungen.",
|
||||
"The expiry month of the card (1-12)": "Der Ablaufmonat der Karte (1-12)",
|
||||
"The expiry year of the card (4 digits)": "Das Ablaufjahr der Karte (4 Ziffern)",
|
||||
"The card verification code (3-4 digits)": "Der Kartenprüfcode (3-4 Ziffern)",
|
||||
"The name of the cardholder": "Der Name des Karteninhabers",
|
||||
"The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "Die Kunden-ID (für Kundenquell-Typ, z. B. cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"The token ID (for token source type)": "Die Token-ID (für Token-Quelltyp)",
|
||||
"The instrument ID (for instrument source type)": "Die Instrumentenkennung (für Instrumententyp)",
|
||||
"The billing city": "Die Rechnungsstadt",
|
||||
"The billing state or province": "Der Rechnungsstaat oder Provinz",
|
||||
"The billing ZIP or postal code": "Die Rechnungspoststelle oder Postleitzahl",
|
||||
"The two-letter ISO country code": "Der zweistellige ISO-Ländercode",
|
||||
"The first name of the account holder": "Der Vorname des Kontoinhabers",
|
||||
"The last name of the account holder": "Nachname des Kontoinhabers",
|
||||
"The middle name of the account holder": "Der mittlere Name des Kontoinhabers",
|
||||
"The international country calling code": "Der internationale Rufcode",
|
||||
"The first name for shipping": "Der Vorname für den Versand",
|
||||
"The last name for shipping": "Nachname für den Versand",
|
||||
"The email for shipping notifications": "Die E-Mail für Versandbenachrichtigungen",
|
||||
"The shipping city": "Die Schifffahrtsstadt",
|
||||
"The shipping state or province": "Der Versandstaat oder Provinz",
|
||||
"The shipping ZIP or postal code": "Die Versandpost oder Postleitzahl",
|
||||
"The type of payment": "Die Art der Zahlung",
|
||||
"The type of authorization": "Der Typ der Autorisierung",
|
||||
"Process as 3DS if soft declined due to 3DS authentication required": "Als 3DS verarbeiten, falls weich wegen 3DS-Authentifizierung abgelehnt wurde",
|
||||
"Whether to perform risk assessment": "Ob Risikobewertung durchgeführt werden soll",
|
||||
"The customer's IP address (IPv4 or IPv6)": "Die IP-Adresse des Kunden (IPv4 oder IPv6)",
|
||||
"The processing channel to use for the payment": "Der Verarbeitungskanal für die Zahlung",
|
||||
"Link to existing payment series (for recurring payments)": "Link zur bestehenden Zahlungsserie (für wiederkehrende Zahlungen)",
|
||||
"Success redirect URL for redirect payment methods": "Erfolgreiche Umleitungs-URL für Umleitungsmethoden",
|
||||
"Failure redirect URL for redirect payment methods": "Weiterleitungs-URL für Umleitungsmethoden fehlgeschlagen",
|
||||
"A reference, such as an order ID, that can be used to identify the payment": "Eine Referenz, wie eine Bestell-ID, die zur Identifizierung der Zahlung verwendet werden kann",
|
||||
"Select the payment to refund": "Wählen Sie die zu erstattende Zahlung aus",
|
||||
"The amount to refund in minor units. If not specified, full payment amount will be refunded.": "Der zu erstattende Betrag in kleineren Einheiten. Wenn nicht angegeben, wird der volle Betrag zurückerstattet.",
|
||||
"Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)": "Ihre Referenz für die Rückerstattung (max. 80 Zeichen, 30 für Amex, 50 für TWINT)",
|
||||
"The action ID of the capture to refund (only for PayPal and Riverty)": "Die Aktions-ID der Erstattung (nur für PayPal und Fluss)",
|
||||
"Split refund allocations for sub-entities": "Erstattungszuweisungen für Untereinheiten aufteilen",
|
||||
"Order line items for the refund": "Bestellen Sie Artikel für die Rückerstattung",
|
||||
"Two-letter ISO country code for bank account (required for giropay/EPS)": "ISO-Ländercode mit zwei Buchstaben für Bankkonto (erforderlich für giropay/EPS)",
|
||||
"The bank account number": "Die Kontonummer",
|
||||
"The code that identifies the bank": "Der Code, der die Bank identifiziert",
|
||||
"International Bank Account Number": "Internationale Kontonummer",
|
||||
"8 or 11-digit code identifying the bank": "8-stelliger Code, der die Bank kennzeichnet",
|
||||
"The account holder's first name": "Vorname des Kontoinhabers",
|
||||
"The account holder's last name": "Nachname des Kontoinhabers",
|
||||
"The type of account holder": "Die Art des Kontoinhabers",
|
||||
"Company name for corporate account holders": "Firmenname für Firmenkontoinhaber",
|
||||
"The account holder's email address": "E-Mail-Adresse des Kontoinhabers",
|
||||
"International country calling code": "International Land Rufnummer",
|
||||
"The account holder's phone number": "Telefonnummer des Kontoinhabers",
|
||||
"First line of the account holder's address": "Erste Zeile der Adresse des Kontoinhabers",
|
||||
"Second line of the account holder's address": "Zweite Zeile der Adresse des Kontoinhabers",
|
||||
"Account holder's city": "Stadt des Kontoinhabers",
|
||||
"Account holder's state or province": "Bundesstaat oder Provinz des Kontoinhabers",
|
||||
"Account holder's ZIP or postal code": "Postleitzahl oder Postleitzahl des Kontoinhabers",
|
||||
"Two-letter ISO country code": "ISO-Ländercode mit zwei Buchstaben",
|
||||
"The name of the bank": "Der Name der Bank",
|
||||
"The name of the bank branch": "Der Name der Bankzweig",
|
||||
"First line of the bank's address": "Erste Zeile der Adresse der Bank",
|
||||
"Second line of the bank's address": "Zweite Zeile der Adresse der Bank",
|
||||
"The bank's city": "Die Stadt der Bank",
|
||||
"Two-letter ISO country code for the bank": "ISO-Ländercode für die Bank mit zwei Buchstaben",
|
||||
"Additional key-value pairs for the refund request": "Zusätzliche Schlüssel-Value-Paare für die Erstattungsanfrage",
|
||||
"Select the payment to get details for": "Wählen Sie die Zahlung aus, um Details zu erhalten",
|
||||
"Select the payment to get actions for": "Wählen Sie die Zahlung aus, um Aktionen zu erhalten für",
|
||||
"English (GB)": "Englisch (GB)",
|
||||
"Arabic": "Arabisch",
|
||||
"Danish (Denmark)": "Dänisch (Dänemark)",
|
||||
"German (Germany)": "Deutsch (Deutschland)",
|
||||
"Greek": "Griechisch",
|
||||
"Spanish (Spain)": "Spanisch (Spanien)",
|
||||
"Finnish (Finland)": "Finnisch (Finnland)",
|
||||
"Filipino (Philippines)": "Filipino (Philippines)",
|
||||
"French (France)": "Französisch (Frankreich)",
|
||||
"Hindi (India)": "Hindi (Indien)",
|
||||
"Indonesian (Indonesia)": "Indonesisch (Indonesien)",
|
||||
"Italian (Italy)": "Italienisch (Italien)",
|
||||
"Japanese (Japan)": "Japanisch (Japan)",
|
||||
"Malay (Malaysia)": "Malaiisch (Malaysia)",
|
||||
"Norwegian (Norway)": "Norwegisch (Norwegen)",
|
||||
"Dutch (Netherlands)": "Niederländisch (Niederlande)",
|
||||
"Portuguese (Portugal)": "Portugiesisch (Portugal)",
|
||||
"Swedish (Sweden)": "Schwedisch (Schweden)",
|
||||
"Thai (Thailand)": "Thailändisch (Thailand)",
|
||||
"Vietnamese (Vietnam)": "Vietnamese (Vietnam)",
|
||||
"Chinese (China)": "Chinesisch (China)",
|
||||
"Chinese (Hong Kong)": "Chinesisch (Hong Kong)",
|
||||
"Chinese (Taiwan)": "Chinesisch (Taiwan)",
|
||||
"Card": "Karte",
|
||||
"PayPal": "PayPal",
|
||||
"Apple Pay": "Apfelzins",
|
||||
"Google Pay": "Google Pay",
|
||||
"Klarna": "Klarna",
|
||||
"Alipay CN": "Alipay CN",
|
||||
"Bancontact": "Sperrung",
|
||||
"iDEAL": "iDEAL",
|
||||
"SEPA": "SEPA",
|
||||
"Benefit": "Nutzen",
|
||||
"KNet": "KNet",
|
||||
"STC Pay": "STC Bezahlung",
|
||||
"Tabby": "Tabby",
|
||||
"Tamara": "Tamara",
|
||||
"Regular": "Normal",
|
||||
"Recurring": "Wiederkehrende",
|
||||
"No Preference": "Keine Präferenz",
|
||||
"No Challenge Requested": "Keine Challenge angefordert",
|
||||
"Challenge Requested": "Challenge angefordert",
|
||||
"Card Payment": "Kartenzahlung",
|
||||
"Token": "Token",
|
||||
"Instrument": "Instrument",
|
||||
"MOTO (Mail Order/Telephone Order)": "MOTO (Mail Bestellung/Telefonbestellung)",
|
||||
"Installment": "Rate",
|
||||
"Pay Later": "Später bezahlen",
|
||||
"Unscheduled": "Ungeplant",
|
||||
"Final": "Finale",
|
||||
"Estimated": "Geschätzt",
|
||||
"Challenge Requested Mandate": "Anforderungsaufgabe herausfordern",
|
||||
"Individual": "Individuell",
|
||||
"Corporate": "Unternehmen",
|
||||
"Government": "Regierung",
|
||||
"Payment Events": "Zahlungsvorgänge",
|
||||
"Dispute Events": "Streitfälle",
|
||||
"Trigger order fulfillment when payment is approved.": "Auslösen der Bestellung, wenn die Zahlung genehmigt ist.",
|
||||
"Notify operations upon dispute opening or resolution.": "Benachrichtigen Sie Operationen bei der Eröffnung oder Beilegung von Streitigkeiten.",
|
||||
"Event Types": "Ereignistypen",
|
||||
"Select the payment events you want to listen for": "Wählen Sie die Zahlungsereignisse aus, die Sie hören möchten",
|
||||
"Select the dispute events you want to listen for": "Wählen Sie die Ereignisse aus, die Sie hören möchten"
|
||||
}
|
||||
@@ -0,0 +1,276 @@
|
||||
{
|
||||
"Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.": "Su clave secreta de Checkout.com. Use la clave sandbox (sk_sbox_...) para probar o producir clave (sk_... para transacciones en vivo. Puedes encontrarlo en el panel de control de Checkout.com bajo Desarrolladores > Claves API.",
|
||||
"Create Customer": "Crear cliente",
|
||||
"Update Customer": "Actualizar cliente",
|
||||
"Create Payment Link": "Crear enlace de pago",
|
||||
"Create Payment": "Crear Pago",
|
||||
"Refund a Payment": "Reembolsar un pago",
|
||||
"Get Payment Details": "Obtener detalles de pago",
|
||||
"Get Payment Actions": "Obtener acciones de pago",
|
||||
"Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.": "Almacena los detalles de un cliente en un objeto de cliente para reutilizar en pagos futuros. Puedes vincular instrumentos de pago y establecer un instrumento predeterminado.",
|
||||
"Update existing customer or their metadata.": "Actualizar el cliente existente o sus metadatas.",
|
||||
"Create a Payment Link to accept and process payment details.": "Crear un enlace de pago para aceptar y procesar los detalles de pago.",
|
||||
"Process and manage payments from various sources including card payments and payouts.": "Procesar y administrar pagos de diversas fuentes, incluyendo pagos con tarjetas y pagos.",
|
||||
"Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.": "Emitir un reembolso (total o parcial) para un pago capturado. Soporta reembolsos divididos, artículos de línea y destinos de cuenta bancaria.",
|
||||
"Check transaction amount and status before refunding.": "Compruebe el importe y estado de la transacción antes de reembolsar.",
|
||||
"Build full transaction lifecycles for audit logs.": "Construye ciclos de vida de transacciones completos para los registros de auditoría.",
|
||||
"Email": "E-mail",
|
||||
"Name": "Nombre",
|
||||
"Phone Country Code": "Código de país de teléfono",
|
||||
"Phone Number": "Número de teléfono",
|
||||
"Metadata": "Metadatos",
|
||||
"Default Instrument ID": "ID de Instrument por Defecto",
|
||||
"Customer ID": "ID del cliente",
|
||||
"Amount": "Cantidad",
|
||||
"Currency": "Moneda",
|
||||
"Reference": "Referencia",
|
||||
"Description": "Descripción",
|
||||
"Billing Country": "País de facturación",
|
||||
"Billing Address Line 1": "Línea 1 de dirección de facturación",
|
||||
"Billing Address Line 2": "Línea de dirección de facturación 2",
|
||||
"Billing City": "Ciudad de facturación",
|
||||
"Billing State": "Estado de facturación",
|
||||
"Billing ZIP": "ZIP de facturación",
|
||||
"Billing Phone Country Code": "Código del país del teléfono de facturación",
|
||||
"Billing Phone Number": "Número de teléfono de facturación",
|
||||
"Customer Email": "Email del cliente",
|
||||
"Customer Name": "Nombre del cliente",
|
||||
"Customer Phone Country Code": "Código de país del teléfono del cliente",
|
||||
"Customer Phone Number": "Número de teléfono del cliente",
|
||||
"Expires In (seconds)": "Caduca en (segundos)",
|
||||
"Display Name": "Mostrar nombre",
|
||||
"Return URL": "URL de retorno",
|
||||
"Locale": "Local",
|
||||
"Allow Payment Methods": "Permitir métodos de pago",
|
||||
"Disabled Payment Methods": "Métodos de pago desactivados",
|
||||
"Products": "Productos",
|
||||
"Shipping Country": "País de envío",
|
||||
"Shipping Address Line 1": "Línea 1 de dirección de envío",
|
||||
"Shipping Address Line 2": "Línea de dirección de envío 2",
|
||||
"Shipping City": "Ciudad de envío",
|
||||
"Shipping State": "Estado de envío",
|
||||
"Shipping ZIP": "ZIP de envío",
|
||||
"Payment Type": "Tipo de pago",
|
||||
"Processing Channel ID": "Procesando ID del canal",
|
||||
"Capture Payment": "Capturar pago",
|
||||
"Enable 3D Secure": "Habilitar 3D Secure",
|
||||
"3DS Challenge Preference": "Preferencia del Desafío 3DS",
|
||||
"Payment Source Type": "Tipo de fuente de pago",
|
||||
"Card Number": "Número de tarjeta",
|
||||
"Expiry Month": "Mes de caducidad",
|
||||
"Expiry Year": "Año de caducidad",
|
||||
"CVV": "CVV",
|
||||
"Cardholder Name": "Nombre del titular",
|
||||
"Token ID": "Token ID",
|
||||
"Instrument ID": "ID de Instrumento",
|
||||
"Account Holder First Name": "Nombre del titular de la cuenta",
|
||||
"Account Holder Last Name": "Apellido del titular de la cuenta",
|
||||
"Account Holder Middle Name": "Nombre central del titular de la cuenta",
|
||||
"Shipping First Name": "Nombre del envío",
|
||||
"Shipping Last Name": "Apellido de envío",
|
||||
"Shipping Email": "Correo de envío",
|
||||
"Authorization Type": "Tipo de autorización",
|
||||
"Allow 3DS Upgrade": "Permitir actualización de 3DS",
|
||||
"Enable Risk Assessment": "Activar Evaluación de Riesgo",
|
||||
"Customer IP Address": "Dirección IP del cliente",
|
||||
"Previous Payment ID": "ID de pago anterior",
|
||||
"Success URL": "URL de éxito",
|
||||
"Failure URL": "Fallo URL",
|
||||
"Payment ID": "ID de pago",
|
||||
"Refund Amount": "Importe del reembolso",
|
||||
"Refund Reference": "Reembolso de referencia",
|
||||
"Capture Action ID": "Capturar ID de acción",
|
||||
"Amount Allocations": "Cantidad de asignaciones",
|
||||
"Line Items": "Ítems de línea",
|
||||
"Destination Country": "País de destino",
|
||||
"Account Number": "Número de cuenta",
|
||||
"Bank Code": "Código bancario",
|
||||
"IBAN": "IBAN",
|
||||
"SWIFT BIC": "BIC SWIFT",
|
||||
"Account Holder Type": "Tipo de titular de cuenta",
|
||||
"Company Name": "Nombre De La Empresa",
|
||||
"Account Holder Email": "Correo del titular de la cuenta",
|
||||
"Address Line 1": "Dirección línea 1",
|
||||
"Address Line 2": "Dirección línea 2",
|
||||
"City": "Ciudad",
|
||||
"State": "Estado",
|
||||
"ZIP Code": "Código postal",
|
||||
"Country": "País",
|
||||
"Bank Name": "Nombre del Banco",
|
||||
"Bank Branch": "Rama bancaria",
|
||||
"Bank Address Line 1": "Línea 1 de dirección bancaria",
|
||||
"Bank Address Line 2": "Línea de dirección bancaria 2",
|
||||
"Bank City": "Ciudad bancaria",
|
||||
"Bank Country": "País bancario",
|
||||
"The customer's email address": "La dirección de correo electrónico del cliente",
|
||||
"The customer's name": "Nombre del cliente",
|
||||
"The international country calling code (e.g., +1, +44). Required if phone number is provided.": "El código de llamada del país internacional (por ej., +1, +44). Necesario si el número de teléfono es proporcionado.",
|
||||
"The phone number (6-25 characters). Required if country code is provided.": "El número de teléfono (entre 6 y 25 caracteres). Requerido si el código de país es proporcionado.",
|
||||
"Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.": "Información adicional sobre el cliente. Máximo 10 pares clave-valor, cada uno de hasta 100 caracteres.",
|
||||
"The ID of the payment instrument to set as this customer's default": "El ID del instrumento de pago a establecer como predeterminado de este cliente",
|
||||
"The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "El ID del cliente a actualizar (por ejemplo, cus_y3oqhf46pyzuxjocn2giaqgreen44)",
|
||||
"Additional information about the customer. Will replace any existing metadata.": "Información adicional sobre el cliente. Reemplazará cualquier metadata existente.",
|
||||
"The ID of this customer's default instrument": "El ID del instrumento por defecto de este cliente",
|
||||
"The payment amount in minor units (e.g., cents for USD)": "El importe del pago en unidades menores (por ejemplo, centavos por USD)",
|
||||
"The three-letter ISO currency code (e.g., USD, EUR)": "El código de moneda ISO de tres letras (por ejemplo, USD, EUR)",
|
||||
"A reference to identify the payment (e.g., order number)": "Una referencia para identificar el pago (por ejemplo, número de pedido)",
|
||||
"A description of the payment": "Una descripción del pago",
|
||||
"The two-letter ISO country code (e.g., US, GB)": "El código ISO de dos letras (por ejemplo, EE.UU., GB)",
|
||||
"The first line of the billing address": "La primera línea de la dirección de facturación",
|
||||
"The second line of the billing address": "La segunda línea de la dirección de facturación",
|
||||
"The billing address city": "Ciudad de la dirección de facturación",
|
||||
"The state or province (ISO 3166-2 code)": "El estado o provincia (código ISO 3166-2)",
|
||||
"The billing address zip or postal code": "La dirección de facturación zip o código postal",
|
||||
"The international country calling code (e.g., +1)": "El código de llamada del país internacional (por ej., +1)",
|
||||
"The phone number (6-25 characters)": "El número de teléfono (entre 6 y 25 caracteres)",
|
||||
"The customer's phone number": "El número de teléfono del cliente",
|
||||
"Time for which the link remains valid (default: 86400)": "Tiempo para el cual el enlace sigue siendo válido (por defecto: 86400)",
|
||||
"The merchant name to display to customers on the checkout page": "El nombre del comerciante a mostrar a los clientes en la página de pago",
|
||||
"URL to redirect customer after successful payment": "URL para redirigir al cliente después del pago exitoso",
|
||||
"Language and region for the payment page": "Idioma y región para la página de pago",
|
||||
"Specific payment methods to present to customers": "Métodos de pago específicos para presentar a los clientes",
|
||||
"Payment methods to NOT present to customers": "Métodos de pago para NO presentar a los clientes",
|
||||
"Details about the products in the order": "Detalles sobre los productos en el pedido",
|
||||
"The two-letter ISO country code for shipping": "El código ISO de dos letras para el envío",
|
||||
"The first line of the shipping address": "La primera línea de la dirección de envío",
|
||||
"The second line of the shipping address": "La segunda línea de la dirección de envío",
|
||||
"The shipping address city": "La ciudad de la dirección de envío",
|
||||
"The state or province for shipping": "Estado o provincia para el envío",
|
||||
"The shipping address zip or postal code": "La dirección de envío zip o código postal",
|
||||
"Type of payment for card transactions": "Tipo de pago para transacciones con tarjeta",
|
||||
"The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx": "El canal de procesamiento que se utilizará para el pago. Encuentre esto en su panel de control de Checkout.com en Ajustes > Procesar Canales. Formato: pc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"Whether to capture the payment immediately": "Si capturar el pago inmediatamente",
|
||||
"Whether to process as 3D Secure payment": "Procesar o no como pago 3D Secure",
|
||||
"Preference for 3DS challenge": "Preferencia para el desafío 3DS",
|
||||
"Additional key-value pairs for transaction information": "Pares de clave-valor adicionales para información de transacción",
|
||||
"The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.": "El importe del pago en unidades menores (por ejemplo, centavos por USD). Utilice 0 para la verificación de la tarjeta.",
|
||||
"Your reference for the payment (e.g., order number)": "Su referencia para el pago (por ejemplo, número de pedido)",
|
||||
"The type of payment source": "El tipo de fuente de pago",
|
||||
"The card number (without separators). Required for card payments.": "El número de la tarjeta (sin separadores).",
|
||||
"The expiry month of the card (1-12)": "El mes de caducidad de la tarjeta (1-12)",
|
||||
"The expiry year of the card (4 digits)": "El año de caducidad de la tarjeta (4 dígitos)",
|
||||
"The card verification code (3-4 digits)": "El código de verificación de la tarjeta (3-4 dígitos)",
|
||||
"The name of the cardholder": "El nombre del titular de la tarjeta",
|
||||
"The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "El ID del cliente (para el tipo de fuente del cliente, p. ej., cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"The token ID (for token source type)": "El token ID (para tipo de código fuente)",
|
||||
"The instrument ID (for instrument source type)": "El ID del instrumento (para el tipo de fuente del instrumento)",
|
||||
"The billing city": "La ciudad de facturación",
|
||||
"The billing state or province": "Estado de facturación o provincia",
|
||||
"The billing ZIP or postal code": "El ZIP de facturación o código postal",
|
||||
"The two-letter ISO country code": "El código ISO de dos letras",
|
||||
"The first name of the account holder": "El nombre del titular de la cuenta",
|
||||
"The last name of the account holder": "El apellido del titular de la cuenta",
|
||||
"The middle name of the account holder": "El nombre medio del titular de la cuenta",
|
||||
"The international country calling code": "El código de llamada del país internacional",
|
||||
"The first name for shipping": "El nombre del envío",
|
||||
"The last name for shipping": "El apellido del envío",
|
||||
"The email for shipping notifications": "El correo electrónico para las notificaciones de envío",
|
||||
"The shipping city": "La ciudad de envío",
|
||||
"The shipping state or province": "El estado del envío o provincia",
|
||||
"The shipping ZIP or postal code": "El código postal o postal del envío",
|
||||
"The type of payment": "El tipo de pago",
|
||||
"The type of authorization": "El tipo de autorización",
|
||||
"Process as 3DS if soft declined due to 3DS authentication required": "Procesar como 3DS si se ha rechazado por autenticación de 3DS requerida",
|
||||
"Whether to perform risk assessment": "Si realizar una evaluación de riesgo",
|
||||
"The customer's IP address (IPv4 or IPv6)": "La dirección IP del cliente (IPv4 o IPv6)",
|
||||
"The processing channel to use for the payment": "El canal de procesamiento a utilizar para el pago",
|
||||
"Link to existing payment series (for recurring payments)": "Enlace a la serie de pagos existentes (para pagos recurrientes)",
|
||||
"Success redirect URL for redirect payment methods": "URL de redirección correcta para métodos de pago de redirección",
|
||||
"Failure redirect URL for redirect payment methods": "Fallo redireccionando URL para métodos de pago de redirección",
|
||||
"A reference, such as an order ID, that can be used to identify the payment": "Una referencia, como un ID de pedido, que se puede utilizar para identificar el pago",
|
||||
"Select the payment to refund": "Seleccione el pago a reembolsar",
|
||||
"The amount to refund in minor units. If not specified, full payment amount will be refunded.": "La cantidad a reembolsar en unidades menores. Si no se especifica, el importe total del pago será reembolsado.",
|
||||
"Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)": "Su referencia para el reembolso (máximo 80 caracteres, 30 para Amex, 50 para TWINT)",
|
||||
"The action ID of the capture to refund (only for PayPal and Riverty)": "El ID de acción de la captura para reembolsar (sólo para PayPal y Riverty)",
|
||||
"Split refund allocations for sub-entities": "Dividir asignaciones de reembolso para subentidades",
|
||||
"Order line items for the refund": "Artículos de línea de pedido para el reembolso",
|
||||
"Two-letter ISO country code for bank account (required for giropay/EPS)": "Código ISO de dos letras para la cuenta bancaria (requerido para giropay/EPS)",
|
||||
"The bank account number": "El número de cuenta bancaria",
|
||||
"The code that identifies the bank": "El código que identifica al banco",
|
||||
"International Bank Account Number": "Número de cuenta bancaria internacional",
|
||||
"8 or 11-digit code identifying the bank": "Código de 8 o 11 dígitos que identifica al banco",
|
||||
"The account holder's first name": "Nombre del titular de la cuenta",
|
||||
"The account holder's last name": "Apellido del titular de la cuenta",
|
||||
"The type of account holder": "El tipo de titular de la cuenta",
|
||||
"Company name for corporate account holders": "Nombre de la empresa para los titulares de cuentas corporativas",
|
||||
"The account holder's email address": "La dirección de correo del titular de la cuenta",
|
||||
"International country calling code": "Código de llamada del país internacional",
|
||||
"The account holder's phone number": "Número de teléfono del titular de la cuenta",
|
||||
"First line of the account holder's address": "Primera línea de la dirección del titular de la cuenta",
|
||||
"Second line of the account holder's address": "Segunda línea de la dirección del titular de la cuenta",
|
||||
"Account holder's city": "Ciudad del titular de la cuenta",
|
||||
"Account holder's state or province": "Estado o provincia del titular de la cuenta",
|
||||
"Account holder's ZIP or postal code": "Código postal del titular de la cuenta",
|
||||
"Two-letter ISO country code": "Código ISO de dos letras",
|
||||
"The name of the bank": "El nombre del banco",
|
||||
"The name of the bank branch": "El nombre de la sucursal bancaria",
|
||||
"First line of the bank's address": "Primera línea de la dirección del banco",
|
||||
"Second line of the bank's address": "Segunda línea de la dirección del banco",
|
||||
"The bank's city": "Ciudad del banco",
|
||||
"Two-letter ISO country code for the bank": "Código ISO de dos letras para el banco",
|
||||
"Additional key-value pairs for the refund request": "Pares de clave y valor adicionales para la solicitud de reembolso",
|
||||
"Select the payment to get details for": "Seleccione el pago para obtener detalles de",
|
||||
"Select the payment to get actions for": "Seleccione el pago para obtener acciones para",
|
||||
"English (GB)": "Inglés (GB)",
|
||||
"Arabic": "Árabe",
|
||||
"Danish (Denmark)": "Danés (Denmark)",
|
||||
"German (Germany)": "Alemán (Alemania)",
|
||||
"Greek": "Griego",
|
||||
"Spanish (Spain)": "Español (España)",
|
||||
"Finnish (Finland)": "Finlandés (Finlandia)",
|
||||
"Filipino (Philippines)": "Filipino (Philippines)",
|
||||
"French (France)": "Francés (Francia)",
|
||||
"Hindi (India)": "Hindi (India)",
|
||||
"Indonesian (Indonesia)": "Indonesia (Indonesia)",
|
||||
"Italian (Italy)": "Italiano (Italia)",
|
||||
"Japanese (Japan)": "Japonés (Japón)",
|
||||
"Malay (Malaysia)": "Malaya (Malaya)",
|
||||
"Norwegian (Norway)": "Noruego (Noruega)",
|
||||
"Dutch (Netherlands)": "Holandés (Países Bajos)",
|
||||
"Portuguese (Portugal)": "Portugués (R)",
|
||||
"Swedish (Sweden)": "Sueco (Suecia)",
|
||||
"Thai (Thailand)": "Tailandés (Tailandia)",
|
||||
"Vietnamese (Vietnam)": "Vietnamese (Vietnam)",
|
||||
"Chinese (China)": "Chino (China)",
|
||||
"Chinese (Hong Kong)": "Chino (Hong Kong)",
|
||||
"Chinese (Taiwan)": "Chino (Taiwán)",
|
||||
"Card": "Tarjeta",
|
||||
"PayPal": "PayPal",
|
||||
"Apple Pay": "Manzana pago",
|
||||
"Google Pay": "Google Pay",
|
||||
"Klarna": "Klarna",
|
||||
"Alipay CN": "Alipay CN",
|
||||
"Bancontact": "Bancontacto",
|
||||
"iDEAL": "iDEAL",
|
||||
"SEPA": "SEPA",
|
||||
"Benefit": "Beneficio",
|
||||
"KNet": "KNet",
|
||||
"STC Pay": "Pago STC",
|
||||
"Tabby": "Tabby",
|
||||
"Tamara": "Tamara",
|
||||
"Regular": "Regular",
|
||||
"Recurring": "recurriendo",
|
||||
"No Preference": "Sin preferencias",
|
||||
"No Challenge Requested": "Ningún Desafío Solicitado",
|
||||
"Challenge Requested": "Desafío solicitado",
|
||||
"Card Payment": "Pago con tarjeta",
|
||||
"Token": "Token",
|
||||
"Instrument": "Instrumento",
|
||||
"MOTO (Mail Order/Telephone Order)": "MOTO (Correo Pedido/Teléfono)",
|
||||
"Installment": "Cuota",
|
||||
"Pay Later": "Pagar más tarde",
|
||||
"Unscheduled": "No programado",
|
||||
"Final": "Final",
|
||||
"Estimated": "Estimado",
|
||||
"Challenge Requested Mandate": "Desafío solicitado",
|
||||
"Individual": "Individual",
|
||||
"Corporate": "Corporativo",
|
||||
"Government": "Gobierno",
|
||||
"Payment Events": "Eventos de pago",
|
||||
"Dispute Events": "Eventos de disputa",
|
||||
"Trigger order fulfillment when payment is approved.": "Activar el cumplimiento de la orden cuando el pago es aprobado.",
|
||||
"Notify operations upon dispute opening or resolution.": "Notificar operaciones al abrir o resolver disputas.",
|
||||
"Event Types": "Tipos de Evento",
|
||||
"Select the payment events you want to listen for": "Seleccione los eventos de pago que desea escuchar",
|
||||
"Select the dispute events you want to listen for": "Seleccione los eventos de disputa que desea escuchar"
|
||||
}
|
||||
@@ -0,0 +1,276 @@
|
||||
{
|
||||
"Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.": "Votre clé secrète Checkout.com. Utilisez la clé sandbox (sk_sbox_...) pour tester ou produire la clé (sk_... pour les transactions en direct. Vous pouvez le trouver dans le tableau de bord Checkout.com sous Développeurs > Clés API.",
|
||||
"Create Customer": "Créer un client",
|
||||
"Update Customer": "Mettre à jour le client",
|
||||
"Create Payment Link": "Créer un lien de paiement",
|
||||
"Create Payment": "Créer un paiement",
|
||||
"Refund a Payment": "Rembourser un paiement",
|
||||
"Get Payment Details": "Obtenir les détails de paiement",
|
||||
"Get Payment Actions": "Obtenir les actions de paiement",
|
||||
"Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.": "Stocker les détails d'un client dans un objet client pour le réutiliser dans les futurs paiements. Vous pouvez lier les instruments de paiement et définir un instrument par défaut.",
|
||||
"Update existing customer or their metadata.": "Mettre à jour le client existant ou ses métadonnées.",
|
||||
"Create a Payment Link to accept and process payment details.": "Créez un lien de paiement pour accepter et traiter les détails du paiement.",
|
||||
"Process and manage payments from various sources including card payments and payouts.": "Traiter et gérer les paiements à partir de diverses sources, y compris les paiements par carte et par carte bancaire.",
|
||||
"Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.": "Émettre un remboursement (complet ou partiel) pour un paiement capturé. Supporte les remboursements fractionnés, les articles de ligne et les destinations du compte bancaire.",
|
||||
"Check transaction amount and status before refunding.": "Vérifiez le montant et le statut de la transaction avant le remboursement.",
|
||||
"Build full transaction lifecycles for audit logs.": "Construire le cycle de vie complet des transactions pour les journaux d'audit.",
|
||||
"Email": "Courriel",
|
||||
"Name": "Nom",
|
||||
"Phone Country Code": "Code du pays du téléphone",
|
||||
"Phone Number": "Numéro de téléphone",
|
||||
"Metadata": "Métadonnées",
|
||||
"Default Instrument ID": "ID d'instrument par défaut",
|
||||
"Customer ID": "ID du client",
|
||||
"Amount": "Montant",
|
||||
"Currency": "Devise",
|
||||
"Reference": "Référence",
|
||||
"Description": "Libellé",
|
||||
"Billing Country": "Pays de facturation",
|
||||
"Billing Address Line 1": "Adresse de facturation ligne 1",
|
||||
"Billing Address Line 2": "Adresse de facturation ligne 2",
|
||||
"Billing City": "Ville de facturation",
|
||||
"Billing State": "État de facturation",
|
||||
"Billing ZIP": "Code postal de facturation",
|
||||
"Billing Phone Country Code": "Code de pays du téléphone de facturation",
|
||||
"Billing Phone Number": "Numéro de téléphone de facturation",
|
||||
"Customer Email": "E-mail du client",
|
||||
"Customer Name": "Nom du client",
|
||||
"Customer Phone Country Code": "Code du pays du téléphone du client",
|
||||
"Customer Phone Number": "Numéro de téléphone du client",
|
||||
"Expires In (seconds)": "Expire dans (secondes)",
|
||||
"Display Name": "Display Name",
|
||||
"Return URL": "URL de retour",
|
||||
"Locale": "Locale",
|
||||
"Allow Payment Methods": "Autoriser les modes de paiement",
|
||||
"Disabled Payment Methods": "Modes de paiement désactivés",
|
||||
"Products": "Produits",
|
||||
"Shipping Country": "Pays de livraison",
|
||||
"Shipping Address Line 1": "Adresse de livraison ligne 1",
|
||||
"Shipping Address Line 2": "Adresse de livraison ligne 2",
|
||||
"Shipping City": "Ville d'expédition",
|
||||
"Shipping State": "État de livraison",
|
||||
"Shipping ZIP": "Code postal de livraison",
|
||||
"Payment Type": "Type de paiement",
|
||||
"Processing Channel ID": "Traitement de l'ID du canal",
|
||||
"Capture Payment": "Capturer le paiement",
|
||||
"Enable 3D Secure": "Activer 3D Secure",
|
||||
"3DS Challenge Preference": "Préférence de défi 3DS",
|
||||
"Payment Source Type": "Type de source de paiement",
|
||||
"Card Number": "Numéro de carte",
|
||||
"Expiry Month": "Mois d'expiration",
|
||||
"Expiry Year": "Année d'expiration",
|
||||
"CVV": "CVV",
|
||||
"Cardholder Name": "Nom du titulaire de la carte",
|
||||
"Token ID": "Token ID",
|
||||
"Instrument ID": "ID de l'instrument",
|
||||
"Account Holder First Name": "Prénom du titulaire du compte",
|
||||
"Account Holder Last Name": "Nom du titulaire du compte",
|
||||
"Account Holder Middle Name": "Deuxième nom du titulaire du compte",
|
||||
"Shipping First Name": "Prénom de la livraison",
|
||||
"Shipping Last Name": "Nom de la livraison",
|
||||
"Shipping Email": "E-mail de livraison",
|
||||
"Authorization Type": "Type d'autorisation",
|
||||
"Allow 3DS Upgrade": "Autoriser la mise à jour de 3DS",
|
||||
"Enable Risk Assessment": "Activer l'évaluation des risques",
|
||||
"Customer IP Address": "Adresse IP du client",
|
||||
"Previous Payment ID": "ID de paiement précédent",
|
||||
"Success URL": "URL de succès",
|
||||
"Failure URL": "URL d'échec",
|
||||
"Payment ID": "ID de paiement",
|
||||
"Refund Amount": "Montant du remboursement",
|
||||
"Refund Reference": "Référence de remboursement",
|
||||
"Capture Action ID": "ID de l'action de capture",
|
||||
"Amount Allocations": "Allocations de montant",
|
||||
"Line Items": "Lignes",
|
||||
"Destination Country": "Pays de destination",
|
||||
"Account Number": "Numéro de compte",
|
||||
"Bank Code": "Code bancaire",
|
||||
"IBAN": "IBAN",
|
||||
"SWIFT BIC": "BIC SWIFT",
|
||||
"Account Holder Type": "Type de titulaire du compte",
|
||||
"Company Name": "Nom de l’entreprise",
|
||||
"Account Holder Email": "Email du titulaire du compte",
|
||||
"Address Line 1": "Adresse ligne 1",
|
||||
"Address Line 2": "Adresse ligne 2",
|
||||
"City": "Ville",
|
||||
"State": "État",
|
||||
"ZIP Code": "Code postal",
|
||||
"Country": "Pays",
|
||||
"Bank Name": "Nom de la banque",
|
||||
"Bank Branch": "Branche bancaire",
|
||||
"Bank Address Line 1": "Adresse de la banque ligne 1",
|
||||
"Bank Address Line 2": "Adresse de la banque ligne 2",
|
||||
"Bank City": "Ville de la banque",
|
||||
"Bank Country": "Pays de la banque",
|
||||
"The customer's email address": "L'adresse e-mail du client",
|
||||
"The customer's name": "Le nom du client",
|
||||
"The international country calling code (e.g., +1, +44). Required if phone number is provided.": "Le code d'appel international (par exemple, +1, +44). Requis si le numéro de téléphone est fourni.",
|
||||
"The phone number (6-25 characters). Required if country code is provided.": "Le numéro de téléphone (6-25 caractères). Requis si l'indicatif du pays est fourni.",
|
||||
"Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.": "Informations supplémentaires sur le client. 10 paires de clés au maximum, chacune jusqu'à 100 caractères.",
|
||||
"The ID of the payment instrument to set as this customer's default": "L'ID de l'instrument de paiement à définir comme valeur par défaut de ce client",
|
||||
"The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "L'ID du client à mettre à jour (par exemple, cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"Additional information about the customer. Will replace any existing metadata.": "Informations supplémentaires sur le client. Remplacera toutes les métadonnées existantes.",
|
||||
"The ID of this customer's default instrument": "L'ID de l'instrument par défaut de ce client",
|
||||
"The payment amount in minor units (e.g., cents for USD)": "Le montant du paiement en unités mineures (par exemple, les cents pour USD)",
|
||||
"The three-letter ISO currency code (e.g., USD, EUR)": "Le code de devise ISO à trois lettres (par exemple, USD, EUR)",
|
||||
"A reference to identify the payment (e.g., order number)": "Une référence pour identifier le paiement (par exemple le numéro de commande)",
|
||||
"A description of the payment": "Une description du paiement",
|
||||
"The two-letter ISO country code (e.g., US, GB)": "Le code ISO à deux lettres du pays (par exemple, US, GB)",
|
||||
"The first line of the billing address": "La première ligne de l'adresse de facturation",
|
||||
"The second line of the billing address": "La deuxième ligne de l'adresse de facturation",
|
||||
"The billing address city": "La ville de l'adresse de facturation",
|
||||
"The state or province (ISO 3166-2 code)": "L'état ou la province (code ISO 3166-2)",
|
||||
"The billing address zip or postal code": "Le code postal de l'adresse de facturation",
|
||||
"The international country calling code (e.g., +1)": "Le code d'appel international du pays (par exemple, +1)",
|
||||
"The phone number (6-25 characters)": "Le numéro de téléphone (6-25 caractères)",
|
||||
"The customer's phone number": "Le numéro de téléphone du client",
|
||||
"Time for which the link remains valid (default: 86400)": "Temps pour lequel le lien reste valide (par défaut: 86400)",
|
||||
"The merchant name to display to customers on the checkout page": "Le nom du marchand à afficher aux clients sur la page de paiement",
|
||||
"URL to redirect customer after successful payment": "URL pour rediriger le client après paiement réussi",
|
||||
"Language and region for the payment page": "Langue et région pour la page de paiement",
|
||||
"Specific payment methods to present to customers": "Méthodes de paiement spécifiques à présenter aux clients",
|
||||
"Payment methods to NOT present to customers": "Méthodes de paiement à NE PAS présenter aux clients",
|
||||
"Details about the products in the order": "Détails sur les produits dans la commande",
|
||||
"The two-letter ISO country code for shipping": "Le code ISO du pays d'expédition à deux lettres",
|
||||
"The first line of the shipping address": "La première ligne de l'adresse de livraison",
|
||||
"The second line of the shipping address": "La deuxième ligne de l'adresse de livraison",
|
||||
"The shipping address city": "La ville de l'adresse de livraison",
|
||||
"The state or province for shipping": "L'état ou la province pour l'expédition",
|
||||
"The shipping address zip or postal code": "Le code postal de l'adresse de livraison",
|
||||
"Type of payment for card transactions": "Type de paiement pour les transactions par carte",
|
||||
"The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx": "Le canal de traitement à utiliser pour le paiement. Trouvez ceci dans votre tableau de bord Checkout.com dans Paramètres > Chaînes de traitement. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"Whether to capture the payment immediately": "S'il faut capturer le paiement immédiatement",
|
||||
"Whether to process as 3D Secure payment": "Traiter comme paiement 3D Secure",
|
||||
"Preference for 3DS challenge": "Préférence pour le défi 3DS",
|
||||
"Additional key-value pairs for transaction information": "Paires de valeur clé supplémentaires pour les informations de transaction",
|
||||
"The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.": "Le montant du paiement en unités mineures (par exemple, les cents pour USD). Utilisez 0 pour la vérification de la carte.",
|
||||
"Your reference for the payment (e.g., order number)": "Votre référence pour le paiement (par ex. numéro de commande)",
|
||||
"The type of payment source": "Le type de source de paiement",
|
||||
"The card number (without separators). Required for card payments.": "Le numéro de carte (sans séparateurs). Requis pour les paiements par carte.",
|
||||
"The expiry month of the card (1-12)": "Le mois d'expiration de la carte (1-12)",
|
||||
"The expiry year of the card (4 digits)": "L'année d'expiration de la carte (4 chiffres)",
|
||||
"The card verification code (3-4 digits)": "Le code de vérification de la carte (3-4 chiffres)",
|
||||
"The name of the cardholder": "Le nom du titulaire de la carte",
|
||||
"The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "L'ID du client (pour le type de source du client, par exemple, cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"The token ID (for token source type)": "L'ID du jeton (pour le type de jeton de source)",
|
||||
"The instrument ID (for instrument source type)": "L'ID de l'instrument (pour le type de source)",
|
||||
"The billing city": "La ville de facturation",
|
||||
"The billing state or province": "L'état ou la province de facturation",
|
||||
"The billing ZIP or postal code": "Le code postal ou le code postal de facturation",
|
||||
"The two-letter ISO country code": "Le code ISO du pays à deux lettres",
|
||||
"The first name of the account holder": "Le prénom du titulaire du compte",
|
||||
"The last name of the account holder": "Le nom du titulaire du compte",
|
||||
"The middle name of the account holder": "Le prénom du titulaire du compte",
|
||||
"The international country calling code": "Le code d'appel international",
|
||||
"The first name for shipping": "Le prénom pour la livraison",
|
||||
"The last name for shipping": "Le nom de famille pour l'expédition",
|
||||
"The email for shipping notifications": "L'e-mail pour les notifications d'expédition",
|
||||
"The shipping city": "La ville maritime",
|
||||
"The shipping state or province": "L'état ou la province de livraison",
|
||||
"The shipping ZIP or postal code": "Le code postal ou le code postal de livraison",
|
||||
"The type of payment": "Le type de paiement",
|
||||
"The type of authorization": "Le type d'autorisation",
|
||||
"Process as 3DS if soft declined due to 3DS authentication required": "Traiter comme 3DS si soft declined en raison de l'authentification 3DS requise",
|
||||
"Whether to perform risk assessment": "Effectuer ou non une évaluation des risques",
|
||||
"The customer's IP address (IPv4 or IPv6)": "L'adresse IP du client (IPv4 ou IPv6)",
|
||||
"The processing channel to use for the payment": "Le canal de traitement à utiliser pour le paiement",
|
||||
"Link to existing payment series (for recurring payments)": "Lien vers la série de paiement existante (pour les paiements récurrents)",
|
||||
"Success redirect URL for redirect payment methods": "URL de redirection réussie pour les méthodes de paiement de redirection",
|
||||
"Failure redirect URL for redirect payment methods": "Échec de la redirection de l'URL pour les méthodes de paiement de redirection",
|
||||
"A reference, such as an order ID, that can be used to identify the payment": "Une référence, comme un ID de commande, qui peut être utilisée pour identifier le paiement",
|
||||
"Select the payment to refund": "Sélectionnez le paiement à rembourser",
|
||||
"The amount to refund in minor units. If not specified, full payment amount will be refunded.": "Le montant à rembourser en unités mineures. Si non spécifié, le montant total du paiement sera remboursé.",
|
||||
"Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)": "Votre référence pour le remboursement (max 80 caractères, 30 pour Amex, 50 pour TWINT)",
|
||||
"The action ID of the capture to refund (only for PayPal and Riverty)": "L'ID de l'action de la capture à rembourser (uniquement pour PayPal et Riverty)",
|
||||
"Split refund allocations for sub-entities": "Diviser les allocations de remboursement pour les sous-entités",
|
||||
"Order line items for the refund": "Articles de la ligne de commande pour le remboursement",
|
||||
"Two-letter ISO country code for bank account (required for giropay/EPS)": "Code ISO à deux lettres pour le compte bancaire (requis pour giropay/EPS)",
|
||||
"The bank account number": "Le numéro de compte bancaire",
|
||||
"The code that identifies the bank": "Le code qui identifie la banque",
|
||||
"International Bank Account Number": "Numéro de compte bancaire international",
|
||||
"8 or 11-digit code identifying the bank": "Code à 8 ou à 11 chiffres identifiant la banque",
|
||||
"The account holder's first name": "Prénom du titulaire du compte",
|
||||
"The account holder's last name": "Nom du titulaire du compte",
|
||||
"The type of account holder": "Le type de titulaire du compte",
|
||||
"Company name for corporate account holders": "Nom de la société pour les détenteurs du compte d'entreprise",
|
||||
"The account holder's email address": "Adresse e-mail du titulaire du compte",
|
||||
"International country calling code": "Code d'appel international",
|
||||
"The account holder's phone number": "Le numéro de téléphone du titulaire du compte",
|
||||
"First line of the account holder's address": "Première ligne de l'adresse du titulaire du compte",
|
||||
"Second line of the account holder's address": "Deuxième ligne de l'adresse du titulaire du compte",
|
||||
"Account holder's city": "Ville du titulaire du compte",
|
||||
"Account holder's state or province": "Etat ou province du titulaire du compte",
|
||||
"Account holder's ZIP or postal code": "ZIP ou code postal du titulaire du compte",
|
||||
"Two-letter ISO country code": "Code de pays ISO à deux lettres",
|
||||
"The name of the bank": "Le nom de la banque",
|
||||
"The name of the bank branch": "Le nom de la succursale bancaire",
|
||||
"First line of the bank's address": "Première ligne de l'adresse de la banque",
|
||||
"Second line of the bank's address": "Deuxième ligne de l'adresse de la banque",
|
||||
"The bank's city": "La ville de la banque",
|
||||
"Two-letter ISO country code for the bank": "Code ISO à deux lettres pour la banque",
|
||||
"Additional key-value pairs for the refund request": "Paires clés supplémentaires pour la demande de remboursement",
|
||||
"Select the payment to get details for": "Sélectionnez le paiement pour obtenir les détails pour",
|
||||
"Select the payment to get actions for": "Sélectionnez le paiement pour obtenir des actions pour",
|
||||
"English (GB)": "Anglais (GB)",
|
||||
"Arabic": "Arabe",
|
||||
"Danish (Denmark)": "Danois (Danemark)",
|
||||
"German (Germany)": "Allemand (Allemagne)",
|
||||
"Greek": "Grecque",
|
||||
"Spanish (Spain)": "Espagnol (Espagne)",
|
||||
"Finnish (Finland)": "Finlandais (Finlande)",
|
||||
"Filipino (Philippines)": "Filipino (Philippines)",
|
||||
"French (France)": "Français (France)",
|
||||
"Hindi (India)": "Hindi (Inde)",
|
||||
"Indonesian (Indonesia)": "Indonésien (Indonésie)",
|
||||
"Italian (Italy)": "Italien (Italie)",
|
||||
"Japanese (Japan)": "Japonais (Japon)",
|
||||
"Malay (Malaysia)": "Malais (Malaisie)",
|
||||
"Norwegian (Norway)": "Norvégien (Norvège)",
|
||||
"Dutch (Netherlands)": "Néerlandais (Pays-Bas)",
|
||||
"Portuguese (Portugal)": "Portugais (Portugal)",
|
||||
"Swedish (Sweden)": "Suédois (Suède)",
|
||||
"Thai (Thailand)": "Thaïlande (Thaïlande)",
|
||||
"Vietnamese (Vietnam)": "Vietnamese (Vietnam)",
|
||||
"Chinese (China)": "Chinois (Chine)",
|
||||
"Chinese (Hong Kong)": "Chinois (Hong Kong)",
|
||||
"Chinese (Taiwan)": "Chinois (Taïwan)",
|
||||
"Card": "Cartes",
|
||||
"PayPal": "PayPal",
|
||||
"Apple Pay": "Apple Pay",
|
||||
"Google Pay": "Google Pay",
|
||||
"Klarna": "Klarna",
|
||||
"Alipay CN": "Alipay CN",
|
||||
"Bancontact": "Bancontact",
|
||||
"iDEAL": "iDEAL",
|
||||
"SEPA": "SEPA",
|
||||
"Benefit": "Avantages",
|
||||
"KNet": "KNet",
|
||||
"STC Pay": "Payer STC",
|
||||
"Tabby": "Tabby",
|
||||
"Tamara": "Tamara",
|
||||
"Regular": "Régulièrement",
|
||||
"Recurring": "Récurrents",
|
||||
"No Preference": "Pas de préférence",
|
||||
"No Challenge Requested": "Aucun défi demandé",
|
||||
"Challenge Requested": "Défi demandé",
|
||||
"Card Payment": "Paiement par carte",
|
||||
"Token": "Jeton",
|
||||
"Instrument": "Instrument",
|
||||
"MOTO (Mail Order/Telephone Order)": "MOTO (commande de mail/commande de téléphone)",
|
||||
"Installment": "Versement",
|
||||
"Pay Later": "Payer plus tard",
|
||||
"Unscheduled": "Non planifié",
|
||||
"Final": "Finale",
|
||||
"Estimated": "Estimé",
|
||||
"Challenge Requested Mandate": "Défi Requis Mandat",
|
||||
"Individual": "Individuel",
|
||||
"Corporate": "Entreprise",
|
||||
"Government": "Gouvernement",
|
||||
"Payment Events": "Événements de paiement",
|
||||
"Dispute Events": "Événements litigieux",
|
||||
"Trigger order fulfillment when payment is approved.": "Déclencher l'exécution de la commande lorsque le paiement est approuvé.",
|
||||
"Notify operations upon dispute opening or resolution.": "Notifier les opérations lors de l'ouverture ou du règlement du différend.",
|
||||
"Event Types": "Types d'événements",
|
||||
"Select the payment events you want to listen for": "Sélectionnez les événements de paiement que vous souhaitez écouter",
|
||||
"Select the dispute events you want to listen for": "Sélectionnez les événements du litige que vous souhaitez écouter"
|
||||
}
|
||||
@@ -0,0 +1,276 @@
|
||||
{
|
||||
"Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.": "Checkout.comの秘密鍵。テストまたはプロダクションキー(sk_... を参照してください。Checkout.comダッシュボードの「開発者>APIキー」から確認できます。",
|
||||
"Create Customer": "顧客を作成",
|
||||
"Update Customer": "顧客情報の更新",
|
||||
"Create Payment Link": "支払いリンクを作成",
|
||||
"Create Payment": "支払いを作成",
|
||||
"Refund a Payment": "払い戻しを行う",
|
||||
"Get Payment Details": "支払いの詳細を取得する",
|
||||
"Get Payment Actions": "支払いアクションの取得",
|
||||
"Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.": "顧客オブジェクトに顧客の詳細情報を保存すると、今後の支払いで再利用できます。支払い商品をリンクし、デフォルトの限月を設定できます。",
|
||||
"Update existing customer or their metadata.": "既存の顧客またはメタデータを更新します。",
|
||||
"Create a Payment Link to accept and process payment details.": "支払いの詳細を受け入れ、処理するための支払いリンクを作成します。",
|
||||
"Process and manage payments from various sources including card payments and payouts.": "カード決済や支払いを含むさまざまなソースからの支払いを処理し、管理します。",
|
||||
"Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.": "回収された支払いに対して払い戻し(全部または一部)を発行します。分割払い戻し、行商品、および銀行口座の宛先をサポートします。",
|
||||
"Check transaction amount and status before refunding.": "返金前に取引金額とステータスを確認してください。",
|
||||
"Build full transaction lifecycles for audit logs.": "監査ログの完全なトランザクションライフサイクルを構築します。",
|
||||
"Email": "Eメールアドレス",
|
||||
"Name": "Name",
|
||||
"Phone Country Code": "電話番号:",
|
||||
"Phone Number": "電話番号",
|
||||
"Metadata": "メタデータ",
|
||||
"Default Instrument ID": "デフォルトの楽器ID",
|
||||
"Customer ID": "顧客 ID",
|
||||
"Amount": "金額",
|
||||
"Currency": "通貨",
|
||||
"Reference": "参照",
|
||||
"Description": "説明",
|
||||
"Billing Country": "請求先の国",
|
||||
"Billing Address Line 1": "請求先住所1",
|
||||
"Billing Address Line 2": "請求先住所2",
|
||||
"Billing City": "市区町村名",
|
||||
"Billing State": "請求ステータス",
|
||||
"Billing ZIP": "請求先郵便番号",
|
||||
"Billing Phone Country Code": "請求先電話国コード",
|
||||
"Billing Phone Number": "請求先電話番号",
|
||||
"Customer Email": "顧客のメールアドレス",
|
||||
"Customer Name": "顧客名",
|
||||
"Customer Phone Country Code": "顧客の電話番号の国コード",
|
||||
"Customer Phone Number": "顧客電話番号",
|
||||
"Expires In (seconds)": "有効期限 (秒)",
|
||||
"Display Name": "表示名",
|
||||
"Return URL": "返品URL",
|
||||
"Locale": "ロケール",
|
||||
"Allow Payment Methods": "支払い方法を許可する",
|
||||
"Disabled Payment Methods": "無効な支払い方法",
|
||||
"Products": "商品",
|
||||
"Shipping Country": "配送先国",
|
||||
"Shipping Address Line 1": "配送先住所1",
|
||||
"Shipping Address Line 2": "配送先住所2",
|
||||
"Shipping City": "配送先住所",
|
||||
"Shipping State": "都道府県(発送先)",
|
||||
"Shipping ZIP": "配送先ZIP",
|
||||
"Payment Type": "支払いタイプ",
|
||||
"Processing Channel ID": "チャンネルIDを処理しています",
|
||||
"Capture Payment": "お支払いを確認する",
|
||||
"Enable 3D Secure": "3Dセキュアを有効にする",
|
||||
"3DS Challenge Preference": "3DSチャレンジ設定",
|
||||
"Payment Source Type": "支払元の種類",
|
||||
"Card Number": "カード番号",
|
||||
"Expiry Month": "有効期限月",
|
||||
"Expiry Year": "有効期限年",
|
||||
"CVV": "CVV",
|
||||
"Cardholder Name": "カード名義人名",
|
||||
"Token ID": "Token ID",
|
||||
"Instrument ID": "装置ID",
|
||||
"Account Holder First Name": "口座所有者名",
|
||||
"Account Holder Last Name": "口座所有者の姓",
|
||||
"Account Holder Middle Name": "アカウントホルダーミドルネーム",
|
||||
"Shipping First Name": "配送先名",
|
||||
"Shipping Last Name": "配送先姓:",
|
||||
"Shipping Email": "配送先メールアドレス",
|
||||
"Authorization Type": "認証タイプ",
|
||||
"Allow 3DS Upgrade": "3DSのアップグレードを許可する",
|
||||
"Enable Risk Assessment": "リスク評価を有効にする",
|
||||
"Customer IP Address": "顧客のIPアドレス",
|
||||
"Previous Payment ID": "以前の支払いID",
|
||||
"Success URL": "成功URL",
|
||||
"Failure URL": "失敗のURL",
|
||||
"Payment ID": "支払いID",
|
||||
"Refund Amount": "払い戻し額",
|
||||
"Refund Reference": "返金参照",
|
||||
"Capture Action ID": "キャプチャアクションID",
|
||||
"Amount Allocations": "割り当て額",
|
||||
"Line Items": "行の項目",
|
||||
"Destination Country": "宛先国",
|
||||
"Account Number": "口座番号",
|
||||
"Bank Code": "銀行コード",
|
||||
"IBAN": "IBAN",
|
||||
"SWIFT BIC": "SWIFT BIC",
|
||||
"Account Holder Type": "アカウントホルダータイプ",
|
||||
"Company Name": "会社名",
|
||||
"Account Holder Email": "アカウント所有者メールアドレス",
|
||||
"Address Line 1": "住所1",
|
||||
"Address Line 2": "住所2",
|
||||
"City": "市区町村名",
|
||||
"State": "都道府県:",
|
||||
"ZIP Code": "郵便番号",
|
||||
"Country": "国",
|
||||
"Bank Name": "銀行名",
|
||||
"Bank Branch": "銀行支店",
|
||||
"Bank Address Line 1": "銀行住所1",
|
||||
"Bank Address Line 2": "銀行住所2",
|
||||
"Bank City": "銀行市区町村名",
|
||||
"Bank Country": "銀行の国",
|
||||
"The customer's email address": "顧客のメールアドレス",
|
||||
"The customer's name": "顧客名",
|
||||
"The international country calling code (e.g., +1, +44). Required if phone number is provided.": "国際電話番号(例:+1、+44)。電話番号が指定されている場合は必要です。",
|
||||
"The phone number (6-25 characters). Required if country code is provided.": "電話番号(6-25文字)。国コードが指定されている場合に必要です。",
|
||||
"Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.": "お客様に関する追加情報です。最大 100 文字までのキーと値のペアが最大 10 個です。",
|
||||
"The ID of the payment instrument to set as this customer's default": "この顧客のデフォルトとして設定される支払い商品のID",
|
||||
"The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "更新する顧客ID(例:cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"Additional information about the customer. Will replace any existing metadata.": "顧客に関する追加情報。既存のメタデータを置き換えます。",
|
||||
"The ID of this customer's default instrument": "この顧客のデフォルト銘柄のID",
|
||||
"The payment amount in minor units (e.g., cents for USD)": "The payment amount in minor units (e.g, cents for USD)",
|
||||
"The three-letter ISO currency code (e.g., USD, EUR)": "3文字のISO通貨コード(例:USD、EUR)",
|
||||
"A reference to identify the payment (e.g., order number)": "支払いを識別するための参照 (例: 注文番号)",
|
||||
"A description of the payment": "支払いの説明",
|
||||
"The two-letter ISO country code (e.g., US, GB)": "2文字ISO国コード(例、米国、GB)",
|
||||
"The first line of the billing address": "請求先住所の最初の行",
|
||||
"The second line of the billing address": "請求先住所の第二行",
|
||||
"The billing address city": "請求先住所",
|
||||
"The state or province (ISO 3166-2 code)": "都道府県(ISO 3166-2コード)",
|
||||
"The billing address zip or postal code": "請求先住所または郵便番号",
|
||||
"The international country calling code (e.g., +1)": "国際的な国コード(例:+1)",
|
||||
"The phone number (6-25 characters)": "電話番号 (6-25文字)",
|
||||
"The customer's phone number": "顧客の電話番号",
|
||||
"Time for which the link remains valid (default: 86400)": "リンクが有効なままの時間 (デフォルト: 86400)",
|
||||
"The merchant name to display to customers on the checkout page": "チェックアウトページで顧客に表示するマーチャント名",
|
||||
"URL to redirect customer after successful payment": "支払いが成功した後に顧客にリダイレクトするURL",
|
||||
"Language and region for the payment page": "支払いページの言語と地域",
|
||||
"Specific payment methods to present to customers": "お客様に提示する特定の支払い方法",
|
||||
"Payment methods to NOT present to customers": "お客様には存在しないお支払い方法",
|
||||
"Details about the products in the order": "注文内の製品についての詳細",
|
||||
"The two-letter ISO country code for shipping": "出荷のための2文字ISO国コード",
|
||||
"The first line of the shipping address": "配送先住所の最初の行",
|
||||
"The second line of the shipping address": "配送先住所の第二行",
|
||||
"The shipping address city": "配送先住所",
|
||||
"The state or province for shipping": "配送先の州または地域",
|
||||
"The shipping address zip or postal code": "配送先住所または郵便番号",
|
||||
"Type of payment for card transactions": "カード取引の支払いタイプ",
|
||||
"The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx": "支払いに使用される処理チャネル。Checkout.comダッシュボードでこれを確認してください。設定 > チャンネルの処理. フォーマット: pc_xxxxxxxxxxxxxxxx",
|
||||
"Whether to capture the payment immediately": "支払いをすぐに取得するかどうか",
|
||||
"Whether to process as 3D Secure payment": "3D Secure Payment として処理するか",
|
||||
"Preference for 3DS challenge": "3DSチャレンジの設定",
|
||||
"Additional key-value pairs for transaction information": "トランザクション情報の追加のキーと値のペア",
|
||||
"The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.": "支払金額をマイナーユニット単位で指定します。カードの確認には0を使用します。",
|
||||
"Your reference for the payment (e.g., order number)": "支払いの参照番号(例:注文番号)",
|
||||
"The type of payment source": "支払元の種類",
|
||||
"The card number (without separators). Required for card payments.": "カード番号 (区切り文字なし) カード決済に必要です。",
|
||||
"The expiry month of the card (1-12)": "カードの有効期限月 (1-12)",
|
||||
"The expiry year of the card (4 digits)": "カードの有効期限年(4桁)",
|
||||
"The card verification code (3-4 digits)": "カード確認コード(3-4桁)",
|
||||
"The name of the cardholder": "カード名義人の名前",
|
||||
"The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "顧客ID(顧客ソースタイプ、例えばcus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"The token ID (for token source type)": "トークン ID (トークンのソースタイプ)",
|
||||
"The instrument ID (for instrument source type)": "限月ID (限月ソースタイプ用)",
|
||||
"The billing city": "請求先の都市",
|
||||
"The billing state or province": "請求先の都道府県名",
|
||||
"The billing ZIP or postal code": "請求先の郵便番号",
|
||||
"The two-letter ISO country code": "2文字ISO国コード",
|
||||
"The first name of the account holder": "口座名義人の名",
|
||||
"The last name of the account holder": "口座名義人の姓",
|
||||
"The middle name of the account holder": "口座名義人のミドルネーム",
|
||||
"The international country calling code": "国際的な国コードを呼び出します。",
|
||||
"The first name for shipping": "配送先の名",
|
||||
"The last name for shipping": "配送先の姓",
|
||||
"The email for shipping notifications": "配送通知のメール",
|
||||
"The shipping city": "配送先の都市",
|
||||
"The shipping state or province": "配送先の州または地域",
|
||||
"The shipping ZIP or postal code": "郵便番号または郵便番号",
|
||||
"The type of payment": "支払いの種類",
|
||||
"The type of authorization": "認証の種類",
|
||||
"Process as 3DS if soft declined due to 3DS authentication required": "3DS認証が必要なためソフトが減少した場合、3DSとして処理します",
|
||||
"Whether to perform risk assessment": "リスクアセスメントを実行するか",
|
||||
"The customer's IP address (IPv4 or IPv6)": "顧客のIPアドレス (IPv4またはIPv6)",
|
||||
"The processing channel to use for the payment": "支払いに使用する処理チャンネル",
|
||||
"Link to existing payment series (for recurring payments)": "既存の支払いシリーズへのリンク(定期支払い用)",
|
||||
"Success redirect URL for redirect payment methods": "リダイレクト支払い方法の成功リダイレクトURL",
|
||||
"Failure redirect URL for redirect payment methods": "リダイレクト支払方法のリダイレクトURLに失敗しました",
|
||||
"A reference, such as an order ID, that can be used to identify the payment": "支払いを識別するために使用される注文IDなどの参照",
|
||||
"Select the payment to refund": "返金する支払いを選択してください",
|
||||
"The amount to refund in minor units. If not specified, full payment amount will be refunded.": "The amount to refund in minor unit. If not specified, full payment amount will be refunded",
|
||||
"Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)": "返金のリファレンス(最大80文字、アメックス30文字、TWINT50文字)",
|
||||
"The action ID of the capture to refund (only for PayPal and Riverty)": "返金するキャプチャのアクションID(PayPalとRiveryのみ)",
|
||||
"Split refund allocations for sub-entities": "サブエンティティの分割払い戻し割り当て",
|
||||
"Order line items for the refund": "返金のための注文明細の商品",
|
||||
"Two-letter ISO country code for bank account (required for giropay/EPS)": "銀行口座の2文字ISO国コード(giropay/EPSに必須)",
|
||||
"The bank account number": "銀行口座番号",
|
||||
"The code that identifies the bank": "銀行を識別するコード",
|
||||
"International Bank Account Number": "国際銀行口座番号",
|
||||
"8 or 11-digit code identifying the bank": "銀行を識別する8桁または11桁のコード",
|
||||
"The account holder's first name": "口座所有者の名",
|
||||
"The account holder's last name": "口座所有者の姓",
|
||||
"The type of account holder": "口座名義人の種類",
|
||||
"Company name for corporate account holders": "企業アカウント所有者の会社名",
|
||||
"The account holder's email address": "アカウント所有者のメールアドレス",
|
||||
"International country calling code": "国際電話コード",
|
||||
"The account holder's phone number": "口座所有者の電話番号",
|
||||
"First line of the account holder's address": "口座所有者の住所の最初の行",
|
||||
"Second line of the account holder's address": "口座所有者の住所の二行目",
|
||||
"Account holder's city": "アカウント所有者の都市",
|
||||
"Account holder's state or province": "アカウント所有者の州または州",
|
||||
"Account holder's ZIP or postal code": "アカウント所有者の郵便番号",
|
||||
"Two-letter ISO country code": "2文字ISO国コード",
|
||||
"The name of the bank": "銀行の名前",
|
||||
"The name of the bank branch": "銀行支店の名称",
|
||||
"First line of the bank's address": "銀行住所の最初の行",
|
||||
"Second line of the bank's address": "銀行の住所",
|
||||
"The bank's city": "銀行の都市",
|
||||
"Two-letter ISO country code for the bank": "銀行の2文字ISO国コード",
|
||||
"Additional key-value pairs for the refund request": "返金リクエストの追加のキーと値のペア",
|
||||
"Select the payment to get details for": "詳細を取得する支払いを選択してください",
|
||||
"Select the payment to get actions for": "支払い方法を選択してください",
|
||||
"English (GB)": "英語 (GB)",
|
||||
"Arabic": "アラビア文字",
|
||||
"Danish (Denmark)": "デンマーク語 (デンマーク)",
|
||||
"German (Germany)": "ドイツ語(ドイツ語)",
|
||||
"Greek": "ギリシア語",
|
||||
"Spanish (Spain)": "スペイン語(スペイン)",
|
||||
"Finnish (Finland)": "フィンランド語(フィンランド語)",
|
||||
"Filipino (Philippines)": "Filipino (Philippines)",
|
||||
"French (France)": "フランス語(フランス)",
|
||||
"Hindi (India)": "ヒンディー語(インド)",
|
||||
"Indonesian (Indonesia)": "インドネシア語(インドネシア)",
|
||||
"Italian (Italy)": "イタリア語(イタリア)",
|
||||
"Japanese (Japan)": "日本語",
|
||||
"Malay (Malaysia)": "マレーシア(マレーシア)",
|
||||
"Norwegian (Norway)": "ノルウェー語 (ノルウェー)",
|
||||
"Dutch (Netherlands)": "オランダ語(オランダ)",
|
||||
"Portuguese (Portugal)": "ポルトガル語 (ポルトガル)",
|
||||
"Swedish (Sweden)": "スウェーデン語 (スウェーデン)",
|
||||
"Thai (Thailand)": "タイ (タイ)",
|
||||
"Vietnamese (Vietnam)": "Vietnamese (Vietnam)",
|
||||
"Chinese (China)": "中国語 (中国)",
|
||||
"Chinese (Hong Kong)": "中国語 (香港)",
|
||||
"Chinese (Taiwan)": "中国語 (台湾)",
|
||||
"Card": "カード",
|
||||
"PayPal": "PayPal",
|
||||
"Apple Pay": "Apple Pay",
|
||||
"Google Pay": "Google Pay",
|
||||
"Klarna": "Klarna",
|
||||
"Alipay CN": "Alipay CN",
|
||||
"Bancontact": "接触禁止",
|
||||
"iDEAL": "iDEAL",
|
||||
"SEPA": "SEPA",
|
||||
"Benefit": "利点",
|
||||
"KNet": "KNet",
|
||||
"STC Pay": "STC Pay",
|
||||
"Tabby": "Tabby",
|
||||
"Tamara": "タマラ語",
|
||||
"Regular": "標準",
|
||||
"Recurring": "繰り返し",
|
||||
"No Preference": "環境設定なし",
|
||||
"No Challenge Requested": "チャレンジがリクエストされていません",
|
||||
"Challenge Requested": "チャレンジがリクエストされました",
|
||||
"Card Payment": "カードの支払い",
|
||||
"Token": "トークン",
|
||||
"Instrument": "機器",
|
||||
"MOTO (Mail Order/Telephone Order)": "MOTO (メールオーダー/電話オーダー)",
|
||||
"Installment": "割引額",
|
||||
"Pay Later": "後で支払う",
|
||||
"Unscheduled": "予定されていません",
|
||||
"Final": "Final",
|
||||
"Estimated": "推定値",
|
||||
"Challenge Requested Mandate": "チャレンジ要求必須項目",
|
||||
"Individual": "個人",
|
||||
"Corporate": "会社名",
|
||||
"Government": "政府",
|
||||
"Payment Events": "支払いイベント",
|
||||
"Dispute Events": "紛争イベント",
|
||||
"Trigger order fulfillment when payment is approved.": "支払いが承認されると、注文の履行を開始します。",
|
||||
"Notify operations upon dispute opening or resolution.": "紛争の開始または解決時に操作を通知します。",
|
||||
"Event Types": "イベントタイプ",
|
||||
"Select the payment events you want to listen for": "聴きたい支払いイベントを選択してください",
|
||||
"Select the dispute events you want to listen for": "リッスンしたい紛争イベントを選択してください"
|
||||
}
|
||||
@@ -0,0 +1,276 @@
|
||||
{
|
||||
"Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.": "Uw Checkout.com geheime sleutel. Gebruik sandbox-sleutel (sk_sbox_...) voor het testen of productie sleutel (sk_... voor live transacties. Je kunt het vinden in het Checkout.com dashboard onder ontwikkelaars > API sleutels.",
|
||||
"Create Customer": "Klant aanmaken",
|
||||
"Update Customer": "Klant bijwerken",
|
||||
"Create Payment Link": "Maak Payment Link",
|
||||
"Create Payment": "Betaling aanmaken",
|
||||
"Refund a Payment": "Betaling terugbetalen",
|
||||
"Get Payment Details": "Betalingsgegevens ophalen",
|
||||
"Get Payment Actions": "Betalingsacties ophalen",
|
||||
"Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.": "Sla de gegevens van een klant op in een klantobject om te hergebruiken in toekomstige betalingen. U kunt de betalingsinstrumenten koppelen en een standaard instrument instellen.",
|
||||
"Update existing customer or their metadata.": "Bestaande klant of hun metagegevens bijwerken.",
|
||||
"Create a Payment Link to accept and process payment details.": "Maak een Payment Link om betalingsgegevens te accepteren en te verwerken.",
|
||||
"Process and manage payments from various sources including card payments and payouts.": "Verwerk en beheer betalingen vanuit verschillende bronnen, waaronder kaartbetalingen en uitbetalingen.",
|
||||
"Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.": "Een terugbetaling uitgeven (volledig of gedeeltelijk) voor een vastgelegde betaling. Ondersteunt gesplitste terugbetalingen, regelitems en bestemmingen op bankrekeningen.",
|
||||
"Check transaction amount and status before refunding.": "Controleer het transactiebedrag en de status voordat u terugbetaalt.",
|
||||
"Build full transaction lifecycles for audit logs.": "Bouw volledige transactie lifecycles voor auditlogboeken.",
|
||||
"Email": "E-mail",
|
||||
"Name": "Naam",
|
||||
"Phone Country Code": "Telefoon landcode",
|
||||
"Phone Number": "Telefoon nummer",
|
||||
"Metadata": "Metagegevens",
|
||||
"Default Instrument ID": "Standaard Instrument ID",
|
||||
"Customer ID": "Klant ID",
|
||||
"Amount": "Hoeveelheid",
|
||||
"Currency": "valuta",
|
||||
"Reference": "Referentie",
|
||||
"Description": "Beschrijving",
|
||||
"Billing Country": "Facturatie land",
|
||||
"Billing Address Line 1": "Facturatieadres regel 1",
|
||||
"Billing Address Line 2": "Facturatieadres regel 2",
|
||||
"Billing City": "Facturering stad",
|
||||
"Billing State": "Factuur Provincie",
|
||||
"Billing ZIP": "Facturering postcode",
|
||||
"Billing Phone Country Code": "Factuur telefoon landcode",
|
||||
"Billing Phone Number": "Telefoonnummer factuuradres",
|
||||
"Customer Email": "Klant e-mail",
|
||||
"Customer Name": "Klant naam",
|
||||
"Customer Phone Country Code": "Klant Telefoon Land Code",
|
||||
"Customer Phone Number": "Telefoonnummer klant",
|
||||
"Expires In (seconds)": "Verloopt over (seconden)",
|
||||
"Display Name": "Weergavenaam",
|
||||
"Return URL": "Retour URL",
|
||||
"Locale": "Lokalisatie",
|
||||
"Allow Payment Methods": "Betaalmethoden toestaan",
|
||||
"Disabled Payment Methods": "Uitgeschakelde betaalmethoden",
|
||||
"Products": "Product(en)",
|
||||
"Shipping Country": "Afleveradres Land",
|
||||
"Shipping Address Line 1": "Verzendadres regel 1",
|
||||
"Shipping Address Line 2": "Verzendadres regel 2",
|
||||
"Shipping City": "Verzend stad",
|
||||
"Shipping State": "Verzend provincie",
|
||||
"Shipping ZIP": "Verzend postcode",
|
||||
"Payment Type": "Betalings Type",
|
||||
"Processing Channel ID": "Verwerking kanaal ID",
|
||||
"Capture Payment": "Leg betaling vast",
|
||||
"Enable 3D Secure": "3D Secure inschakelen",
|
||||
"3DS Challenge Preference": "3DS Challenge voorkeuren",
|
||||
"Payment Source Type": "Betaling Bron Type",
|
||||
"Card Number": "Kaart nummer",
|
||||
"Expiry Month": "Verval maand",
|
||||
"Expiry Year": "Verloopdatum jaar",
|
||||
"CVV": "CVV",
|
||||
"Cardholder Name": "Naam kaarthouder",
|
||||
"Token ID": "Token ID",
|
||||
"Instrument ID": "Instrument ID",
|
||||
"Account Holder First Name": "Voornaam rekeninghouder",
|
||||
"Account Holder Last Name": "Achternaam rekeninghouder",
|
||||
"Account Holder Middle Name": "Rekening houder Middelste Naam",
|
||||
"Shipping First Name": "Verzending voornaam",
|
||||
"Shipping Last Name": "Verzending achternaam",
|
||||
"Shipping Email": "E-mail verzendadres",
|
||||
"Authorization Type": "Autorisatie Type",
|
||||
"Allow 3DS Upgrade": "Sta 3DS upgrade toe",
|
||||
"Enable Risk Assessment": "Risico toets inschakelen",
|
||||
"Customer IP Address": "Klant IP adres",
|
||||
"Previous Payment ID": "Vorige betalings ID",
|
||||
"Success URL": "Succes URL",
|
||||
"Failure URL": "Fout URL",
|
||||
"Payment ID": "Betaling ID",
|
||||
"Refund Amount": "Restitutie bedrag",
|
||||
"Refund Reference": "Restitutie referentie",
|
||||
"Capture Action ID": "Leg actie ID vast",
|
||||
"Amount Allocations": "Toegewezen hoeveelheid",
|
||||
"Line Items": "Posities regel",
|
||||
"Destination Country": "Bestemming Land",
|
||||
"Account Number": "Rekening Nummer",
|
||||
"Bank Code": "Code bank",
|
||||
"IBAN": "IBAN",
|
||||
"SWIFT BIC": "SWIFT BIC",
|
||||
"Account Holder Type": "Type rekeninghouder",
|
||||
"Company Name": "Bedrijfsnaam",
|
||||
"Account Holder Email": "E-mailadres van de rekeninghouder",
|
||||
"Address Line 1": "Adresregel 1",
|
||||
"Address Line 2": "Adresregel 2",
|
||||
"City": "Woonplaats",
|
||||
"State": "Provincie",
|
||||
"ZIP Code": "Postcode code",
|
||||
"Country": "Land:",
|
||||
"Bank Name": "Naam bank",
|
||||
"Bank Branch": "Bank branch",
|
||||
"Bank Address Line 1": "Bankadres regel 1",
|
||||
"Bank Address Line 2": "Bankadres regel 2",
|
||||
"Bank City": "Plaats bank",
|
||||
"Bank Country": "Land bank",
|
||||
"The customer's email address": "E-mailadres van de klant",
|
||||
"The customer's name": "Naam klant",
|
||||
"The international country calling code (e.g., +1, +44). Required if phone number is provided.": "De internationale code voor oproepen (bijv. +1, +44). Vereist als het telefoonnummer is opgegeven.",
|
||||
"The phone number (6-25 characters). Required if country code is provided.": "Het telefoonnummer (6-25 tekens). Vereist als landcode is opgegeven.",
|
||||
"Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.": "Extra informatie over de klant. Maximaal 10 sleutelwaarde, elk tot 100 tekens.",
|
||||
"The ID of the payment instrument to set as this customer's default": "Het ID van het betaalinstrument om als standaard van deze klant in te stellen",
|
||||
"The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "Het ID van de bij te werken klant (bijv. cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"Additional information about the customer. Will replace any existing metadata.": "Aanvullende informatie over de klant. Zal alle bestaande metagegevens vervangen.",
|
||||
"The ID of this customer's default instrument": "Het ID van het standaard instrument van deze klant",
|
||||
"The payment amount in minor units (e.g., cents for USD)": "Het betalingsbedrag in kleine eenheden (bijv. cent voor USD)",
|
||||
"The three-letter ISO currency code (e.g., USD, EUR)": "De drie-letterige ISO-valuta code (bijv. USD, EUR)",
|
||||
"A reference to identify the payment (e.g., order number)": "Een referentie om de betaling te identificeren (bijv. ordernummer)",
|
||||
"A description of the payment": "Een beschrijving van de betaling",
|
||||
"The two-letter ISO country code (e.g., US, GB)": "De ISO-landcode van twee letters (bijv. US, GB)",
|
||||
"The first line of the billing address": "De eerste regel van het factuuradres",
|
||||
"The second line of the billing address": "De tweede regel van het factuuradres",
|
||||
"The billing address city": "De stad van het factuuradres",
|
||||
"The state or province (ISO 3166-2 code)": "De staat of provincie (ISO 3166-2 code)",
|
||||
"The billing address zip or postal code": "Het factuuradres met postcode of postcode",
|
||||
"The international country calling code (e.g., +1)": "Het internationale land dat code oproept (bijv. +1)",
|
||||
"The phone number (6-25 characters)": "Het telefoonnummer (6-25 tekens)",
|
||||
"The customer's phone number": "Telefoonnummer van de klant",
|
||||
"Time for which the link remains valid (default: 86400)": "Tijd waarvoor de link geldig blijft (standaard: 86400)",
|
||||
"The merchant name to display to customers on the checkout page": "De handelaar naam om weer te geven aan klanten op de afreken pagina",
|
||||
"URL to redirect customer after successful payment": "URL om klant te omleiden na succesvolle betaling",
|
||||
"Language and region for the payment page": "Taal en regio voor de betaalpagina",
|
||||
"Specific payment methods to present to customers": "Specifieke betaalmethoden om te presenteren aan klanten",
|
||||
"Payment methods to NOT present to customers": "Betalingsmethoden NIET aanwezig aan klanten",
|
||||
"Details about the products in the order": "Details over de producten in de bestelling",
|
||||
"The two-letter ISO country code for shipping": "De twee letters ISO landcode voor verzending",
|
||||
"The first line of the shipping address": "De eerste regel van het verzendadres",
|
||||
"The second line of the shipping address": "De tweede regel van het verzendadres",
|
||||
"The shipping address city": "De plaats van het verzendadres",
|
||||
"The state or province for shipping": "De staat of provincie voor verzending",
|
||||
"The shipping address zip or postal code": "Het verzendadres met postcode of postcode",
|
||||
"Type of payment for card transactions": "Type betaling voor kaarttransacties",
|
||||
"The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx": "Het verwerkingskanaal voor de betaling. Dit vindt u in het dashboard van Checkout.com onder Instellingen > Verwerkingskanalen. Formaat: pc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"Whether to capture the payment immediately": "Of de betaling onmiddellijk moet worden vastgelegd",
|
||||
"Whether to process as 3D Secure payment": "Of als 3D Secure betaling moet worden verwerkt",
|
||||
"Preference for 3DS challenge": "Voorkeur voor 3DS challenge",
|
||||
"Additional key-value pairs for transaction information": "Extra sleutelwaarde paren voor transactieinformatie",
|
||||
"The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.": "Het betalingsbedrag in kleine eenheden (bijv. cents for USD). Gebruik 0 voor kaartverificatie.",
|
||||
"Your reference for the payment (e.g., order number)": "Uw referentie voor de betaling (bijv. ordernummer)",
|
||||
"The type of payment source": "Het type betalingsbron",
|
||||
"The card number (without separators). Required for card payments.": "Het kaartnummer (zonder scheidingstekens). Vereist voor kaartbetalingen.",
|
||||
"The expiry month of the card (1-12)": "De verval maand van de kaart (1-12)",
|
||||
"The expiry year of the card (4 digits)": "Het verval jaar van de kaart (4 cijfers)",
|
||||
"The card verification code (3-4 digits)": "De verificatiecode van de kaart (3-4 cijfers)",
|
||||
"The name of the cardholder": "De naam van de kaarthouder",
|
||||
"The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "Het klant-ID (voor klant-brontype, b.v. cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"The token ID (for token source type)": "Het token ID (voor token bron type)",
|
||||
"The instrument ID (for instrument source type)": "Het instrument-ID (voor instrumentbron type)",
|
||||
"The billing city": "De factuurstad",
|
||||
"The billing state or province": "De factureringsstaat of provincie",
|
||||
"The billing ZIP or postal code": "De factuurcode ZIP of postcode",
|
||||
"The two-letter ISO country code": "De twee letters ISO landcode",
|
||||
"The first name of the account holder": "De voornaam van de rekeninghouder",
|
||||
"The last name of the account holder": "De achternaam van de rekeninghouder",
|
||||
"The middle name of the account holder": "De tweede naam van de rekeninghouder",
|
||||
"The international country calling code": "Het internationale land dat code oproept",
|
||||
"The first name for shipping": "De voornaam voor verzending",
|
||||
"The last name for shipping": "De achternaam voor verzending",
|
||||
"The email for shipping notifications": "De e-mail voor verzendnotificaties",
|
||||
"The shipping city": "De verzendplaats",
|
||||
"The shipping state or province": "De verzendstaat of provincie",
|
||||
"The shipping ZIP or postal code": "Postcode voor verzending of post",
|
||||
"The type of payment": "Het soort betaling",
|
||||
"The type of authorization": "Het type autorisatie",
|
||||
"Process as 3DS if soft declined due to 3DS authentication required": "Proces als 3DS als soft declined vanwege 3DS authenticatie vereist",
|
||||
"Whether to perform risk assessment": "Risico-beoordeling uitvoeren",
|
||||
"The customer's IP address (IPv4 or IPv6)": "Het IP-adres van de klant (IPv4 of IPv6)",
|
||||
"The processing channel to use for the payment": "Het te gebruiken verwerkingskanaal voor de betaling",
|
||||
"Link to existing payment series (for recurring payments)": "Link naar bestaande betalings series (voor herhalende betalingen)",
|
||||
"Success redirect URL for redirect payment methods": "Omleidings-URL voor omleiding van betalingsmethoden",
|
||||
"Failure redirect URL for redirect payment methods": "Fout bij doorsturen URL voor omleiding van betalingsmethoden",
|
||||
"A reference, such as an order ID, that can be used to identify the payment": "Een verwijzing, zoals een order-ID, die kan worden gebruikt om de betaling te identificeren",
|
||||
"Select the payment to refund": "Selecteer de betaling voor terugbetaling",
|
||||
"The amount to refund in minor units. If not specified, full payment amount will be refunded.": "Het bedrag van terugbetaling in kleine eenheden. Indien niet opgegeven, wordt het volledige betalingsbedrag terugbetaald.",
|
||||
"Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)": "Uw referentie voor terugbetaling (max 80 tekens, 30 voor Amex, 50 voor TWINT)",
|
||||
"The action ID of the capture to refund (only for PayPal and Riverty)": "De actie-ID van de capture om te restitueren (alleen voor PayPal en Riverty)",
|
||||
"Split refund allocations for sub-entities": "Splits restitutie toewijzingen voor subentiteiten",
|
||||
"Order line items for the refund": "Bestelposities voor de restitutie",
|
||||
"Two-letter ISO country code for bank account (required for giropay/EPS)": "ISO-landcode met twee letters voor bankrekening (vereist voor giropay/EPS)",
|
||||
"The bank account number": "Het bankrekeningnummer",
|
||||
"The code that identifies the bank": "De code die de bank identificeert",
|
||||
"International Bank Account Number": "International Bank Rekeningnummer",
|
||||
"8 or 11-digit code identifying the bank": "8 of 11-cijferige code die de bank identificeert",
|
||||
"The account holder's first name": "De voornaam van de rekeninghouder",
|
||||
"The account holder's last name": "De voornaam van de rekeninghouder",
|
||||
"The type of account holder": "Het type rekeninghouder",
|
||||
"Company name for corporate account holders": "Bedrijfsnaam voor rekeninghouders van bedrijven",
|
||||
"The account holder's email address": "E-mailadres van de rekeninghouder",
|
||||
"International country calling code": "Internationale oproep code",
|
||||
"The account holder's phone number": "Telefoonnummer van de rekeninghouder",
|
||||
"First line of the account holder's address": "Eerste regel van het adres van de rekeninghouder",
|
||||
"Second line of the account holder's address": "Tweede regel van het adres van de rekeninghouder",
|
||||
"Account holder's city": "Plaats van rekeninghouder",
|
||||
"Account holder's state or province": "Provincie van rekeninghouder of provincie",
|
||||
"Account holder's ZIP or postal code": "Postcode of postcode van rekeninghouder",
|
||||
"Two-letter ISO country code": "Twee letter ISO landcode",
|
||||
"The name of the bank": "De naam van de bank",
|
||||
"The name of the bank branch": "De naam van het bankfiliaal",
|
||||
"First line of the bank's address": "Eerste regel van het adres van de bank",
|
||||
"Second line of the bank's address": "Tweede regel van het adres van de bank",
|
||||
"The bank's city": "Plaats van de bank",
|
||||
"Two-letter ISO country code for the bank": "2-letter ISO landcode voor de bank",
|
||||
"Additional key-value pairs for the refund request": "Extra sleutelwaarde-paren voor het restitutieverzoek",
|
||||
"Select the payment to get details for": "Selecteer de betaling om details te krijgen voor",
|
||||
"Select the payment to get actions for": "Selecteer de betaling om acties te krijgen voor",
|
||||
"English (GB)": "Nederlands (GB)",
|
||||
"Arabic": "Arabisch",
|
||||
"Danish (Denmark)": "Deens (Denemarken)",
|
||||
"German (Germany)": "Duits (Duits)",
|
||||
"Greek": "Grieks",
|
||||
"Spanish (Spain)": "Spaans (Spanje)",
|
||||
"Finnish (Finland)": "Fins (Finland)",
|
||||
"Filipino (Philippines)": "Filipino (Philippines)",
|
||||
"French (France)": "Frans (Frankrijk)",
|
||||
"Hindi (India)": "Hindi (India)",
|
||||
"Indonesian (Indonesia)": "Indonesisch (Indonesië)",
|
||||
"Italian (Italy)": "Italiaans (Italië)",
|
||||
"Japanese (Japan)": "Japans (Japan)",
|
||||
"Malay (Malaysia)": "Maleisisch (Maleisië)",
|
||||
"Norwegian (Norway)": "Noors (Noors)",
|
||||
"Dutch (Netherlands)": "Nederlands (Nederland)",
|
||||
"Portuguese (Portugal)": "Portugees (Portugal)",
|
||||
"Swedish (Sweden)": "Zweeds (Sweden)",
|
||||
"Thai (Thailand)": "Thais (Thailand)",
|
||||
"Vietnamese (Vietnam)": "Vietnamese (Vietnam)",
|
||||
"Chinese (China)": "Chinees (China)",
|
||||
"Chinese (Hong Kong)": "Chinees (Hong Kong)",
|
||||
"Chinese (Taiwan)": "Chinees (Taiwan)",
|
||||
"Card": "Creditcard",
|
||||
"PayPal": "Paypal",
|
||||
"Apple Pay": "Apple betalen",
|
||||
"Google Pay": "Google Pay",
|
||||
"Klarna": "Klarna",
|
||||
"Alipay CN": "Alipay CN",
|
||||
"Bancontact": "Bancontact",
|
||||
"iDEAL": "iDEAAL",
|
||||
"SEPA": "SEPA",
|
||||
"Benefit": "Voordelen",
|
||||
"KNet": "Knetto",
|
||||
"STC Pay": "STC betalen",
|
||||
"Tabby": "Tabby",
|
||||
"Tamara": "Tamara",
|
||||
"Regular": "Normaal",
|
||||
"Recurring": "Terugkerend",
|
||||
"No Preference": "Geen Voorkeur",
|
||||
"No Challenge Requested": "Geen uitdaging aangevraagd",
|
||||
"Challenge Requested": "Uitdaging verzocht",
|
||||
"Card Payment": "Creditcard betaling",
|
||||
"Token": "Token",
|
||||
"Instrument": "Instrument",
|
||||
"MOTO (Mail Order/Telephone Order)": "MOTO (e-mail bestelling/telefoonnummer)",
|
||||
"Installment": "Termijnbetaling",
|
||||
"Pay Later": "Later betalen",
|
||||
"Unscheduled": "Ongepland",
|
||||
"Final": "Laatste",
|
||||
"Estimated": "Geschat",
|
||||
"Challenge Requested Mandate": "Uitdaging aangevraagd Mandaat",
|
||||
"Individual": "Individueel",
|
||||
"Corporate": "Bedrijf",
|
||||
"Government": "Regering",
|
||||
"Payment Events": "Betaling Evenementen",
|
||||
"Dispute Events": "Gebeurtenissen aanvechten",
|
||||
"Trigger order fulfillment when payment is approved.": "Trigger orderverwerking wanneer betaling wordt goedgekeurd.",
|
||||
"Notify operations upon dispute opening or resolution.": "Informeer activiteiten bij het openen of oplossen van geschillen.",
|
||||
"Event Types": "Event Types",
|
||||
"Select the payment events you want to listen for": "Selecteer de betaalgebeurtenissen waar u naar wilt luisteren",
|
||||
"Select the dispute events you want to listen for": "Selecteer de geschilgebeurtenissen waar u naar wilt luisteren"
|
||||
}
|
||||
@@ -0,0 +1,276 @@
|
||||
{
|
||||
"Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.": "Sua chave secreta Checkout.com. Use a chave sandbox (sk_sbox_...) para teste ou chave de produção (sk_... para transações ao vivo. Você pode encontrá-lo no painel Checkout.com sob as chaves API de desenvolvedores.",
|
||||
"Create Customer": "Criar Cliente",
|
||||
"Update Customer": "Atualizar Cliente",
|
||||
"Create Payment Link": "Criar Link de Pagamento",
|
||||
"Create Payment": "Criar Pagamento",
|
||||
"Refund a Payment": "Reembolsar um Pagamento",
|
||||
"Get Payment Details": "Obter Detalhes do Pagamento",
|
||||
"Get Payment Actions": "Obter ações de pagamento",
|
||||
"Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.": "Armazena os detalhes de um cliente em um objeto de cliente para reutilizar em pagamentos futuros. Você pode vincular instrumentos de pagamento e definir um instrumento padrão.",
|
||||
"Update existing customer or their metadata.": "Atualizar o cliente existente ou seus metadados.",
|
||||
"Create a Payment Link to accept and process payment details.": "Crie um Link de Pagamento para aceitar e processar detalhes de pagamento.",
|
||||
"Process and manage payments from various sources including card payments and payouts.": "Processar e gerenciar pagamentos de várias fontes, incluindo pagamentos com cartão e pagamentos.",
|
||||
"Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.": "Emita um reembolso (completo ou parcial) para um pagamento capturado. Suporta reembolsos divididos, itens de linha e destinos de contas bancárias.",
|
||||
"Check transaction amount and status before refunding.": "Verificar valor e estado da transação antes de reembolso.",
|
||||
"Build full transaction lifecycles for audit logs.": "Construa um ciclo de vida completo para registros de auditoria.",
|
||||
"Email": "e-mail",
|
||||
"Name": "Nome",
|
||||
"Phone Country Code": "Código do país telefone",
|
||||
"Phone Number": "Número de telefone",
|
||||
"Metadata": "Metadados",
|
||||
"Default Instrument ID": "ID padrão do instrumento",
|
||||
"Customer ID": "ID do cliente",
|
||||
"Amount": "Quantidade",
|
||||
"Currency": "moeda",
|
||||
"Reference": "Referência",
|
||||
"Description": "Descrição",
|
||||
"Billing Country": "Billing País",
|
||||
"Billing Address Line 1": "Endereço de Faturamento Linha 1",
|
||||
"Billing Address Line 2": "Endereço de Faturamento Linha 2",
|
||||
"Billing City": "Cidade de Cobrança",
|
||||
"Billing State": "Estado de Cobrança",
|
||||
"Billing ZIP": "CEP de Cobrança",
|
||||
"Billing Phone Country Code": "Código do país de faturamento",
|
||||
"Billing Phone Number": "Número de Faturamento",
|
||||
"Customer Email": "E-mail do Cliente",
|
||||
"Customer Name": "Nome do cliente",
|
||||
"Customer Phone Country Code": "Código do País do Cliente",
|
||||
"Customer Phone Number": "Número de telefone do cliente",
|
||||
"Expires In (seconds)": "Expira em (segundos)",
|
||||
"Display Name": "Nome de Exibição",
|
||||
"Return URL": "URL de retorno",
|
||||
"Locale": "Localidade",
|
||||
"Allow Payment Methods": "Permitir Métodos de Pagamento",
|
||||
"Disabled Payment Methods": "Métodos de pagamento desativados",
|
||||
"Products": "produtos",
|
||||
"Shipping Country": "O envio País",
|
||||
"Shipping Address Line 1": "Linha Endereço de Envio 1",
|
||||
"Shipping Address Line 2": "Linha Endereço de Envio 2",
|
||||
"Shipping City": "Cidade de Entrega",
|
||||
"Shipping State": "Estado de envio",
|
||||
"Shipping ZIP": "Entrega ZIP",
|
||||
"Payment Type": "Tipo de Pagamento",
|
||||
"Processing Channel ID": "Processando ID do Canal",
|
||||
"Capture Payment": "Capturar pagamento",
|
||||
"Enable 3D Secure": "Habilitar 3D Seguro",
|
||||
"3DS Challenge Preference": "Preferência de desafio 3DS",
|
||||
"Payment Source Type": "Tipo de Pagamento",
|
||||
"Card Number": "Número do cartão",
|
||||
"Expiry Month": "Mês de Vencimento",
|
||||
"Expiry Year": "Ano de expiração",
|
||||
"CVV": "CVV",
|
||||
"Cardholder Name": "Titular do Cartão",
|
||||
"Token ID": "Token ID",
|
||||
"Instrument ID": "ID do Instrumento",
|
||||
"Account Holder First Name": "Primeiro nome do cliente",
|
||||
"Account Holder Last Name": "Sobrenome da conta",
|
||||
"Account Holder Middle Name": "Nome do medidor do cliente",
|
||||
"Shipping First Name": "Primeiro nome do frete",
|
||||
"Shipping Last Name": "Sobrenome do Envio",
|
||||
"Shipping Email": "E-mail de entrega",
|
||||
"Authorization Type": "Tipo de autorização",
|
||||
"Allow 3DS Upgrade": "Permitir Atualização do 3DS",
|
||||
"Enable Risk Assessment": "Habilitar Avaliação de Risco",
|
||||
"Customer IP Address": "Endereço IP do cliente",
|
||||
"Previous Payment ID": "ID de pagamento anterior",
|
||||
"Success URL": "URL de sucesso",
|
||||
"Failure URL": "URL de falha",
|
||||
"Payment ID": "ID de Pagamento",
|
||||
"Refund Amount": "Montante do reembolso",
|
||||
"Refund Reference": "Referência de reembolso",
|
||||
"Capture Action ID": "Capturar ID da Ação",
|
||||
"Amount Allocations": "Quantia de alocações",
|
||||
"Line Items": "Itens da linha",
|
||||
"Destination Country": "País de Destino",
|
||||
"Account Number": "Numero da Conta",
|
||||
"Bank Code": "Código do banco",
|
||||
"IBAN": "IBAN",
|
||||
"SWIFT BIC": "BIC SWIFT",
|
||||
"Account Holder Type": "Tipo de titular do cliente",
|
||||
"Company Name": "Nome da Empresa",
|
||||
"Account Holder Email": "Email do Titular da Conta",
|
||||
"Address Line 1": "Linha de Endereço 1",
|
||||
"Address Line 2": "Linha de Endereço 2",
|
||||
"City": "cidade",
|
||||
"State": "Estado:",
|
||||
"ZIP Code": "Código Postal",
|
||||
"Country": "País/região",
|
||||
"Bank Name": "Nome do Banco",
|
||||
"Bank Branch": "Agência Bancária",
|
||||
"Bank Address Line 1": "Linha de endereço do banco 1",
|
||||
"Bank Address Line 2": "Linha de endereço do banco 2",
|
||||
"Bank City": "Cidade do banco",
|
||||
"Bank Country": "País do Banco",
|
||||
"The customer's email address": "Endereço de e-mail do cliente",
|
||||
"The customer's name": "O nome do cliente",
|
||||
"The international country calling code (e.g., +1, +44). Required if phone number is provided.": "O código de chamada do país internacional (por exemplo, +1, +44). Necessário se o número de telefone é fornecido.",
|
||||
"The phone number (6-25 characters). Required if country code is provided.": "Número de telefone (6-25 caracteres). Necessário se o código do país for fornecido.",
|
||||
"Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.": "Informações adicionais sobre o cliente. Máximo de 10 pares de chave-valor, cada um até 100 caracteres.",
|
||||
"The ID of the payment instrument to set as this customer's default": "O ID do instrumento de pagamento a ser definido como padrão deste cliente",
|
||||
"The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "O ID do cliente a ser atualizado (por exemplo, cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"Additional information about the customer. Will replace any existing metadata.": "Informações adicionais sobre o cliente. Substituirá qualquer metadado existente.",
|
||||
"The ID of this customer's default instrument": "O ID do instrumento padrão deste cliente",
|
||||
"The payment amount in minor units (e.g., cents for USD)": "O valor do pagamento em unidades menores (ex.: centavos para USD)",
|
||||
"The three-letter ISO currency code (e.g., USD, EUR)": "O código ISO de três letras (e.g., USD, EUR)",
|
||||
"A reference to identify the payment (e.g., order number)": "Uma referência para identificar o pagamento (por exemplo, número do pedido)",
|
||||
"A description of the payment": "Uma descrição do pagamento",
|
||||
"The two-letter ISO country code (e.g., US, GB)": "O código de país ISO de duas letras (e.g., EUA, GB)",
|
||||
"The first line of the billing address": "A primeira linha do endereço de cobrança",
|
||||
"The second line of the billing address": "A segunda linha do endereço de cobrança",
|
||||
"The billing address city": "A cidade do endereço de cobrança",
|
||||
"The state or province (ISO 3166-2 code)": "O estado ou província (código ISO 3166-2)",
|
||||
"The billing address zip or postal code": "O CEP ou código postal de cobrança",
|
||||
"The international country calling code (e.g., +1)": "O código de chamada do país internacional (por exemplo, +1)",
|
||||
"The phone number (6-25 characters)": "Número de telefone (6-25 caracteres)",
|
||||
"The customer's phone number": "Número de telefone do cliente",
|
||||
"Time for which the link remains valid (default: 86400)": "Tempo para o qual o link permanece válido (padrão: 86400)",
|
||||
"The merchant name to display to customers on the checkout page": "O nome do comerciante para exibir aos clientes na página de checkout",
|
||||
"URL to redirect customer after successful payment": "URL para redirecionar o cliente após pagamento bem sucedido",
|
||||
"Language and region for the payment page": "Idioma e região para a página de pagamento",
|
||||
"Specific payment methods to present to customers": "Métodos de pagamento específicos para apresentar aos clientes",
|
||||
"Payment methods to NOT present to customers": "Métodos de pagamento para NÃO apresentar aos clientes",
|
||||
"Details about the products in the order": "Detalhes sobre os produtos no pedido",
|
||||
"The two-letter ISO country code for shipping": "O código de país ISO de duas letras para envio",
|
||||
"The first line of the shipping address": "A primeira linha do endereço de envio",
|
||||
"The second line of the shipping address": "A segunda linha do endereço de envio",
|
||||
"The shipping address city": "Cidade do endereço de envio",
|
||||
"The state or province for shipping": "O estado ou a província para envio",
|
||||
"The shipping address zip or postal code": "O CEP ou código postal de entrega",
|
||||
"Type of payment for card transactions": "Tipo de pagamento para transações com cartão",
|
||||
"The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx": "O canal de processamento a ser utilizado para o pagamento. Encontre no seu painel Checkout.com em Configurações > Processando Canais. Formato: pc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"Whether to capture the payment immediately": "Se deseja capturar o pagamento imediatamente",
|
||||
"Whether to process as 3D Secure payment": "Se deseja processar como pagamento 3D Secure",
|
||||
"Preference for 3DS challenge": "Preferência por desafio de 3DS",
|
||||
"Additional key-value pairs for transaction information": "Pares de chave-valor adicionais para informações de transação",
|
||||
"The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.": "A quantidade de pagamento em unidades menores (por exemplo, centavos para USD). Use 0 para verificação com cartão.",
|
||||
"Your reference for the payment (e.g., order number)": "Sua referência para o pagamento (por exemplo, número do pedido)",
|
||||
"The type of payment source": "O tipo de fonte de pagamento",
|
||||
"The card number (without separators). Required for card payments.": "O número do cartão (sem separadores). Obrigatório para pagamentos com cartão.",
|
||||
"The expiry month of the card (1-12)": "O mês de validade do cartão (1-12)",
|
||||
"The expiry year of the card (4 digits)": "O ano de validade do cartão (4 dígitos)",
|
||||
"The card verification code (3-4 digits)": "O código de verificação do cartão (3-4 dígitos)",
|
||||
"The name of the cardholder": "O nome do titular do cartão",
|
||||
"The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "O ID do cliente (para tipo de fonte do cliente, por exemplo, cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"The token ID (for token source type)": "A ID do token (para tipo de fonte de token)",
|
||||
"The instrument ID (for instrument source type)": "O ID do instrumento (para tipo de fonte de instrumento)",
|
||||
"The billing city": "A cidade de faturamento",
|
||||
"The billing state or province": "O estado do faturamento ou província",
|
||||
"The billing ZIP or postal code": "O CEP de cobrança ou código postal",
|
||||
"The two-letter ISO country code": "O código de país ISO de duas letras",
|
||||
"The first name of the account holder": "O primeiro nome do titular da conta",
|
||||
"The last name of the account holder": "O sobrenome do titular da conta",
|
||||
"The middle name of the account holder": "O nome do meio do titular da conta",
|
||||
"The international country calling code": "Código de chamada do país internacional",
|
||||
"The first name for shipping": "O primeiro nome para envio",
|
||||
"The last name for shipping": "O sobrenome para envio",
|
||||
"The email for shipping notifications": "O e-mail para notificações de envio",
|
||||
"The shipping city": "A cidade de envio",
|
||||
"The shipping state or province": "O estado do envio ou província",
|
||||
"The shipping ZIP or postal code": "O CEP ou código postal de envio",
|
||||
"The type of payment": "O tipo de pagamento",
|
||||
"The type of authorization": "O tipo de autorização",
|
||||
"Process as 3DS if soft declined due to 3DS authentication required": "Processar como 3DS se um software for recusado devido à necessidade de autenticação do 3DS",
|
||||
"Whether to perform risk assessment": "Se deseja executar uma avaliação de risco",
|
||||
"The customer's IP address (IPv4 or IPv6)": "O endereço IP do cliente (IPv4 ou IPv6)",
|
||||
"The processing channel to use for the payment": "O canal de processamento a ser usado no pagamento",
|
||||
"Link to existing payment series (for recurring payments)": "Link para séries de pagamento existentes (para pagamentos recorrentes)",
|
||||
"Success redirect URL for redirect payment methods": "URL de redirecionamento de sucesso para métodos de pagamento de redirecionamento",
|
||||
"Failure redirect URL for redirect payment methods": "URL de redirecionamento de falha para métodos de pagamento de redirecionamento",
|
||||
"A reference, such as an order ID, that can be used to identify the payment": "Uma referência, como um ID de pedido, que pode ser usada para identificar o pagamento",
|
||||
"Select the payment to refund": "Selecione o pagamento para reembolso",
|
||||
"The amount to refund in minor units. If not specified, full payment amount will be refunded.": "O montante a reembolsar em unidades menores. Se não for especificado, o valor total do pagamento será reembolsado.",
|
||||
"Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)": "Sua referência para reembolso (máx. 80 caracteres, 30 para Amex, 50 para TWINT)",
|
||||
"The action ID of the capture to refund (only for PayPal and Riverty)": "A ação ID da captura para reembolsar (somente para PayPal e Riverty)",
|
||||
"Split refund allocations for sub-entities": "Dividir alocações de reembolso para subentidades",
|
||||
"Order line items for the refund": "Pedir itens de linha para o reembolso",
|
||||
"Two-letter ISO country code for bank account (required for giropay/EPS)": "Código ISO de 2 letras para conta bancária (requerido para giropay/EPS)",
|
||||
"The bank account number": "Número da conta bancária",
|
||||
"The code that identifies the bank": "O código que identifica o banco",
|
||||
"International Bank Account Number": "Número da Conta Bancária Internacional",
|
||||
"8 or 11-digit code identifying the bank": "Código de 8 ou 11 dígitos identificando o banco",
|
||||
"The account holder's first name": "Primeiro nome do titular da conta",
|
||||
"The account holder's last name": "Sobrenome do titular da conta",
|
||||
"The type of account holder": "O tipo de titular da conta",
|
||||
"Company name for corporate account holders": "Nome da empresa para titulares de contas corporativas",
|
||||
"The account holder's email address": "Endereço de e-mail do titular da conta",
|
||||
"International country calling code": "Código de chamada do país internacional",
|
||||
"The account holder's phone number": "Número de telefone do titular da conta",
|
||||
"First line of the account holder's address": "Primeira linha do endereço do titular da conta",
|
||||
"Second line of the account holder's address": "Segunda linha do endereço do titular da conta",
|
||||
"Account holder's city": "Cidade do titular da conta",
|
||||
"Account holder's state or province": "Estado do titular da conta ou província",
|
||||
"Account holder's ZIP or postal code": "CEP ou código postal do titular da conta",
|
||||
"Two-letter ISO country code": "Código ISO do país de duas letras",
|
||||
"The name of the bank": "O nome do banco",
|
||||
"The name of the bank branch": "O nome da agência bancária",
|
||||
"First line of the bank's address": "Primeira linha do endereço do banco",
|
||||
"Second line of the bank's address": "Segunda linha do endereço do banco",
|
||||
"The bank's city": "Cidade do banco",
|
||||
"Two-letter ISO country code for the bank": "Código ISO de dois letras para o banco",
|
||||
"Additional key-value pairs for the refund request": "Pares de chave-valor adicionais para a solicitação de reembolso",
|
||||
"Select the payment to get details for": "Selecione o pagamento para obter detalhes para",
|
||||
"Select the payment to get actions for": "Selecione o pagamento para obter ações para",
|
||||
"English (GB)": "Portuguese (Brazil) pt-BR",
|
||||
"Arabic": "Arábico",
|
||||
"Danish (Denmark)": "Dinamarquês (Dinamarca)",
|
||||
"German (Germany)": "Alemão (Alemão)",
|
||||
"Greek": "Grego",
|
||||
"Spanish (Spain)": "Espanhol (Espanha)",
|
||||
"Finnish (Finland)": "Finlandês (Finlândia)",
|
||||
"Filipino (Philippines)": "Filipino (Philippines)",
|
||||
"French (France)": "Francês (França)",
|
||||
"Hindi (India)": "Hindi (Índia)",
|
||||
"Indonesian (Indonesia)": "Indonésio (Indonésia)",
|
||||
"Italian (Italy)": "Italiano (Itália)",
|
||||
"Japanese (Japan)": "Japonês (Japão)",
|
||||
"Malay (Malaysia)": "Malásia (Malásia)",
|
||||
"Norwegian (Norway)": "Norueguês (Noruega)",
|
||||
"Dutch (Netherlands)": "Holandês (Holanda)",
|
||||
"Portuguese (Portugal)": "Português (Portugal)",
|
||||
"Swedish (Sweden)": "Sueco (Sweden)",
|
||||
"Thai (Thailand)": "Tailandês (Tailândia)",
|
||||
"Vietnamese (Vietnam)": "Vietnamese (Vietnam)",
|
||||
"Chinese (China)": "Chinês (China)",
|
||||
"Chinese (Hong Kong)": "Chinês (Hong Kong)",
|
||||
"Chinese (Taiwan)": "Chinês (Taiwan)",
|
||||
"Card": "Carta",
|
||||
"PayPal": "Paypal",
|
||||
"Apple Pay": "Apple Pay",
|
||||
"Google Pay": "Google Pay",
|
||||
"Klarna": "Klarna",
|
||||
"Alipay CN": "Alipay CN",
|
||||
"Bancontact": "Banquete",
|
||||
"iDEAL": "IDEAL",
|
||||
"SEPA": "SEPA",
|
||||
"Benefit": "Benefício",
|
||||
"KNet": "KNet",
|
||||
"STC Pay": "Pagamento STC",
|
||||
"Tabby": "Tabby",
|
||||
"Tamara": "Guiana",
|
||||
"Regular": "Padrão",
|
||||
"Recurring": "Recorrentes",
|
||||
"No Preference": "Nenhuma Preferência",
|
||||
"No Challenge Requested": "Nenhum desafio solicitado",
|
||||
"Challenge Requested": "Desafio Solicitado",
|
||||
"Card Payment": "Cartão de Pagamento",
|
||||
"Token": "Identificador",
|
||||
"Instrument": "Instrumento",
|
||||
"MOTO (Mail Order/Telephone Order)": "MOTO (pedido de e-mail/telefone)",
|
||||
"Installment": "Parcela",
|
||||
"Pay Later": "Mais tarde",
|
||||
"Unscheduled": "Desagendado",
|
||||
"Final": "Final",
|
||||
"Estimated": "Estimado",
|
||||
"Challenge Requested Mandate": "Desafio Solicitado Mandate",
|
||||
"Individual": "Individual",
|
||||
"Corporate": "Corporativo",
|
||||
"Government": "Governo",
|
||||
"Payment Events": "Eventos de Pagamento",
|
||||
"Dispute Events": "Eventos de disputa",
|
||||
"Trigger order fulfillment when payment is approved.": "Acionar o atendimento de pedidos quando o pagamento for aprovado.",
|
||||
"Notify operations upon dispute opening or resolution.": "Notificar operações na abertura ou resolução de litígios.",
|
||||
"Event Types": "Tipos de Evento",
|
||||
"Select the payment events you want to listen for": "Selecione os eventos de pagamento que você deseja ouvir",
|
||||
"Select the dispute events you want to listen for": "Selecione os eventos da disputa que você deseja ouvir"
|
||||
}
|
||||
@@ -0,0 +1,277 @@
|
||||
{
|
||||
"Checkout.com": "Checkout.com",
|
||||
"Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.": "Checkout.com секретный ключ. Используйте клавишу песочницы (sk_sbox_...) для тестирования или получения ключа производства (sk_... для транзакций в реальном времени. Вы можете найти его в панели Checkout.com под Разработчики > API клавиш.",
|
||||
"Create Customer": "Создать клиента",
|
||||
"Update Customer": "Обновить клиента",
|
||||
"Create Payment Link": "Создать платёжную ссылку",
|
||||
"Create Payment": "Создать платеж",
|
||||
"Refund a Payment": "Возврат платежа",
|
||||
"Get Payment Details": "Получить данные об оплате",
|
||||
"Get Payment Actions": "Получить платежные действия",
|
||||
"Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.": "Сохраните данные клиента в объекте покупателя для повторного использования в будущих платежах. Вы можете связать платежные инструменты и установить стандартный инструмент.",
|
||||
"Update existing customer or their metadata.": "Обновите существующего клиента или его метаданных.",
|
||||
"Create a Payment Link to accept and process payment details.": "Создайте платёжную ссылку для принятия и обработки платежных реквизитов.",
|
||||
"Process and manage payments from various sources including card payments and payouts.": "Обрабатывайте и управляйте платежами из различных источников, включая платежи и выплаты.",
|
||||
"Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.": "Выдать возврат (полный или частичный) для фиксированного платежа. Поддерживает разделение возвратов, строк и пунктов назначения на банковский счет.",
|
||||
"Check transaction amount and status before refunding.": "Проверьте сумму и статус транзакции перед возвратом.",
|
||||
"Build full transaction lifecycles for audit logs.": "Постройте полный жизненный цикл транзакций для аудиторских журналов.",
|
||||
"Email": "Почта",
|
||||
"Name": "Наименование",
|
||||
"Phone Country Code": "Код страны телефона",
|
||||
"Phone Number": "Номер телефона",
|
||||
"Metadata": "Метаданные",
|
||||
"Default Instrument ID": "ID прибора по умолчанию",
|
||||
"Customer ID": "ID клиента",
|
||||
"Amount": "Сумма",
|
||||
"Currency": "Валюта",
|
||||
"Reference": "Артикул",
|
||||
"Description": "Description",
|
||||
"Billing Country": "Страна выставления счетов",
|
||||
"Billing Address Line 1": "Платежный адрес, строка 1",
|
||||
"Billing Address Line 2": "Платежный адрес, строка 2",
|
||||
"Billing City": "Город плательщика",
|
||||
"Billing State": "Статус плательщика",
|
||||
"Billing ZIP": "Почтовый индекс",
|
||||
"Billing Phone Country Code": "Код страны с оплатой",
|
||||
"Billing Phone Number": "Телефон плательщика",
|
||||
"Customer Email": "Email клиента",
|
||||
"Customer Name": "Имя клиента",
|
||||
"Customer Phone Country Code": "Код страны телефона клиента",
|
||||
"Customer Phone Number": "Телефон клиента",
|
||||
"Expires In (seconds)": "Истекает через (секунд)",
|
||||
"Display Name": "Показать имя",
|
||||
"Return URL": "URL возврата",
|
||||
"Locale": "Язык",
|
||||
"Allow Payment Methods": "Разрешить способы оплаты",
|
||||
"Disabled Payment Methods": "Отключенные способы оплаты",
|
||||
"Products": "Товары",
|
||||
"Shipping Country": "Страна доставки",
|
||||
"Shipping Address Line 1": "Адрес доставки, строка 1",
|
||||
"Shipping Address Line 2": "Адрес доставки, строка 2",
|
||||
"Shipping City": "Город доставки",
|
||||
"Shipping State": "Область доставки",
|
||||
"Shipping ZIP": "ZIP доставки",
|
||||
"Payment Type": "Тип платежа",
|
||||
"Processing Channel ID": "Идентификатор обрабатываемого канала",
|
||||
"Capture Payment": "Захват платежа",
|
||||
"Enable 3D Secure": "Включить 3D Secure",
|
||||
"3DS Challenge Preference": "Настройки 3DS",
|
||||
"Payment Source Type": "Тип источника оплаты",
|
||||
"Card Number": "Номер карты",
|
||||
"Expiry Month": "Месяц истечения",
|
||||
"Expiry Year": "Год окончания",
|
||||
"CVV": "CVV",
|
||||
"Cardholder Name": "Имя владельца карты",
|
||||
"Token ID": "Token ID",
|
||||
"Instrument ID": "ID прибора",
|
||||
"Account Holder First Name": "Имя владельца счета",
|
||||
"Account Holder Last Name": "Фамилия владельца счета",
|
||||
"Account Holder Middle Name": "Среднее имя владельца счета",
|
||||
"Shipping First Name": "Имя получателя",
|
||||
"Shipping Last Name": "Фамилия доставки",
|
||||
"Shipping Email": "Email доставки",
|
||||
"Authorization Type": "Тип авторизации",
|
||||
"Allow 3DS Upgrade": "Разрешить обновление 3DS",
|
||||
"Enable Risk Assessment": "Включить оценку рисков",
|
||||
"Customer IP Address": "IP-адрес клиента",
|
||||
"Previous Payment ID": "Предыдущий ID платежа",
|
||||
"Success URL": "URL успеха",
|
||||
"Failure URL": "URL ошибки",
|
||||
"Payment ID": "ID платежа",
|
||||
"Refund Amount": "Сумма возврата",
|
||||
"Refund Reference": "Ссылка на возврат",
|
||||
"Capture Action ID": "ID действия захвата",
|
||||
"Amount Allocations": "Сумма распределения",
|
||||
"Line Items": "Позиции",
|
||||
"Destination Country": "Страна назначения",
|
||||
"Account Number": "Номер счета",
|
||||
"Bank Code": "Код банка",
|
||||
"IBAN": "IBAN",
|
||||
"SWIFT BIC": "SWIFT БИК",
|
||||
"Account Holder Type": "Тип владельца счета",
|
||||
"Company Name": "Название компании",
|
||||
"Account Holder Email": "Email владельца счета",
|
||||
"Address Line 1": "Адрес, строка 1",
|
||||
"Address Line 2": "Адрес, строка 2",
|
||||
"City": "Город",
|
||||
"State": "Область",
|
||||
"ZIP Code": "Почтовый индекс",
|
||||
"Country": "Страна",
|
||||
"Bank Name": "Название банка",
|
||||
"Bank Branch": "Отделение банка",
|
||||
"Bank Address Line 1": "Адрес банка 1",
|
||||
"Bank Address Line 2": "Адрес банка, строка 2",
|
||||
"Bank City": "Город банка",
|
||||
"Bank Country": "Страна банка",
|
||||
"The customer's email address": "Адрес электронной почты клиента",
|
||||
"The customer's name": "Имя клиента",
|
||||
"The international country calling code (e.g., +1, +44). Required if phone number is provided.": "Код международной страны (например, +1, +44). Требуется номер телефона.",
|
||||
"The phone number (6-25 characters). Required if country code is provided.": "Номер телефона (6-25 символов). Требуется если указан код страны.",
|
||||
"Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.": "Дополнительная информация о клиенте. Максимум 10 пары ключевого значения, каждое до 100 символов.",
|
||||
"The ID of the payment instrument to set as this customer's default": "ID платежного инструмента, установленного по умолчанию этого клиента",
|
||||
"The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "ID клиента для обновления (например, cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"Additional information about the customer. Will replace any existing metadata.": "Дополнительная информация о клиенте. Заменит существующие метаданные.",
|
||||
"The ID of this customer's default instrument": "ID стандартного инструмента этого клиента",
|
||||
"The payment amount in minor units (e.g., cents for USD)": "Сумма платежа в мелких единицах (например, центах за доллары)",
|
||||
"The three-letter ISO currency code (e.g., USD, EUR)": "Трехсимвольный код валюты ISO (например, USD, EUR)",
|
||||
"A reference to identify the payment (e.g., order number)": "Ссылка для идентификации платежа (например, номер заказа)",
|
||||
"A description of the payment": "Описание платежа",
|
||||
"The two-letter ISO country code (e.g., US, GB)": "Код страны ISO (например, США, GB)",
|
||||
"The first line of the billing address": "Первая строка платежного адреса",
|
||||
"The second line of the billing address": "Вторая строка платежного адреса",
|
||||
"The billing address city": "Город платежного адреса",
|
||||
"The state or province (ISO 3166-2 code)": "Штат или провинция (код ISO 3166-2)",
|
||||
"The billing address zip or postal code": "Почтовый индекс платежного адреса",
|
||||
"The international country calling code (e.g., +1)": "Международный телефонный код страны (например, +1)",
|
||||
"The phone number (6-25 characters)": "Телефон (6-25 символов)",
|
||||
"The customer's phone number": "Номер телефона клиента",
|
||||
"Time for which the link remains valid (default: 86400)": "Время, в течение которого ссылка остается допустимой (по умолчанию: 86400)",
|
||||
"The merchant name to display to customers on the checkout page": "Имя продавца для отображения покупателям на странице оформления заказа",
|
||||
"URL to redirect customer after successful payment": "URL-адрес для перенаправления клиента после успешной оплаты",
|
||||
"Language and region for the payment page": "Язык и регион страницы оплаты",
|
||||
"Specific payment methods to present to customers": "Конкретные способы оплаты для представления клиентам",
|
||||
"Payment methods to NOT present to customers": "Способы оплаты, чтобы НЕ представлять клиентам",
|
||||
"Details about the products in the order": "Подробнее о продуктах в заказе",
|
||||
"The two-letter ISO country code for shipping": "Двухсимвольный код страны ISO для доставки",
|
||||
"The first line of the shipping address": "Первая строка адреса доставки",
|
||||
"The second line of the shipping address": "Вторая строка адреса доставки",
|
||||
"The shipping address city": "Город доставки",
|
||||
"The state or province for shipping": "Штат или провинция для отправки",
|
||||
"The shipping address zip or postal code": "Адрес доставки или почтовый индекс",
|
||||
"Type of payment for card transactions": "Тип оплаты для карточных транзакций",
|
||||
"The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx": "Процессор канала для оплаты. Найдите это в панели Checkout.com в меню Настройки > Обработка каналов xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"Whether to capture the payment immediately": "Зафиксировать ли платеж немедленно",
|
||||
"Whether to process as 3D Secure payment": "Обрабатывать ли как 3D Secure платеж",
|
||||
"Preference for 3DS challenge": "Предпочтение для проверки 3DS",
|
||||
"Additional key-value pairs for transaction information": "Дополнительные пары ключевой стоимости для информации о транзакции",
|
||||
"The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.": "Сумма платежа в мелких единицах (например, центах за доллары США). Используйте 0 для верификации карты.",
|
||||
"Your reference for the payment (e.g., order number)": "Ваша ссылка для оплаты (например, номер заказа)",
|
||||
"The type of payment source": "Тип источника платежей",
|
||||
"The card number (without separators). Required for card payments.": "Номер карты (без разделителей). Требуется для оплаты карты.",
|
||||
"The expiry month of the card (1-12)": "Месяц истечения карточки (1-12)",
|
||||
"The expiry year of the card (4 digits)": "Год окончания срока действия карты (4 цифры)",
|
||||
"The card verification code (3-4 digits)": "Код подтверждения карты (3-4 цифры)",
|
||||
"The name of the cardholder": "Имя владельца карты",
|
||||
"The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "ID клиента (для типа источника клиента, например, cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"The token ID (for token source type)": "ID токена (для типа токена)",
|
||||
"The instrument ID (for instrument source type)": "ID инструмента (для типа источника инструмента)",
|
||||
"The billing city": "Город биллинга",
|
||||
"The billing state or province": "Регион платежа или провинция",
|
||||
"The billing ZIP or postal code": "Почтовый индекс или почтовый индекс",
|
||||
"The two-letter ISO country code": "Двухсимвольный код страны ISO",
|
||||
"The first name of the account holder": "Имя владельца счета",
|
||||
"The last name of the account holder": "Фамилия владельца счета",
|
||||
"The middle name of the account holder": "Среднее имя владельца счета",
|
||||
"The international country calling code": "Телефонный код международной страны",
|
||||
"The first name for shipping": "Имя для доставки",
|
||||
"The last name for shipping": "Фамилия для доставки",
|
||||
"The email for shipping notifications": "Email для оповещений о доставке",
|
||||
"The shipping city": "Город доставки",
|
||||
"The shipping state or province": "Штат или провинция доставки",
|
||||
"The shipping ZIP or postal code": "Индекс доставки или почтовый индекс",
|
||||
"The type of payment": "Тип платежа",
|
||||
"The type of authorization": "Тип авторизации",
|
||||
"Process as 3DS if soft declined due to 3DS authentication required": "Обрабатывать как 3DS, если требуется простая аутентификация по 3DS",
|
||||
"Whether to perform risk assessment": "Провести ли оценку риска",
|
||||
"The customer's IP address (IPv4 or IPv6)": "IP-адрес клиента (IPv4 или IPv6)",
|
||||
"The processing channel to use for the payment": "Обработка канала для оплаты",
|
||||
"Link to existing payment series (for recurring payments)": "Ссылка на существующую серию платежей (для периодических платежей)",
|
||||
"Success redirect URL for redirect payment methods": "Успешное перенаправление URL для перенаправления способов оплаты",
|
||||
"Failure redirect URL for redirect payment methods": "Сбой перенаправления URL для перенаправления способов оплаты",
|
||||
"A reference, such as an order ID, that can be used to identify the payment": "Ссылка, например, идентификатор заказа, который может использоваться для идентификации платежа",
|
||||
"Select the payment to refund": "Выберите платеж для возврата",
|
||||
"The amount to refund in minor units. If not specified, full payment amount will be refunded.": "Сумма возврата в мелких единицах. Если сумма не указана, будет возвращена в полном объеме.",
|
||||
"Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)": "Ваша ссылка на возврат (максимум 80 символов, 30 для Amex, 50 для TWINT)",
|
||||
"The action ID of the capture to refund (only for PayPal and Riverty)": "ID действия захвата для возврата средств (только для PayPal и Риверти)",
|
||||
"Split refund allocations for sub-entities": "Разделить возмещение расходов для подорганизаций",
|
||||
"Order line items for the refund": "Элементы строки заказа для возврата",
|
||||
"Two-letter ISO country code for bank account (required for giropay/EPS)": "Двухсимвольный код ISO страны для банковского счета (требуется для giropay/EPS)",
|
||||
"The bank account number": "Номер банковского счета",
|
||||
"The code that identifies the bank": "Код, который идентифицирует банк",
|
||||
"International Bank Account Number": "Номер международного банковского счета",
|
||||
"8 or 11-digit code identifying the bank": "8-ми или 11-значный код, идентифицирующий банк",
|
||||
"The account holder's first name": "Имя владельца счета",
|
||||
"The account holder's last name": "Фамилия владельца счета",
|
||||
"The type of account holder": "Тип владельца счета",
|
||||
"Company name for corporate account holders": "Название компании для владельцев корпоративных счетов",
|
||||
"The account holder's email address": "Адрес электронной почты владельца аккаунта",
|
||||
"International country calling code": "Код для международных звонков",
|
||||
"The account holder's phone number": "Номер телефона владельца счета",
|
||||
"First line of the account holder's address": "Первая строка адреса владельца счета",
|
||||
"Second line of the account holder's address": "Вторая строка адреса владельца счета",
|
||||
"Account holder's city": "Город владельца счета",
|
||||
"Account holder's state or province": "Область или область владельца счета",
|
||||
"Account holder's ZIP or postal code": "ZIP или почтовый индекс владельца клиента",
|
||||
"Two-letter ISO country code": "Двухсимвольный код ISO страны",
|
||||
"The name of the bank": "Название банка",
|
||||
"The name of the bank branch": "Название отделения банка",
|
||||
"First line of the bank's address": "Первая строка адреса банка",
|
||||
"Second line of the bank's address": "Вторая строка адреса банка",
|
||||
"The bank's city": "Город банка",
|
||||
"Two-letter ISO country code for the bank": "Двухсимвольный код ISO страны для банка",
|
||||
"Additional key-value pairs for the refund request": "Дополнительные пары ключевого значения для запроса на возврат средств",
|
||||
"Select the payment to get details for": "Выберите платеж, чтобы получить детали для",
|
||||
"Select the payment to get actions for": "Выберите платеж для получения действий за",
|
||||
"English (GB)": "Английский (GB)",
|
||||
"Arabic": "Арабский",
|
||||
"Danish (Denmark)": "Датский (Дания)",
|
||||
"German (Germany)": "Немецкий (Германия)",
|
||||
"Greek": "Греческий",
|
||||
"Spanish (Spain)": "Испанский (Испания)",
|
||||
"Finnish (Finland)": "Финский (Финляндия)",
|
||||
"Filipino (Philippines)": "Filipino (Philippines)",
|
||||
"French (France)": "Французский (Франция)",
|
||||
"Hindi (India)": "Хинди (Индия)",
|
||||
"Indonesian (Indonesia)": "Индонезийский (Индонезия)",
|
||||
"Italian (Italy)": "Итальянский (Италия)",
|
||||
"Japanese (Japan)": "Японский (Япония)",
|
||||
"Malay (Malaysia)": "Malay (Малайзия)",
|
||||
"Norwegian (Norway)": "Норвежский (Норвегия)",
|
||||
"Dutch (Netherlands)": "Голландский (Нидерланды)",
|
||||
"Portuguese (Portugal)": "Португальский (Португалия)",
|
||||
"Swedish (Sweden)": "Шведский (Швеция)",
|
||||
"Thai (Thailand)": "Тайский (Таиланд)",
|
||||
"Vietnamese (Vietnam)": "Vietnamese (Vietnam)",
|
||||
"Chinese (China)": "Китайский (Китай)",
|
||||
"Chinese (Hong Kong)": "Китайский (Гонконг)",
|
||||
"Chinese (Taiwan)": "Китайский (Тайвань)",
|
||||
"Card": "Карта",
|
||||
"PayPal": "PayPal",
|
||||
"Apple Pay": "Apple Оплата",
|
||||
"Google Pay": "Google Pay",
|
||||
"Klarna": "Klarna",
|
||||
"Alipay CN": "Alipay CN",
|
||||
"Bancontact": "Банконт",
|
||||
"iDEAL": "iDEAL",
|
||||
"SEPA": "SEPA",
|
||||
"Benefit": "Выгода",
|
||||
"KNet": "Сеть",
|
||||
"STC Pay": "Оплата STC",
|
||||
"Tabby": "Tabby",
|
||||
"Tamara": "Тамара",
|
||||
"Regular": "Обычный",
|
||||
"Recurring": "Повторяющиеся",
|
||||
"No Preference": "Нет предпочтений",
|
||||
"No Challenge Requested": "Вызов не запрошен",
|
||||
"Challenge Requested": "Запрошено Испытание",
|
||||
"Card Payment": "Оплата картой",
|
||||
"Token": "Токен",
|
||||
"Instrument": "Инструмент",
|
||||
"MOTO (Mail Order/Telephone Order)": "МОО (заказ на доставку/телефонный заказ)",
|
||||
"Installment": "Платеж",
|
||||
"Pay Later": "Оплатить позже",
|
||||
"Unscheduled": "Незапланированный",
|
||||
"Final": "Окончательный",
|
||||
"Estimated": "Приблизительно",
|
||||
"Challenge Requested Mandate": "Запрашиваемый мандат",
|
||||
"Individual": "Индивидуальный",
|
||||
"Corporate": "Корпоративный",
|
||||
"Government": "Правительство",
|
||||
"Payment Events": "Платежные События",
|
||||
"Dispute Events": "Оспорить события",
|
||||
"Trigger order fulfillment when payment is approved.": "Выполнение ордеров при одобрении платежа.",
|
||||
"Notify operations upon dispute opening or resolution.": "Уведомлять об операциях при открытии или разрешении споров.",
|
||||
"Event Types": "Типы событий",
|
||||
"Select the payment events you want to listen for": "Выберите платежные события, которые вы хотите прослушать",
|
||||
"Select the dispute events you want to listen for": "Выберите события спора, которые вы хотите прослушать"
|
||||
}
|
||||
@@ -0,0 +1,276 @@
|
||||
{
|
||||
"Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.": "Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.",
|
||||
"Create Customer": "Create Customer",
|
||||
"Update Customer": "Update Customer",
|
||||
"Create Payment Link": "Create Payment Link",
|
||||
"Create Payment": "Create Payment",
|
||||
"Refund a Payment": "Refund a Payment",
|
||||
"Get Payment Details": "Get Payment Details",
|
||||
"Get Payment Actions": "Get Payment Actions",
|
||||
"Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.": "Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.",
|
||||
"Update existing customer or their metadata.": "Update existing customer or their metadata.",
|
||||
"Create a Payment Link to accept and process payment details.": "Create a Payment Link to accept and process payment details.",
|
||||
"Process and manage payments from various sources including card payments and payouts.": "Process and manage payments from various sources including card payments and payouts.",
|
||||
"Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.": "Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.",
|
||||
"Check transaction amount and status before refunding.": "Check transaction amount and status before refunding.",
|
||||
"Build full transaction lifecycles for audit logs.": "Build full transaction lifecycles for audit logs.",
|
||||
"Email": "Email",
|
||||
"Name": "Name",
|
||||
"Phone Country Code": "Phone Country Code",
|
||||
"Phone Number": "Phone Number",
|
||||
"Metadata": "Metadata",
|
||||
"Default Instrument ID": "Default Instrument ID",
|
||||
"Customer ID": "Customer ID",
|
||||
"Amount": "Amount",
|
||||
"Currency": "Currency",
|
||||
"Reference": "Reference",
|
||||
"Description": "Description",
|
||||
"Billing Country": "Billing Country",
|
||||
"Billing Address Line 1": "Billing Address Line 1",
|
||||
"Billing Address Line 2": "Billing Address Line 2",
|
||||
"Billing City": "Billing City",
|
||||
"Billing State": "Billing State",
|
||||
"Billing ZIP": "Billing ZIP",
|
||||
"Billing Phone Country Code": "Billing Phone Country Code",
|
||||
"Billing Phone Number": "Billing Phone Number",
|
||||
"Customer Email": "Customer Email",
|
||||
"Customer Name": "Customer Name",
|
||||
"Customer Phone Country Code": "Customer Phone Country Code",
|
||||
"Customer Phone Number": "Customer Phone Number",
|
||||
"Expires In (seconds)": "Expires In (seconds)",
|
||||
"Display Name": "Display Name",
|
||||
"Return URL": "Return URL",
|
||||
"Locale": "Locale",
|
||||
"Allow Payment Methods": "Allow Payment Methods",
|
||||
"Disabled Payment Methods": "Disabled Payment Methods",
|
||||
"Products": "Products",
|
||||
"Shipping Country": "Shipping Country",
|
||||
"Shipping Address Line 1": "Shipping Address Line 1",
|
||||
"Shipping Address Line 2": "Shipping Address Line 2",
|
||||
"Shipping City": "Shipping City",
|
||||
"Shipping State": "Shipping State",
|
||||
"Shipping ZIP": "Shipping ZIP",
|
||||
"Payment Type": "Payment Type",
|
||||
"Processing Channel ID": "Processing Channel ID",
|
||||
"Capture Payment": "Capture Payment",
|
||||
"Enable 3D Secure": "Enable 3D Secure",
|
||||
"3DS Challenge Preference": "3DS Challenge Preference",
|
||||
"Payment Source Type": "Payment Source Type",
|
||||
"Card Number": "Card Number",
|
||||
"Expiry Month": "Expiry Month",
|
||||
"Expiry Year": "Expiry Year",
|
||||
"CVV": "CVV",
|
||||
"Cardholder Name": "Cardholder Name",
|
||||
"Token ID": "Token ID",
|
||||
"Instrument ID": "Instrument ID",
|
||||
"Account Holder First Name": "Account Holder First Name",
|
||||
"Account Holder Last Name": "Account Holder Last Name",
|
||||
"Account Holder Middle Name": "Account Holder Middle Name",
|
||||
"Shipping First Name": "Shipping First Name",
|
||||
"Shipping Last Name": "Shipping Last Name",
|
||||
"Shipping Email": "Shipping Email",
|
||||
"Authorization Type": "Authorization Type",
|
||||
"Allow 3DS Upgrade": "Allow 3DS Upgrade",
|
||||
"Enable Risk Assessment": "Enable Risk Assessment",
|
||||
"Customer IP Address": "Customer IP Address",
|
||||
"Previous Payment ID": "Previous Payment ID",
|
||||
"Success URL": "Success URL",
|
||||
"Failure URL": "Failure URL",
|
||||
"Payment ID": "Payment ID",
|
||||
"Refund Amount": "Refund Amount",
|
||||
"Refund Reference": "Refund Reference",
|
||||
"Capture Action ID": "Capture Action ID",
|
||||
"Amount Allocations": "Amount Allocations",
|
||||
"Line Items": "Line Items",
|
||||
"Destination Country": "Destination Country",
|
||||
"Account Number": "Account Number",
|
||||
"Bank Code": "Bank Code",
|
||||
"IBAN": "IBAN",
|
||||
"SWIFT BIC": "SWIFT BIC",
|
||||
"Account Holder Type": "Account Holder Type",
|
||||
"Company Name": "Company Name",
|
||||
"Account Holder Email": "Account Holder Email",
|
||||
"Address Line 1": "Address Line 1",
|
||||
"Address Line 2": "Address Line 2",
|
||||
"City": "City",
|
||||
"State": "State",
|
||||
"ZIP Code": "ZIP Code",
|
||||
"Country": "Country",
|
||||
"Bank Name": "Bank Name",
|
||||
"Bank Branch": "Bank Branch",
|
||||
"Bank Address Line 1": "Bank Address Line 1",
|
||||
"Bank Address Line 2": "Bank Address Line 2",
|
||||
"Bank City": "Bank City",
|
||||
"Bank Country": "Bank Country",
|
||||
"The customer's email address": "The customer's email address",
|
||||
"The customer's name": "The customer's name",
|
||||
"The international country calling code (e.g., +1, +44). Required if phone number is provided.": "The international country calling code (e.g., +1, +44). Required if phone number is provided.",
|
||||
"The phone number (6-25 characters). Required if country code is provided.": "The phone number (6-25 characters). Required if country code is provided.",
|
||||
"Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.": "Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.",
|
||||
"The ID of the payment instrument to set as this customer's default": "The ID of the payment instrument to set as this customer's default",
|
||||
"The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"Additional information about the customer. Will replace any existing metadata.": "Additional information about the customer. Will replace any existing metadata.",
|
||||
"The ID of this customer's default instrument": "The ID of this customer's default instrument",
|
||||
"The payment amount in minor units (e.g., cents for USD)": "The payment amount in minor units (e.g., cents for USD)",
|
||||
"The three-letter ISO currency code (e.g., USD, EUR)": "The three-letter ISO currency code (e.g., USD, EUR)",
|
||||
"A reference to identify the payment (e.g., order number)": "A reference to identify the payment (e.g., order number)",
|
||||
"A description of the payment": "A description of the payment",
|
||||
"The two-letter ISO country code (e.g., US, GB)": "The two-letter ISO country code (e.g., US, GB)",
|
||||
"The first line of the billing address": "The first line of the billing address",
|
||||
"The second line of the billing address": "The second line of the billing address",
|
||||
"The billing address city": "The billing address city",
|
||||
"The state or province (ISO 3166-2 code)": "The state or province (ISO 3166-2 code)",
|
||||
"The billing address zip or postal code": "The billing address zip or postal code",
|
||||
"The international country calling code (e.g., +1)": "The international country calling code (e.g., +1)",
|
||||
"The phone number (6-25 characters)": "The phone number (6-25 characters)",
|
||||
"The customer's phone number": "The customer's phone number",
|
||||
"Time for which the link remains valid (default: 86400)": "Time for which the link remains valid (default: 86400)",
|
||||
"The merchant name to display to customers on the checkout page": "The merchant name to display to customers on the checkout page",
|
||||
"URL to redirect customer after successful payment": "URL to redirect customer after successful payment",
|
||||
"Language and region for the payment page": "Language and region for the payment page",
|
||||
"Specific payment methods to present to customers": "Specific payment methods to present to customers",
|
||||
"Payment methods to NOT present to customers": "Payment methods to NOT present to customers",
|
||||
"Details about the products in the order": "Details about the products in the order",
|
||||
"The two-letter ISO country code for shipping": "The two-letter ISO country code for shipping",
|
||||
"The first line of the shipping address": "The first line of the shipping address",
|
||||
"The second line of the shipping address": "The second line of the shipping address",
|
||||
"The shipping address city": "The shipping address city",
|
||||
"The state or province for shipping": "The state or province for shipping",
|
||||
"The shipping address zip or postal code": "The shipping address zip or postal code",
|
||||
"Type of payment for card transactions": "Type of payment for card transactions",
|
||||
"The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx": "The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"Whether to capture the payment immediately": "Whether to capture the payment immediately",
|
||||
"Whether to process as 3D Secure payment": "Whether to process as 3D Secure payment",
|
||||
"Preference for 3DS challenge": "Preference for 3DS challenge",
|
||||
"Additional key-value pairs for transaction information": "Additional key-value pairs for transaction information",
|
||||
"The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.": "The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.",
|
||||
"Your reference for the payment (e.g., order number)": "Your reference for the payment (e.g., order number)",
|
||||
"The type of payment source": "The type of payment source",
|
||||
"The card number (without separators). Required for card payments.": "The card number (without separators). Required for card payments.",
|
||||
"The expiry month of the card (1-12)": "The expiry month of the card (1-12)",
|
||||
"The expiry year of the card (4 digits)": "The expiry year of the card (4 digits)",
|
||||
"The card verification code (3-4 digits)": "The card verification code (3-4 digits)",
|
||||
"The name of the cardholder": "The name of the cardholder",
|
||||
"The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"The token ID (for token source type)": "The token ID (for token source type)",
|
||||
"The instrument ID (for instrument source type)": "The instrument ID (for instrument source type)",
|
||||
"The billing city": "The billing city",
|
||||
"The billing state or province": "The billing state or province",
|
||||
"The billing ZIP or postal code": "The billing ZIP or postal code",
|
||||
"The two-letter ISO country code": "The two-letter ISO country code",
|
||||
"The first name of the account holder": "The first name of the account holder",
|
||||
"The last name of the account holder": "The last name of the account holder",
|
||||
"The middle name of the account holder": "The middle name of the account holder",
|
||||
"The international country calling code": "The international country calling code",
|
||||
"The first name for shipping": "The first name for shipping",
|
||||
"The last name for shipping": "The last name for shipping",
|
||||
"The email for shipping notifications": "The email for shipping notifications",
|
||||
"The shipping city": "The shipping city",
|
||||
"The shipping state or province": "The shipping state or province",
|
||||
"The shipping ZIP or postal code": "The shipping ZIP or postal code",
|
||||
"The type of payment": "The type of payment",
|
||||
"The type of authorization": "The type of authorization",
|
||||
"Process as 3DS if soft declined due to 3DS authentication required": "Process as 3DS if soft declined due to 3DS authentication required",
|
||||
"Whether to perform risk assessment": "Whether to perform risk assessment",
|
||||
"The customer's IP address (IPv4 or IPv6)": "The customer's IP address (IPv4 or IPv6)",
|
||||
"The processing channel to use for the payment": "The processing channel to use for the payment",
|
||||
"Link to existing payment series (for recurring payments)": "Link to existing payment series (for recurring payments)",
|
||||
"Success redirect URL for redirect payment methods": "Success redirect URL for redirect payment methods",
|
||||
"Failure redirect URL for redirect payment methods": "Failure redirect URL for redirect payment methods",
|
||||
"A reference, such as an order ID, that can be used to identify the payment": "A reference, such as an order ID, that can be used to identify the payment",
|
||||
"Select the payment to refund": "Select the payment to refund",
|
||||
"The amount to refund in minor units. If not specified, full payment amount will be refunded.": "The amount to refund in minor units. If not specified, full payment amount will be refunded.",
|
||||
"Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)": "Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)",
|
||||
"The action ID of the capture to refund (only for PayPal and Riverty)": "The action ID of the capture to refund (only for PayPal and Riverty)",
|
||||
"Split refund allocations for sub-entities": "Split refund allocations for sub-entities",
|
||||
"Order line items for the refund": "Order line items for the refund",
|
||||
"Two-letter ISO country code for bank account (required for giropay/EPS)": "Two-letter ISO country code for bank account (required for giropay/EPS)",
|
||||
"The bank account number": "The bank account number",
|
||||
"The code that identifies the bank": "The code that identifies the bank",
|
||||
"International Bank Account Number": "International Bank Account Number",
|
||||
"8 or 11-digit code identifying the bank": "8 or 11-digit code identifying the bank",
|
||||
"The account holder's first name": "The account holder's first name",
|
||||
"The account holder's last name": "The account holder's last name",
|
||||
"The type of account holder": "The type of account holder",
|
||||
"Company name for corporate account holders": "Company name for corporate account holders",
|
||||
"The account holder's email address": "The account holder's email address",
|
||||
"International country calling code": "International country calling code",
|
||||
"The account holder's phone number": "The account holder's phone number",
|
||||
"First line of the account holder's address": "First line of the account holder's address",
|
||||
"Second line of the account holder's address": "Second line of the account holder's address",
|
||||
"Account holder's city": "Account holder's city",
|
||||
"Account holder's state or province": "Account holder's state or province",
|
||||
"Account holder's ZIP or postal code": "Account holder's ZIP or postal code",
|
||||
"Two-letter ISO country code": "Two-letter ISO country code",
|
||||
"The name of the bank": "The name of the bank",
|
||||
"The name of the bank branch": "The name of the bank branch",
|
||||
"First line of the bank's address": "First line of the bank's address",
|
||||
"Second line of the bank's address": "Second line of the bank's address",
|
||||
"The bank's city": "The bank's city",
|
||||
"Two-letter ISO country code for the bank": "Two-letter ISO country code for the bank",
|
||||
"Additional key-value pairs for the refund request": "Additional key-value pairs for the refund request",
|
||||
"Select the payment to get details for": "Select the payment to get details for",
|
||||
"Select the payment to get actions for": "Select the payment to get actions for",
|
||||
"English (GB)": "English (GB)",
|
||||
"Arabic": "Arabic",
|
||||
"Danish (Denmark)": "Danish (Denmark)",
|
||||
"German (Germany)": "German (Germany)",
|
||||
"Greek": "Greek",
|
||||
"Spanish (Spain)": "Spanish (Spain)",
|
||||
"Finnish (Finland)": "Finnish (Finland)",
|
||||
"Filipino (Philippines)": "Filipino (Philippines)",
|
||||
"French (France)": "French (France)",
|
||||
"Hindi (India)": "Hindi (India)",
|
||||
"Indonesian (Indonesia)": "Indonesian (Indonesia)",
|
||||
"Italian (Italy)": "Italian (Italy)",
|
||||
"Japanese (Japan)": "Japanese (Japan)",
|
||||
"Malay (Malaysia)": "Malay (Malaysia)",
|
||||
"Norwegian (Norway)": "Norwegian (Norway)",
|
||||
"Dutch (Netherlands)": "Dutch (Netherlands)",
|
||||
"Portuguese (Portugal)": "Portuguese (Portugal)",
|
||||
"Swedish (Sweden)": "Swedish (Sweden)",
|
||||
"Thai (Thailand)": "Thai (Thailand)",
|
||||
"Vietnamese (Vietnam)": "Vietnamese (Vietnam)",
|
||||
"Chinese (China)": "Chinese (China)",
|
||||
"Chinese (Hong Kong)": "Chinese (Hong Kong)",
|
||||
"Chinese (Taiwan)": "Chinese (Taiwan)",
|
||||
"Card": "Card",
|
||||
"PayPal": "PayPal",
|
||||
"Apple Pay": "Apple Pay",
|
||||
"Google Pay": "Google Pay",
|
||||
"Klarna": "Klarna",
|
||||
"Alipay CN": "Alipay CN",
|
||||
"Bancontact": "Bancontact",
|
||||
"iDEAL": "iDEAL",
|
||||
"SEPA": "SEPA",
|
||||
"Benefit": "Benefit",
|
||||
"KNet": "KNet",
|
||||
"STC Pay": "STC Pay",
|
||||
"Tabby": "Tabby",
|
||||
"Tamara": "Tamara",
|
||||
"Regular": "Regular",
|
||||
"Recurring": "Recurring",
|
||||
"No Preference": "No Preference",
|
||||
"No Challenge Requested": "No Challenge Requested",
|
||||
"Challenge Requested": "Challenge Requested",
|
||||
"Card Payment": "Card Payment",
|
||||
"Token": "Token",
|
||||
"Instrument": "Instrument",
|
||||
"MOTO (Mail Order/Telephone Order)": "MOTO (Mail Order/Telephone Order)",
|
||||
"Installment": "Installment",
|
||||
"Pay Later": "Pay Later",
|
||||
"Unscheduled": "Unscheduled",
|
||||
"Final": "Final",
|
||||
"Estimated": "Estimated",
|
||||
"Challenge Requested Mandate": "Challenge Requested Mandate",
|
||||
"Individual": "Individual",
|
||||
"Corporate": "Corporate",
|
||||
"Government": "Government",
|
||||
"Payment Events": "Payment Events",
|
||||
"Dispute Events": "Dispute Events",
|
||||
"Trigger order fulfillment when payment is approved.": "Trigger order fulfillment when payment is approved.",
|
||||
"Notify operations upon dispute opening or resolution.": "Notify operations upon dispute opening or resolution.",
|
||||
"Event Types": "Event Types",
|
||||
"Select the payment events you want to listen for": "Select the payment events you want to listen for",
|
||||
"Select the dispute events you want to listen for": "Select the dispute events you want to listen for"
|
||||
}
|
||||
@@ -0,0 +1,277 @@
|
||||
{
|
||||
"Checkout.com": "Checkout.com",
|
||||
"Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.": "Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.",
|
||||
"Create Customer": "Create Customer",
|
||||
"Update Customer": "Update Customer",
|
||||
"Create Payment Link": "Create Payment Link",
|
||||
"Create Payment": "Create Payment",
|
||||
"Refund a Payment": "Refund a Payment",
|
||||
"Get Payment Details": "Get Payment Details",
|
||||
"Get Payment Actions": "Get Payment Actions",
|
||||
"Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.": "Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.",
|
||||
"Update existing customer or their metadata.": "Update existing customer or their metadata.",
|
||||
"Create a Payment Link to accept and process payment details.": "Create a Payment Link to accept and process payment details.",
|
||||
"Process and manage payments from various sources including card payments and payouts.": "Process and manage payments from various sources including card payments and payouts.",
|
||||
"Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.": "Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.",
|
||||
"Check transaction amount and status before refunding.": "Check transaction amount and status before refunding.",
|
||||
"Build full transaction lifecycles for audit logs.": "Build full transaction lifecycles for audit logs.",
|
||||
"Email": "Email",
|
||||
"Name": "Name",
|
||||
"Phone Country Code": "Phone Country Code",
|
||||
"Phone Number": "Phone Number",
|
||||
"Metadata": "Metadata",
|
||||
"Default Instrument ID": "Default Instrument ID",
|
||||
"Customer ID": "Customer ID",
|
||||
"Amount": "Amount",
|
||||
"Currency": "Currency",
|
||||
"Reference": "Reference",
|
||||
"Description": "Description",
|
||||
"Billing Country": "Billing Country",
|
||||
"Billing Address Line 1": "Billing Address Line 1",
|
||||
"Billing Address Line 2": "Billing Address Line 2",
|
||||
"Billing City": "Billing City",
|
||||
"Billing State": "Billing State",
|
||||
"Billing ZIP": "Billing ZIP",
|
||||
"Billing Phone Country Code": "Billing Phone Country Code",
|
||||
"Billing Phone Number": "Billing Phone Number",
|
||||
"Customer Email": "Customer Email",
|
||||
"Customer Name": "Customer Name",
|
||||
"Customer Phone Country Code": "Customer Phone Country Code",
|
||||
"Customer Phone Number": "Customer Phone Number",
|
||||
"Expires In (seconds)": "Expires In (seconds)",
|
||||
"Display Name": "Display Name",
|
||||
"Return URL": "Return URL",
|
||||
"Locale": "Locale",
|
||||
"Allow Payment Methods": "Allow Payment Methods",
|
||||
"Disabled Payment Methods": "Disabled Payment Methods",
|
||||
"Products": "Products",
|
||||
"Shipping Country": "Shipping Country",
|
||||
"Shipping Address Line 1": "Shipping Address Line 1",
|
||||
"Shipping Address Line 2": "Shipping Address Line 2",
|
||||
"Shipping City": "Shipping City",
|
||||
"Shipping State": "Shipping State",
|
||||
"Shipping ZIP": "Shipping ZIP",
|
||||
"Payment Type": "Payment Type",
|
||||
"Processing Channel ID": "Processing Channel ID",
|
||||
"Capture Payment": "Capture Payment",
|
||||
"Enable 3D Secure": "Enable 3D Secure",
|
||||
"3DS Challenge Preference": "3DS Challenge Preference",
|
||||
"Payment Source Type": "Payment Source Type",
|
||||
"Card Number": "Card Number",
|
||||
"Expiry Month": "Expiry Month",
|
||||
"Expiry Year": "Expiry Year",
|
||||
"CVV": "CVV",
|
||||
"Cardholder Name": "Cardholder Name",
|
||||
"Token ID": "Token ID",
|
||||
"Instrument ID": "Instrument ID",
|
||||
"Account Holder First Name": "Account Holder First Name",
|
||||
"Account Holder Last Name": "Account Holder Last Name",
|
||||
"Account Holder Middle Name": "Account Holder Middle Name",
|
||||
"Shipping First Name": "Shipping First Name",
|
||||
"Shipping Last Name": "Shipping Last Name",
|
||||
"Shipping Email": "Shipping Email",
|
||||
"Authorization Type": "Authorization Type",
|
||||
"Allow 3DS Upgrade": "Allow 3DS Upgrade",
|
||||
"Enable Risk Assessment": "Enable Risk Assessment",
|
||||
"Customer IP Address": "Customer IP Address",
|
||||
"Previous Payment ID": "Previous Payment ID",
|
||||
"Success URL": "Success URL",
|
||||
"Failure URL": "Failure URL",
|
||||
"Payment ID": "Payment ID",
|
||||
"Refund Amount": "Refund Amount",
|
||||
"Refund Reference": "Refund Reference",
|
||||
"Capture Action ID": "Capture Action ID",
|
||||
"Amount Allocations": "Amount Allocations",
|
||||
"Line Items": "Line Items",
|
||||
"Destination Country": "Destination Country",
|
||||
"Account Number": "Account Number",
|
||||
"Bank Code": "Bank Code",
|
||||
"IBAN": "IBAN",
|
||||
"SWIFT BIC": "SWIFT BIC",
|
||||
"Account Holder Type": "Account Holder Type",
|
||||
"Company Name": "Tên công ty",
|
||||
"Account Holder Email": "Account Holder Email",
|
||||
"Address Line 1": "Address Line 1",
|
||||
"Address Line 2": "Address Line 2",
|
||||
"City": "City",
|
||||
"State": "State",
|
||||
"ZIP Code": "ZIP Code",
|
||||
"Country": "Country",
|
||||
"Bank Name": "Bank Name",
|
||||
"Bank Branch": "Bank Branch",
|
||||
"Bank Address Line 1": "Bank Address Line 1",
|
||||
"Bank Address Line 2": "Bank Address Line 2",
|
||||
"Bank City": "Bank City",
|
||||
"Bank Country": "Bank Country",
|
||||
"The customer's email address": "The customer's email address",
|
||||
"The customer's name": "The customer's name",
|
||||
"The international country calling code (e.g., +1, +44). Required if phone number is provided.": "The international country calling code (e.g., +1, +44). Required if phone number is provided.",
|
||||
"The phone number (6-25 characters). Required if country code is provided.": "The phone number (6-25 characters). Required if country code is provided.",
|
||||
"Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.": "Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.",
|
||||
"The ID of the payment instrument to set as this customer's default": "The ID of the payment instrument to set as this customer's default",
|
||||
"The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"Additional information about the customer. Will replace any existing metadata.": "Additional information about the customer. Will replace any existing metadata.",
|
||||
"The ID of this customer's default instrument": "The ID of this customer's default instrument",
|
||||
"The payment amount in minor units (e.g., cents for USD)": "The payment amount in minor units (e.g., cents for USD)",
|
||||
"The three-letter ISO currency code (e.g., USD, EUR)": "The three-letter ISO currency code (e.g., USD, EUR)",
|
||||
"A reference to identify the payment (e.g., order number)": "A reference to identify the payment (e.g., order number)",
|
||||
"A description of the payment": "A description of the payment",
|
||||
"The two-letter ISO country code (e.g., US, GB)": "The two-letter ISO country code (e.g., US, GB)",
|
||||
"The first line of the billing address": "The first line of the billing address",
|
||||
"The second line of the billing address": "The second line of the billing address",
|
||||
"The billing address city": "The billing address city",
|
||||
"The state or province (ISO 3166-2 code)": "The state or province (ISO 3166-2 code)",
|
||||
"The billing address zip or postal code": "The billing address zip or postal code",
|
||||
"The international country calling code (e.g., +1)": "The international country calling code (e.g., +1)",
|
||||
"The phone number (6-25 characters)": "The phone number (6-25 characters)",
|
||||
"The customer's phone number": "The customer's phone number",
|
||||
"Time for which the link remains valid (default: 86400)": "Time for which the link remains valid (default: 86400)",
|
||||
"The merchant name to display to customers on the checkout page": "The merchant name to display to customers on the checkout page",
|
||||
"URL to redirect customer after successful payment": "URL to redirect customer after successful payment",
|
||||
"Language and region for the payment page": "Language and region for the payment page",
|
||||
"Specific payment methods to present to customers": "Specific payment methods to present to customers",
|
||||
"Payment methods to NOT present to customers": "Payment methods to NOT present to customers",
|
||||
"Details about the products in the order": "Details about the products in the order",
|
||||
"The two-letter ISO country code for shipping": "The two-letter ISO country code for shipping",
|
||||
"The first line of the shipping address": "The first line of the shipping address",
|
||||
"The second line of the shipping address": "The second line of the shipping address",
|
||||
"The shipping address city": "The shipping address city",
|
||||
"The state or province for shipping": "The state or province for shipping",
|
||||
"The shipping address zip or postal code": "The shipping address zip or postal code",
|
||||
"Type of payment for card transactions": "Type of payment for card transactions",
|
||||
"The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx": "The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"Whether to capture the payment immediately": "Whether to capture the payment immediately",
|
||||
"Whether to process as 3D Secure payment": "Whether to process as 3D Secure payment",
|
||||
"Preference for 3DS challenge": "Preference for 3DS challenge",
|
||||
"Additional key-value pairs for transaction information": "Additional key-value pairs for transaction information",
|
||||
"The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.": "The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.",
|
||||
"Your reference for the payment (e.g., order number)": "Your reference for the payment (e.g., order number)",
|
||||
"The type of payment source": "The type of payment source",
|
||||
"The card number (without separators). Required for card payments.": "The card number (without separators). Required for card payments.",
|
||||
"The expiry month of the card (1-12)": "The expiry month of the card (1-12)",
|
||||
"The expiry year of the card (4 digits)": "The expiry year of the card (4 digits)",
|
||||
"The card verification code (3-4 digits)": "The card verification code (3-4 digits)",
|
||||
"The name of the cardholder": "The name of the cardholder",
|
||||
"The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"The token ID (for token source type)": "The token ID (for token source type)",
|
||||
"The instrument ID (for instrument source type)": "The instrument ID (for instrument source type)",
|
||||
"The billing city": "The billing city",
|
||||
"The billing state or province": "The billing state or province",
|
||||
"The billing ZIP or postal code": "The billing ZIP or postal code",
|
||||
"The two-letter ISO country code": "The two-letter ISO country code",
|
||||
"The first name of the account holder": "The first name of the account holder",
|
||||
"The last name of the account holder": "The last name of the account holder",
|
||||
"The middle name of the account holder": "The middle name of the account holder",
|
||||
"The international country calling code": "The international country calling code",
|
||||
"The first name for shipping": "The first name for shipping",
|
||||
"The last name for shipping": "The last name for shipping",
|
||||
"The email for shipping notifications": "The email for shipping notifications",
|
||||
"The shipping city": "The shipping city",
|
||||
"The shipping state or province": "The shipping state or province",
|
||||
"The shipping ZIP or postal code": "The shipping ZIP or postal code",
|
||||
"The type of payment": "The type of payment",
|
||||
"The type of authorization": "The type of authorization",
|
||||
"Process as 3DS if soft declined due to 3DS authentication required": "Process as 3DS if soft declined due to 3DS authentication required",
|
||||
"Whether to perform risk assessment": "Whether to perform risk assessment",
|
||||
"The customer's IP address (IPv4 or IPv6)": "The customer's IP address (IPv4 or IPv6)",
|
||||
"The processing channel to use for the payment": "The processing channel to use for the payment",
|
||||
"Link to existing payment series (for recurring payments)": "Link to existing payment series (for recurring payments)",
|
||||
"Success redirect URL for redirect payment methods": "Success redirect URL for redirect payment methods",
|
||||
"Failure redirect URL for redirect payment methods": "Failure redirect URL for redirect payment methods",
|
||||
"A reference, such as an order ID, that can be used to identify the payment": "A reference, such as an order ID, that can be used to identify the payment",
|
||||
"Select the payment to refund": "Select the payment to refund",
|
||||
"The amount to refund in minor units. If not specified, full payment amount will be refunded.": "The amount to refund in minor units. If not specified, full payment amount will be refunded.",
|
||||
"Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)": "Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)",
|
||||
"The action ID of the capture to refund (only for PayPal and Riverty)": "The action ID of the capture to refund (only for PayPal and Riverty)",
|
||||
"Split refund allocations for sub-entities": "Split refund allocations for sub-entities",
|
||||
"Order line items for the refund": "Order line items for the refund",
|
||||
"Two-letter ISO country code for bank account (required for giropay/EPS)": "Two-letter ISO country code for bank account (required for giropay/EPS)",
|
||||
"The bank account number": "The bank account number",
|
||||
"The code that identifies the bank": "The code that identifies the bank",
|
||||
"International Bank Account Number": "International Bank Account Number",
|
||||
"8 or 11-digit code identifying the bank": "8 or 11-digit code identifying the bank",
|
||||
"The account holder's first name": "The account holder's first name",
|
||||
"The account holder's last name": "The account holder's last name",
|
||||
"The type of account holder": "The type of account holder",
|
||||
"Company name for corporate account holders": "Company name for corporate account holders",
|
||||
"The account holder's email address": "The account holder's email address",
|
||||
"International country calling code": "International country calling code",
|
||||
"The account holder's phone number": "The account holder's phone number",
|
||||
"First line of the account holder's address": "First line of the account holder's address",
|
||||
"Second line of the account holder's address": "Second line of the account holder's address",
|
||||
"Account holder's city": "Account holder's city",
|
||||
"Account holder's state or province": "Account holder's state or province",
|
||||
"Account holder's ZIP or postal code": "Account holder's ZIP or postal code",
|
||||
"Two-letter ISO country code": "Two-letter ISO country code",
|
||||
"The name of the bank": "The name of the bank",
|
||||
"The name of the bank branch": "The name of the bank branch",
|
||||
"First line of the bank's address": "First line of the bank's address",
|
||||
"Second line of the bank's address": "Second line of the bank's address",
|
||||
"The bank's city": "The bank's city",
|
||||
"Two-letter ISO country code for the bank": "Two-letter ISO country code for the bank",
|
||||
"Additional key-value pairs for the refund request": "Additional key-value pairs for the refund request",
|
||||
"Select the payment to get details for": "Select the payment to get details for",
|
||||
"Select the payment to get actions for": "Select the payment to get actions for",
|
||||
"English (GB)": "English (GB)",
|
||||
"Arabic": "Arabic",
|
||||
"Danish (Denmark)": "Danish (Denmark)",
|
||||
"German (Germany)": "German (Germany)",
|
||||
"Greek": "Greek",
|
||||
"Spanish (Spain)": "Spanish (Spain)",
|
||||
"Finnish (Finland)": "Finnish (Finland)",
|
||||
"Filipino (Philippines)": "Filipino (Philippines)",
|
||||
"French (France)": "French (France)",
|
||||
"Hindi (India)": "Hindi (India)",
|
||||
"Indonesian (Indonesia)": "Indonesian (Indonesia)",
|
||||
"Italian (Italy)": "Italian (Italy)",
|
||||
"Japanese (Japan)": "Japanese (Japan)",
|
||||
"Malay (Malaysia)": "Malay (Malaysia)",
|
||||
"Norwegian (Norway)": "Norwegian (Norway)",
|
||||
"Dutch (Netherlands)": "Dutch (Netherlands)",
|
||||
"Portuguese (Portugal)": "Portuguese (Portugal)",
|
||||
"Swedish (Sweden)": "Swedish (Sweden)",
|
||||
"Thai (Thailand)": "Thai (Thailand)",
|
||||
"Vietnamese (Vietnam)": "Vietnamese (Vietnam)",
|
||||
"Chinese (China)": "Chinese (China)",
|
||||
"Chinese (Hong Kong)": "Chinese (Hong Kong)",
|
||||
"Chinese (Taiwan)": "Chinese (Taiwan)",
|
||||
"Card": "Card",
|
||||
"PayPal": "PayPal",
|
||||
"Apple Pay": "Apple Pay",
|
||||
"Google Pay": "Google Pay",
|
||||
"Klarna": "Klarna",
|
||||
"Alipay CN": "Alipay CN",
|
||||
"Bancontact": "Bancontact",
|
||||
"iDEAL": "iDEAL",
|
||||
"SEPA": "SEPA",
|
||||
"Benefit": "Benefit",
|
||||
"KNet": "KNet",
|
||||
"STC Pay": "STC Pay",
|
||||
"Tabby": "Tabby",
|
||||
"Tamara": "Tamara",
|
||||
"Regular": "Regular",
|
||||
"Recurring": "Recurring",
|
||||
"No Preference": "No Preference",
|
||||
"No Challenge Requested": "No Challenge Requested",
|
||||
"Challenge Requested": "Challenge Requested",
|
||||
"Card Payment": "Card Payment",
|
||||
"Token": "Token",
|
||||
"Instrument": "Instrument",
|
||||
"MOTO (Mail Order/Telephone Order)": "MOTO (Mail Order/Telephone Order)",
|
||||
"Installment": "Installment",
|
||||
"Pay Later": "Pay Later",
|
||||
"Unscheduled": "Unscheduled",
|
||||
"Final": "Final",
|
||||
"Estimated": "Estimated",
|
||||
"Challenge Requested Mandate": "Challenge Requested Mandate",
|
||||
"Individual": "Individual",
|
||||
"Corporate": "Corporate",
|
||||
"Government": "Government",
|
||||
"Payment Events": "Payment Events",
|
||||
"Dispute Events": "Dispute Events",
|
||||
"Trigger order fulfillment when payment is approved.": "Trigger order fulfillment when payment is approved.",
|
||||
"Notify operations upon dispute opening or resolution.": "Notify operations upon dispute opening or resolution.",
|
||||
"Event Types": "Event Types",
|
||||
"Select the payment events you want to listen for": "Select the payment events you want to listen for",
|
||||
"Select the dispute events you want to listen for": "Select the dispute events you want to listen for"
|
||||
}
|
||||
@@ -0,0 +1,276 @@
|
||||
{
|
||||
"Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.": "Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.",
|
||||
"Create Customer": "Create Customer",
|
||||
"Update Customer": "Update Customer",
|
||||
"Create Payment Link": "Create Payment Link",
|
||||
"Create Payment": "Create Payment",
|
||||
"Refund a Payment": "Refund a Payment",
|
||||
"Get Payment Details": "Get Payment Details",
|
||||
"Get Payment Actions": "Get Payment Actions",
|
||||
"Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.": "Store a customer's details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.",
|
||||
"Update existing customer or their metadata.": "Update existing customer or their metadata.",
|
||||
"Create a Payment Link to accept and process payment details.": "Create a Payment Link to accept and process payment details.",
|
||||
"Process and manage payments from various sources including card payments and payouts.": "Process and manage payments from various sources including card payments and payouts.",
|
||||
"Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.": "Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.",
|
||||
"Check transaction amount and status before refunding.": "Check transaction amount and status before refunding.",
|
||||
"Build full transaction lifecycles for audit logs.": "Build full transaction lifecycles for audit logs.",
|
||||
"Email": "电子邮件地址",
|
||||
"Name": "名称",
|
||||
"Phone Country Code": "Phone Country Code",
|
||||
"Phone Number": "Phone Number",
|
||||
"Metadata": "Metadata",
|
||||
"Default Instrument ID": "Default Instrument ID",
|
||||
"Customer ID": "Customer ID",
|
||||
"Amount": "Amount",
|
||||
"Currency": "Currency",
|
||||
"Reference": "Reference",
|
||||
"Description": "描述",
|
||||
"Billing Country": "Billing Country",
|
||||
"Billing Address Line 1": "Billing Address Line 1",
|
||||
"Billing Address Line 2": "Billing Address Line 2",
|
||||
"Billing City": "Billing City",
|
||||
"Billing State": "Billing State",
|
||||
"Billing ZIP": "Billing ZIP",
|
||||
"Billing Phone Country Code": "Billing Phone Country Code",
|
||||
"Billing Phone Number": "Billing Phone Number",
|
||||
"Customer Email": "Customer Email",
|
||||
"Customer Name": "Customer Name",
|
||||
"Customer Phone Country Code": "Customer Phone Country Code",
|
||||
"Customer Phone Number": "Customer Phone Number",
|
||||
"Expires In (seconds)": "Expires In (seconds)",
|
||||
"Display Name": "显示名称",
|
||||
"Return URL": "Return URL",
|
||||
"Locale": "Locale",
|
||||
"Allow Payment Methods": "Allow Payment Methods",
|
||||
"Disabled Payment Methods": "Disabled Payment Methods",
|
||||
"Products": "产品",
|
||||
"Shipping Country": "Shipping Country",
|
||||
"Shipping Address Line 1": "Shipping Address Line 1",
|
||||
"Shipping Address Line 2": "Shipping Address Line 2",
|
||||
"Shipping City": "Shipping City",
|
||||
"Shipping State": "Shipping State",
|
||||
"Shipping ZIP": "Shipping ZIP",
|
||||
"Payment Type": "Payment Type",
|
||||
"Processing Channel ID": "Processing Channel ID",
|
||||
"Capture Payment": "Capture Payment",
|
||||
"Enable 3D Secure": "Enable 3D Secure",
|
||||
"3DS Challenge Preference": "3DS Challenge Preference",
|
||||
"Payment Source Type": "Payment Source Type",
|
||||
"Card Number": "Card Number",
|
||||
"Expiry Month": "Expiry Month",
|
||||
"Expiry Year": "Expiry Year",
|
||||
"CVV": "CVV",
|
||||
"Cardholder Name": "Cardholder Name",
|
||||
"Token ID": "Token ID",
|
||||
"Instrument ID": "Instrument ID",
|
||||
"Account Holder First Name": "Account Holder First Name",
|
||||
"Account Holder Last Name": "Account Holder Last Name",
|
||||
"Account Holder Middle Name": "Account Holder Middle Name",
|
||||
"Shipping First Name": "Shipping First Name",
|
||||
"Shipping Last Name": "Shipping Last Name",
|
||||
"Shipping Email": "Shipping Email",
|
||||
"Authorization Type": "Authorization Type",
|
||||
"Allow 3DS Upgrade": "Allow 3DS Upgrade",
|
||||
"Enable Risk Assessment": "Enable Risk Assessment",
|
||||
"Customer IP Address": "Customer IP Address",
|
||||
"Previous Payment ID": "Previous Payment ID",
|
||||
"Success URL": "Success URL",
|
||||
"Failure URL": "Failure URL",
|
||||
"Payment ID": "Payment ID",
|
||||
"Refund Amount": "Refund Amount",
|
||||
"Refund Reference": "Refund Reference",
|
||||
"Capture Action ID": "Capture Action ID",
|
||||
"Amount Allocations": "Amount Allocations",
|
||||
"Line Items": "Line Items",
|
||||
"Destination Country": "Destination Country",
|
||||
"Account Number": "Account Number",
|
||||
"Bank Code": "Bank Code",
|
||||
"IBAN": "IBAN",
|
||||
"SWIFT BIC": "SWIFT BIC",
|
||||
"Account Holder Type": "Account Holder Type",
|
||||
"Company Name": "Company Name",
|
||||
"Account Holder Email": "Account Holder Email",
|
||||
"Address Line 1": "Address Line 1",
|
||||
"Address Line 2": "Address Line 2",
|
||||
"City": "City",
|
||||
"State": "State",
|
||||
"ZIP Code": "ZIP Code",
|
||||
"Country": "Country",
|
||||
"Bank Name": "Bank Name",
|
||||
"Bank Branch": "Bank Branch",
|
||||
"Bank Address Line 1": "Bank Address Line 1",
|
||||
"Bank Address Line 2": "Bank Address Line 2",
|
||||
"Bank City": "Bank City",
|
||||
"Bank Country": "Bank Country",
|
||||
"The customer's email address": "The customer's email address",
|
||||
"The customer's name": "The customer's name",
|
||||
"The international country calling code (e.g., +1, +44). Required if phone number is provided.": "The international country calling code (e.g., +1, +44). Required if phone number is provided.",
|
||||
"The phone number (6-25 characters). Required if country code is provided.": "The phone number (6-25 characters). Required if country code is provided.",
|
||||
"Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.": "Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.",
|
||||
"The ID of the payment instrument to set as this customer's default": "The ID of the payment instrument to set as this customer's default",
|
||||
"The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"Additional information about the customer. Will replace any existing metadata.": "Additional information about the customer. Will replace any existing metadata.",
|
||||
"The ID of this customer's default instrument": "The ID of this customer's default instrument",
|
||||
"The payment amount in minor units (e.g., cents for USD)": "The payment amount in minor units (e.g., cents for USD)",
|
||||
"The three-letter ISO currency code (e.g., USD, EUR)": "The three-letter ISO currency code (e.g., USD, EUR)",
|
||||
"A reference to identify the payment (e.g., order number)": "A reference to identify the payment (e.g., order number)",
|
||||
"A description of the payment": "A description of the payment",
|
||||
"The two-letter ISO country code (e.g., US, GB)": "The two-letter ISO country code (e.g., US, GB)",
|
||||
"The first line of the billing address": "The first line of the billing address",
|
||||
"The second line of the billing address": "The second line of the billing address",
|
||||
"The billing address city": "The billing address city",
|
||||
"The state or province (ISO 3166-2 code)": "The state or province (ISO 3166-2 code)",
|
||||
"The billing address zip or postal code": "The billing address zip or postal code",
|
||||
"The international country calling code (e.g., +1)": "The international country calling code (e.g., +1)",
|
||||
"The phone number (6-25 characters)": "The phone number (6-25 characters)",
|
||||
"The customer's phone number": "The customer's phone number",
|
||||
"Time for which the link remains valid (default: 86400)": "Time for which the link remains valid (default: 86400)",
|
||||
"The merchant name to display to customers on the checkout page": "The merchant name to display to customers on the checkout page",
|
||||
"URL to redirect customer after successful payment": "URL to redirect customer after successful payment",
|
||||
"Language and region for the payment page": "Language and region for the payment page",
|
||||
"Specific payment methods to present to customers": "Specific payment methods to present to customers",
|
||||
"Payment methods to NOT present to customers": "Payment methods to NOT present to customers",
|
||||
"Details about the products in the order": "Details about the products in the order",
|
||||
"The two-letter ISO country code for shipping": "The two-letter ISO country code for shipping",
|
||||
"The first line of the shipping address": "The first line of the shipping address",
|
||||
"The second line of the shipping address": "The second line of the shipping address",
|
||||
"The shipping address city": "The shipping address city",
|
||||
"The state or province for shipping": "The state or province for shipping",
|
||||
"The shipping address zip or postal code": "The shipping address zip or postal code",
|
||||
"Type of payment for card transactions": "Type of payment for card transactions",
|
||||
"The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx": "The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"Whether to capture the payment immediately": "Whether to capture the payment immediately",
|
||||
"Whether to process as 3D Secure payment": "Whether to process as 3D Secure payment",
|
||||
"Preference for 3DS challenge": "Preference for 3DS challenge",
|
||||
"Additional key-value pairs for transaction information": "Additional key-value pairs for transaction information",
|
||||
"The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.": "The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.",
|
||||
"Your reference for the payment (e.g., order number)": "Your reference for the payment (e.g., order number)",
|
||||
"The type of payment source": "The type of payment source",
|
||||
"The card number (without separators). Required for card payments.": "The card number (without separators). Required for card payments.",
|
||||
"The expiry month of the card (1-12)": "The expiry month of the card (1-12)",
|
||||
"The expiry year of the card (4 digits)": "The expiry year of the card (4 digits)",
|
||||
"The card verification code (3-4 digits)": "The card verification code (3-4 digits)",
|
||||
"The name of the cardholder": "The name of the cardholder",
|
||||
"The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)": "The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)",
|
||||
"The token ID (for token source type)": "The token ID (for token source type)",
|
||||
"The instrument ID (for instrument source type)": "The instrument ID (for instrument source type)",
|
||||
"The billing city": "The billing city",
|
||||
"The billing state or province": "The billing state or province",
|
||||
"The billing ZIP or postal code": "The billing ZIP or postal code",
|
||||
"The two-letter ISO country code": "The two-letter ISO country code",
|
||||
"The first name of the account holder": "The first name of the account holder",
|
||||
"The last name of the account holder": "The last name of the account holder",
|
||||
"The middle name of the account holder": "The middle name of the account holder",
|
||||
"The international country calling code": "The international country calling code",
|
||||
"The first name for shipping": "The first name for shipping",
|
||||
"The last name for shipping": "The last name for shipping",
|
||||
"The email for shipping notifications": "The email for shipping notifications",
|
||||
"The shipping city": "The shipping city",
|
||||
"The shipping state or province": "The shipping state or province",
|
||||
"The shipping ZIP or postal code": "The shipping ZIP or postal code",
|
||||
"The type of payment": "The type of payment",
|
||||
"The type of authorization": "The type of authorization",
|
||||
"Process as 3DS if soft declined due to 3DS authentication required": "Process as 3DS if soft declined due to 3DS authentication required",
|
||||
"Whether to perform risk assessment": "Whether to perform risk assessment",
|
||||
"The customer's IP address (IPv4 or IPv6)": "The customer's IP address (IPv4 or IPv6)",
|
||||
"The processing channel to use for the payment": "The processing channel to use for the payment",
|
||||
"Link to existing payment series (for recurring payments)": "Link to existing payment series (for recurring payments)",
|
||||
"Success redirect URL for redirect payment methods": "Success redirect URL for redirect payment methods",
|
||||
"Failure redirect URL for redirect payment methods": "Failure redirect URL for redirect payment methods",
|
||||
"A reference, such as an order ID, that can be used to identify the payment": "A reference, such as an order ID, that can be used to identify the payment",
|
||||
"Select the payment to refund": "Select the payment to refund",
|
||||
"The amount to refund in minor units. If not specified, full payment amount will be refunded.": "The amount to refund in minor units. If not specified, full payment amount will be refunded.",
|
||||
"Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)": "Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)",
|
||||
"The action ID of the capture to refund (only for PayPal and Riverty)": "The action ID of the capture to refund (only for PayPal and Riverty)",
|
||||
"Split refund allocations for sub-entities": "Split refund allocations for sub-entities",
|
||||
"Order line items for the refund": "Order line items for the refund",
|
||||
"Two-letter ISO country code for bank account (required for giropay/EPS)": "Two-letter ISO country code for bank account (required for giropay/EPS)",
|
||||
"The bank account number": "The bank account number",
|
||||
"The code that identifies the bank": "The code that identifies the bank",
|
||||
"International Bank Account Number": "International Bank Account Number",
|
||||
"8 or 11-digit code identifying the bank": "8 or 11-digit code identifying the bank",
|
||||
"The account holder's first name": "The account holder's first name",
|
||||
"The account holder's last name": "The account holder's last name",
|
||||
"The type of account holder": "The type of account holder",
|
||||
"Company name for corporate account holders": "Company name for corporate account holders",
|
||||
"The account holder's email address": "The account holder's email address",
|
||||
"International country calling code": "International country calling code",
|
||||
"The account holder's phone number": "The account holder's phone number",
|
||||
"First line of the account holder's address": "First line of the account holder's address",
|
||||
"Second line of the account holder's address": "Second line of the account holder's address",
|
||||
"Account holder's city": "Account holder's city",
|
||||
"Account holder's state or province": "Account holder's state or province",
|
||||
"Account holder's ZIP or postal code": "Account holder's ZIP or postal code",
|
||||
"Two-letter ISO country code": "Two-letter ISO country code",
|
||||
"The name of the bank": "The name of the bank",
|
||||
"The name of the bank branch": "The name of the bank branch",
|
||||
"First line of the bank's address": "First line of the bank's address",
|
||||
"Second line of the bank's address": "Second line of the bank's address",
|
||||
"The bank's city": "The bank's city",
|
||||
"Two-letter ISO country code for the bank": "Two-letter ISO country code for the bank",
|
||||
"Additional key-value pairs for the refund request": "Additional key-value pairs for the refund request",
|
||||
"Select the payment to get details for": "Select the payment to get details for",
|
||||
"Select the payment to get actions for": "Select the payment to get actions for",
|
||||
"English (GB)": "English (GB)",
|
||||
"Arabic": "Arabic",
|
||||
"Danish (Denmark)": "Danish (Denmark)",
|
||||
"German (Germany)": "German (Germany)",
|
||||
"Greek": "Greek",
|
||||
"Spanish (Spain)": "Spanish (Spain)",
|
||||
"Finnish (Finland)": "Finnish (Finland)",
|
||||
"Filipino (Philippines)": "Filipino (Philippines)",
|
||||
"French (France)": "French (France)",
|
||||
"Hindi (India)": "Hindi (India)",
|
||||
"Indonesian (Indonesia)": "Indonesian (Indonesia)",
|
||||
"Italian (Italy)": "Italian (Italy)",
|
||||
"Japanese (Japan)": "Japanese (Japan)",
|
||||
"Malay (Malaysia)": "Malay (Malaysia)",
|
||||
"Norwegian (Norway)": "Norwegian (Norway)",
|
||||
"Dutch (Netherlands)": "Dutch (Netherlands)",
|
||||
"Portuguese (Portugal)": "Portuguese (Portugal)",
|
||||
"Swedish (Sweden)": "Swedish (Sweden)",
|
||||
"Thai (Thailand)": "Thai (Thailand)",
|
||||
"Vietnamese (Vietnam)": "Vietnamese (Vietnam)",
|
||||
"Chinese (China)": "Chinese (China)",
|
||||
"Chinese (Hong Kong)": "Chinese (Hong Kong)",
|
||||
"Chinese (Taiwan)": "Chinese (Taiwan)",
|
||||
"Card": "Card",
|
||||
"PayPal": "PayPal",
|
||||
"Apple Pay": "Apple Pay",
|
||||
"Google Pay": "Google Pay",
|
||||
"Klarna": "Klarna",
|
||||
"Alipay CN": "Alipay CN",
|
||||
"Bancontact": "Bancontact",
|
||||
"iDEAL": "iDEAL",
|
||||
"SEPA": "SEPA",
|
||||
"Benefit": "Benefit",
|
||||
"KNet": "KNet",
|
||||
"STC Pay": "STC Pay",
|
||||
"Tabby": "Tabby",
|
||||
"Tamara": "Tamara",
|
||||
"Regular": "Regular",
|
||||
"Recurring": "Recurring",
|
||||
"No Preference": "No Preference",
|
||||
"No Challenge Requested": "No Challenge Requested",
|
||||
"Challenge Requested": "Challenge Requested",
|
||||
"Card Payment": "Card Payment",
|
||||
"Token": "Token",
|
||||
"Instrument": "Instrument",
|
||||
"MOTO (Mail Order/Telephone Order)": "MOTO (Mail Order/Telephone Order)",
|
||||
"Installment": "Installment",
|
||||
"Pay Later": "Pay Later",
|
||||
"Unscheduled": "Unscheduled",
|
||||
"Final": "Final",
|
||||
"Estimated": "Estimated",
|
||||
"Challenge Requested Mandate": "Challenge Requested Mandate",
|
||||
"Individual": "Individual",
|
||||
"Corporate": "Corporate",
|
||||
"Government": "Government",
|
||||
"Payment Events": "Payment Events",
|
||||
"Dispute Events": "Dispute Events",
|
||||
"Trigger order fulfillment when payment is approved.": "Trigger order fulfillment when payment is approved.",
|
||||
"Notify operations upon dispute opening or resolution.": "Notify operations upon dispute opening or resolution.",
|
||||
"Event Types": "Event Types",
|
||||
"Select the payment events you want to listen for": "Select the payment events you want to listen for",
|
||||
"Select the dispute events you want to listen for": "Select the dispute events you want to listen for"
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
import { createPiece } from '@activepieces/pieces-framework';
|
||||
import { checkoutComAuth } from './lib/common/auth';
|
||||
import { createCustomerAction } from './lib/actions/create-customer';
|
||||
import { updateCustomerAction } from './lib/actions/update-customer';
|
||||
import { createPaymentLinkAction } from './lib/actions/create-payment-link';
|
||||
import { createPayoutAction } from './lib/actions/create-payout';
|
||||
import { refundPaymentAction } from './lib/actions/refund-payment';
|
||||
import { getPaymentDetailsAction } from './lib/actions/get-payment-details';
|
||||
import { getPaymentActionsAction } from './lib/actions/get-payment-actions';
|
||||
import { paymentEventsTrigger } from './lib/triggers/payment-events';
|
||||
import { disputeEventsTrigger } from './lib/triggers/dispute-events';
|
||||
|
||||
export const checkout = createPiece({
|
||||
displayName: 'Checkout.com',
|
||||
auth: checkoutComAuth,
|
||||
minimumSupportedRelease: '0.36.1',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/checkout.png',
|
||||
authors: ['sparkybug','onyedikachi-david'],
|
||||
actions: [
|
||||
createCustomerAction,
|
||||
updateCustomerAction,
|
||||
createPaymentLinkAction,
|
||||
createPayoutAction,
|
||||
refundPaymentAction,
|
||||
getPaymentDetailsAction,
|
||||
getPaymentActionsAction,
|
||||
],
|
||||
triggers: [paymentEventsTrigger, disputeEventsTrigger],
|
||||
});
|
||||
@@ -0,0 +1,113 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { checkoutComAuth, getEnvironmentFromApiKey } from '../common/auth';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
|
||||
export const createCustomerAction = createAction({
|
||||
name: 'create_customer',
|
||||
auth: checkoutComAuth,
|
||||
displayName: 'Create Customer',
|
||||
description: 'Store a customer\'s details in a customer object to reuse in future payments. You can link payment instruments and set a default instrument.',
|
||||
props: {
|
||||
email: Property.ShortText({
|
||||
displayName: 'Email',
|
||||
description: 'The customer\'s email address',
|
||||
required: true,
|
||||
}),
|
||||
name: Property.ShortText({
|
||||
displayName: 'Name',
|
||||
description: 'The customer\'s name',
|
||||
required: false,
|
||||
}),
|
||||
phone_country_code: Property.ShortText({
|
||||
displayName: 'Phone Country Code',
|
||||
description: 'The international country calling code (e.g., +1, +44). Required if phone number is provided.',
|
||||
required: false,
|
||||
}),
|
||||
phone_number: Property.ShortText({
|
||||
displayName: 'Phone Number',
|
||||
description: 'The phone number (6-25 characters). Required if country code is provided.',
|
||||
required: false,
|
||||
}),
|
||||
metadata: Property.Object({
|
||||
displayName: 'Metadata',
|
||||
description: 'Additional information about the customer. Maximum 10 key-value pairs, each up to 100 characters.',
|
||||
required: false,
|
||||
}),
|
||||
default: Property.ShortText({
|
||||
displayName: 'Default Instrument ID',
|
||||
description: 'The ID of the payment instrument to set as this customer\'s default',
|
||||
required: false,
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const { email, name, phone_country_code, phone_number, metadata, default: defaultInstrument } = context.propsValue;
|
||||
|
||||
const { baseUrl } = getEnvironmentFromApiKey(context.auth.secret_text);
|
||||
|
||||
const body: Record<string, any> = { email };
|
||||
|
||||
if (name) {
|
||||
body['name'] = name;
|
||||
}
|
||||
|
||||
if (phone_country_code || phone_number) {
|
||||
if (!phone_country_code || !phone_number) {
|
||||
throw new Error('Both phone country code and phone number are required when providing phone information');
|
||||
}
|
||||
|
||||
if (phone_country_code.length < 1 || phone_country_code.length > 7) {
|
||||
throw new Error('Country code must be between 1 and 7 characters');
|
||||
}
|
||||
|
||||
if (phone_number.length < 6 || phone_number.length > 25) {
|
||||
throw new Error('Phone number must be between 6 and 25 characters');
|
||||
}
|
||||
|
||||
body['phone'] = {
|
||||
country_code: phone_country_code,
|
||||
number: phone_number,
|
||||
};
|
||||
}
|
||||
|
||||
if (metadata) {
|
||||
const metadataKeys = Object.keys(metadata);
|
||||
if (metadataKeys.length > 10) {
|
||||
throw new Error('Metadata can have a maximum of 10 key-value pairs');
|
||||
}
|
||||
|
||||
for (const [key, value] of Object.entries(metadata)) {
|
||||
if (key.length > 100) {
|
||||
throw new Error(`Metadata key "${key}" exceeds 100 characters`);
|
||||
}
|
||||
if (typeof value === 'string' && value.length > 100) {
|
||||
throw new Error(`Metadata value for key "${key}" exceeds 100 characters`);
|
||||
}
|
||||
}
|
||||
|
||||
body['metadata'] = metadata;
|
||||
}
|
||||
|
||||
if (defaultInstrument) {
|
||||
body['default'] = defaultInstrument;
|
||||
}
|
||||
|
||||
try {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${baseUrl}/customers`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${context.auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body,
|
||||
});
|
||||
|
||||
return response.body;
|
||||
} catch (error: any) {
|
||||
if (error.response?.status === 422) {
|
||||
throw new Error(`Invalid data: ${error.response.body?.error_codes?.join(', ') || 'Please check your input data'}`);
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,499 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { checkoutComAuth, getEnvironmentFromApiKey } from '../common/auth';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
|
||||
export const createPaymentLinkAction = createAction({
|
||||
name: 'create_payment_link',
|
||||
auth: checkoutComAuth,
|
||||
displayName: 'Create Payment Link',
|
||||
description: 'Create a Payment Link to accept and process payment details.',
|
||||
props: {
|
||||
amount: Property.Number({
|
||||
displayName: 'Amount',
|
||||
description: 'The payment amount in minor units (e.g., cents for USD)',
|
||||
required: true,
|
||||
}),
|
||||
currency: Property.ShortText({
|
||||
displayName: 'Currency',
|
||||
description: 'The three-letter ISO currency code (e.g., USD, EUR)',
|
||||
required: true,
|
||||
}),
|
||||
reference: Property.ShortText({
|
||||
displayName: 'Reference',
|
||||
description: 'A reference to identify the payment (e.g., order number)',
|
||||
required: false,
|
||||
}),
|
||||
description: Property.LongText({
|
||||
displayName: 'Description',
|
||||
description: 'A description of the payment',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
billing_country: Property.ShortText({
|
||||
displayName: 'Billing Country',
|
||||
description: 'The two-letter ISO country code (e.g., US, GB)',
|
||||
required: true,
|
||||
}),
|
||||
billing_address_line1: Property.ShortText({
|
||||
displayName: 'Billing Address Line 1',
|
||||
description: 'The first line of the billing address',
|
||||
required: false,
|
||||
}),
|
||||
billing_address_line2: Property.ShortText({
|
||||
displayName: 'Billing Address Line 2',
|
||||
description: 'The second line of the billing address',
|
||||
required: false,
|
||||
}),
|
||||
billing_city: Property.ShortText({
|
||||
displayName: 'Billing City',
|
||||
description: 'The billing address city',
|
||||
required: false,
|
||||
}),
|
||||
billing_state: Property.ShortText({
|
||||
displayName: 'Billing State',
|
||||
description: 'The state or province (ISO 3166-2 code)',
|
||||
required: false,
|
||||
}),
|
||||
billing_zip: Property.ShortText({
|
||||
displayName: 'Billing ZIP',
|
||||
description: 'The billing address zip or postal code',
|
||||
required: false,
|
||||
}),
|
||||
billing_phone_country_code: Property.ShortText({
|
||||
displayName: 'Billing Phone Country Code',
|
||||
description: 'The international country calling code (e.g., +1)',
|
||||
required: false,
|
||||
}),
|
||||
billing_phone_number: Property.ShortText({
|
||||
displayName: 'Billing Phone Number',
|
||||
description: 'The phone number (6-25 characters)',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Customer Information
|
||||
customer_email: Property.ShortText({
|
||||
displayName: 'Customer Email',
|
||||
description: 'The customer\'s email address',
|
||||
required: false,
|
||||
}),
|
||||
customer_name: Property.ShortText({
|
||||
displayName: 'Customer Name',
|
||||
description: 'The customer\'s name',
|
||||
required: false,
|
||||
}),
|
||||
customer_phone_country_code: Property.ShortText({
|
||||
displayName: 'Customer Phone Country Code',
|
||||
description: 'The international country calling code (e.g., +1)',
|
||||
required: false,
|
||||
}),
|
||||
customer_phone_number: Property.ShortText({
|
||||
displayName: 'Customer Phone Number',
|
||||
description: 'The customer\'s phone number',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Payment Configuration
|
||||
expires_in: Property.Number({
|
||||
displayName: 'Expires In (seconds)',
|
||||
description: 'Time for which the link remains valid (default: 86400)',
|
||||
required: false,
|
||||
}),
|
||||
display_name: Property.ShortText({
|
||||
displayName: 'Display Name',
|
||||
description: 'The merchant name to display to customers on the checkout page',
|
||||
required: false,
|
||||
}),
|
||||
return_url: Property.ShortText({
|
||||
displayName: 'Return URL',
|
||||
description: 'URL to redirect customer after successful payment',
|
||||
required: false,
|
||||
}),
|
||||
locale: Property.StaticDropdown({
|
||||
displayName: 'Locale',
|
||||
description: 'Language and region for the payment page',
|
||||
required: false,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'English (GB)', value: 'en-GB' },
|
||||
{ label: 'Arabic', value: 'ar' },
|
||||
{ label: 'Danish (Denmark)', value: 'da-DK' },
|
||||
{ label: 'German (Germany)', value: 'de-DE' },
|
||||
{ label: 'Greek', value: 'el' },
|
||||
{ label: 'Spanish (Spain)', value: 'es-ES' },
|
||||
{ label: 'Finnish (Finland)', value: 'fi-FI' },
|
||||
{ label: 'Filipino (Philippines)', value: 'fil-PH' },
|
||||
{ label: 'French (France)', value: 'fr-FR' },
|
||||
{ label: 'Hindi (India)', value: 'hi-IN' },
|
||||
{ label: 'Indonesian (Indonesia)', value: 'id-ID' },
|
||||
{ label: 'Italian (Italy)', value: 'it-IT' },
|
||||
{ label: 'Japanese (Japan)', value: 'ja-JP' },
|
||||
{ label: 'Malay (Malaysia)', value: 'ms-MY' },
|
||||
{ label: 'Norwegian (Norway)', value: 'nb-NO' },
|
||||
{ label: 'Dutch (Netherlands)', value: 'nl-NL' },
|
||||
{ label: 'Portuguese (Portugal)', value: 'pt-PT' },
|
||||
{ label: 'Swedish (Sweden)', value: 'sv-SE' },
|
||||
{ label: 'Thai (Thailand)', value: 'th-TH' },
|
||||
{ label: 'Vietnamese (Vietnam)', value: 'vi-VN' },
|
||||
{ label: 'Chinese (China)', value: 'zh-CN' },
|
||||
{ label: 'Chinese (Hong Kong)', value: 'zh-HK' },
|
||||
{ label: 'Chinese (Taiwan)', value: 'zh-TW' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
|
||||
// Payment Methods Control
|
||||
allow_payment_methods: Property.StaticMultiSelectDropdown({
|
||||
displayName: 'Allow Payment Methods',
|
||||
description: 'Specific payment methods to present to customers',
|
||||
required: false,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Card', value: 'card' },
|
||||
{ label: 'PayPal', value: 'paypal' },
|
||||
{ label: 'Apple Pay', value: 'applepay' },
|
||||
{ label: 'Google Pay', value: 'googlepay' },
|
||||
{ label: 'Klarna', value: 'klarna' },
|
||||
{ label: 'Alipay CN', value: 'alipay_cn' },
|
||||
{ label: 'Bancontact', value: 'bancontact' },
|
||||
{ label: 'iDEAL', value: 'ideal' },
|
||||
{ label: 'SEPA', value: 'sepa' },
|
||||
{ label: 'Benefit', value: 'benefit' },
|
||||
{ label: 'KNet', value: 'knet' },
|
||||
{ label: 'STC Pay', value: 'stcpay' },
|
||||
{ label: 'Tabby', value: 'tabby' },
|
||||
{ label: 'Tamara', value: 'tamara' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
disabled_payment_methods: Property.StaticMultiSelectDropdown({
|
||||
displayName: 'Disabled Payment Methods',
|
||||
description: 'Payment methods to NOT present to customers',
|
||||
required: false,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Card', value: 'card' },
|
||||
{ label: 'PayPal', value: 'paypal' },
|
||||
{ label: 'Apple Pay', value: 'applepay' },
|
||||
{ label: 'Google Pay', value: 'googlepay' },
|
||||
{ label: 'Klarna', value: 'klarna' },
|
||||
{ label: 'Alipay CN', value: 'alipay_cn' },
|
||||
{ label: 'Bancontact', value: 'bancontact' },
|
||||
{ label: 'iDEAL', value: 'ideal' },
|
||||
{ label: 'SEPA', value: 'sepa' },
|
||||
{ label: 'Benefit', value: 'benefit' },
|
||||
{ label: 'KNet', value: 'knet' },
|
||||
{ label: 'STC Pay', value: 'stcpay' },
|
||||
{ label: 'Tabby', value: 'tabby' },
|
||||
{ label: 'Tamara', value: 'tamara' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
|
||||
// Products/Line Items
|
||||
products: Property.Array({
|
||||
displayName: 'Products',
|
||||
description: 'Details about the products in the order',
|
||||
required: false,
|
||||
properties: {
|
||||
name: Property.ShortText({
|
||||
displayName: 'Product Name',
|
||||
description: 'The descriptive name of the product',
|
||||
required: true,
|
||||
}),
|
||||
quantity: Property.Number({
|
||||
displayName: 'Quantity',
|
||||
description: 'The number of items',
|
||||
required: true,
|
||||
}),
|
||||
price: Property.Number({
|
||||
displayName: 'Price',
|
||||
description: 'The price per item in minor units',
|
||||
required: true,
|
||||
}),
|
||||
reference: Property.ShortText({
|
||||
displayName: 'Product Reference',
|
||||
description: 'Product SKU or reference',
|
||||
required: false,
|
||||
}),
|
||||
},
|
||||
}),
|
||||
|
||||
// Shipping Information
|
||||
shipping_country: Property.ShortText({
|
||||
displayName: 'Shipping Country',
|
||||
description: 'The two-letter ISO country code for shipping',
|
||||
required: false,
|
||||
}),
|
||||
shipping_address_line1: Property.ShortText({
|
||||
displayName: 'Shipping Address Line 1',
|
||||
description: 'The first line of the shipping address',
|
||||
required: false,
|
||||
}),
|
||||
shipping_address_line2: Property.ShortText({
|
||||
displayName: 'Shipping Address Line 2',
|
||||
description: 'The second line of the shipping address',
|
||||
required: false,
|
||||
}),
|
||||
shipping_city: Property.ShortText({
|
||||
displayName: 'Shipping City',
|
||||
description: 'The shipping address city',
|
||||
required: false,
|
||||
}),
|
||||
shipping_state: Property.ShortText({
|
||||
displayName: 'Shipping State',
|
||||
description: 'The state or province for shipping',
|
||||
required: false,
|
||||
}),
|
||||
shipping_zip: Property.ShortText({
|
||||
displayName: 'Shipping ZIP',
|
||||
description: 'The shipping address zip or postal code',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Advanced Settings
|
||||
payment_type: Property.StaticDropdown({
|
||||
displayName: 'Payment Type',
|
||||
description: 'Type of payment for card transactions',
|
||||
required: false,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Regular', value: 'Regular' },
|
||||
{ label: 'Recurring', value: 'Recurring' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
processing_channel_id: Property.ShortText({
|
||||
displayName: 'Processing Channel ID',
|
||||
description: 'The processing channel to be used for the payment. Find this in your Checkout.com dashboard under Settings > Processing Channels. Format: pc_xxxxxxxxxxxxxxxxxxxxxxxxxx',
|
||||
required: true,
|
||||
}),
|
||||
capture: Property.Checkbox({
|
||||
displayName: 'Capture Payment',
|
||||
description: 'Whether to capture the payment immediately',
|
||||
required: false,
|
||||
}),
|
||||
enable_3ds: Property.Checkbox({
|
||||
displayName: 'Enable 3D Secure',
|
||||
description: 'Whether to process as 3D Secure payment',
|
||||
required: false,
|
||||
}),
|
||||
challenge_3ds: Property.StaticDropdown({
|
||||
displayName: '3DS Challenge Preference',
|
||||
description: 'Preference for 3DS challenge',
|
||||
required: false,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'No Preference', value: 'no_preference' },
|
||||
{ label: 'No Challenge Requested', value: 'no_challenge_requested' },
|
||||
{ label: 'Challenge Requested', value: 'challenge_requested' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
|
||||
// Metadata
|
||||
metadata: Property.Object({
|
||||
displayName: 'Metadata',
|
||||
description: 'Additional key-value pairs for transaction information',
|
||||
required: false,
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const {
|
||||
amount,
|
||||
currency,
|
||||
reference,
|
||||
description,
|
||||
billing_country,
|
||||
billing_address_line1,
|
||||
billing_address_line2,
|
||||
billing_city,
|
||||
billing_state,
|
||||
billing_zip,
|
||||
billing_phone_country_code,
|
||||
billing_phone_number,
|
||||
customer_email,
|
||||
customer_name,
|
||||
customer_phone_country_code,
|
||||
customer_phone_number,
|
||||
expires_in,
|
||||
display_name,
|
||||
return_url,
|
||||
locale,
|
||||
allow_payment_methods,
|
||||
disabled_payment_methods,
|
||||
products,
|
||||
shipping_country,
|
||||
shipping_address_line1,
|
||||
shipping_address_line2,
|
||||
shipping_city,
|
||||
shipping_state,
|
||||
shipping_zip,
|
||||
payment_type,
|
||||
processing_channel_id,
|
||||
capture,
|
||||
enable_3ds,
|
||||
challenge_3ds,
|
||||
metadata
|
||||
} = context.propsValue;
|
||||
|
||||
const { baseUrl } = getEnvironmentFromApiKey(context.auth.secret_text);
|
||||
|
||||
const body: Record<string, any> = {
|
||||
amount,
|
||||
currency,
|
||||
billing: {
|
||||
address: {
|
||||
country: billing_country,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
// Add optional billing address fields
|
||||
if (billing_address_line1) {
|
||||
body['billing']['address']['address_line1'] = billing_address_line1;
|
||||
}
|
||||
if (billing_address_line2) {
|
||||
body['billing']['address']['address_line2'] = billing_address_line2;
|
||||
}
|
||||
if (billing_city) {
|
||||
body['billing']['address']['city'] = billing_city;
|
||||
}
|
||||
if (billing_state) {
|
||||
body['billing']['address']['state'] = billing_state;
|
||||
}
|
||||
if (billing_zip) {
|
||||
body['billing']['address']['zip'] = billing_zip;
|
||||
}
|
||||
|
||||
// Add billing phone if provided
|
||||
if (billing_phone_country_code && billing_phone_number) {
|
||||
body['billing']['phone'] = {
|
||||
country_code: billing_phone_country_code,
|
||||
number: billing_phone_number,
|
||||
};
|
||||
}
|
||||
|
||||
// Add optional core fields
|
||||
if (reference) {
|
||||
body['reference'] = reference;
|
||||
}
|
||||
if (description) {
|
||||
body['description'] = description;
|
||||
}
|
||||
if (display_name) {
|
||||
body['display_name'] = display_name;
|
||||
}
|
||||
if (return_url) {
|
||||
body['return_url'] = return_url;
|
||||
}
|
||||
if (locale) {
|
||||
body['locale'] = locale;
|
||||
}
|
||||
if (expires_in) {
|
||||
body['expires_in'] = expires_in;
|
||||
}
|
||||
if (payment_type) {
|
||||
body['payment_type'] = payment_type;
|
||||
}
|
||||
if (processing_channel_id) {
|
||||
body['processing_channel_id'] = processing_channel_id;
|
||||
}
|
||||
if (typeof capture === 'boolean') {
|
||||
body['capture'] = capture;
|
||||
}
|
||||
|
||||
// Add customer information if provided
|
||||
if (customer_email || customer_name || (customer_phone_country_code && customer_phone_number)) {
|
||||
body['customer'] = {};
|
||||
|
||||
if (customer_email) {
|
||||
body['customer']['email'] = customer_email;
|
||||
}
|
||||
if (customer_name) {
|
||||
body['customer']['name'] = customer_name;
|
||||
}
|
||||
if (customer_phone_country_code && customer_phone_number) {
|
||||
body['customer']['phone'] = {
|
||||
country_code: customer_phone_country_code,
|
||||
number: customer_phone_number,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// Add shipping information if provided
|
||||
if (shipping_country || shipping_address_line1 || shipping_city || shipping_state || shipping_zip) {
|
||||
body['shipping'] = {
|
||||
address: {},
|
||||
};
|
||||
|
||||
if (shipping_country) {
|
||||
body['shipping']['address']['country'] = shipping_country;
|
||||
}
|
||||
if (shipping_address_line1) {
|
||||
body['shipping']['address']['address_line1'] = shipping_address_line1;
|
||||
}
|
||||
if (shipping_address_line2) {
|
||||
body['shipping']['address']['address_line2'] = shipping_address_line2;
|
||||
}
|
||||
if (shipping_city) {
|
||||
body['shipping']['address']['city'] = shipping_city;
|
||||
}
|
||||
if (shipping_state) {
|
||||
body['shipping']['address']['state'] = shipping_state;
|
||||
}
|
||||
if (shipping_zip) {
|
||||
body['shipping']['address']['zip'] = shipping_zip;
|
||||
}
|
||||
}
|
||||
|
||||
// Add payment method restrictions
|
||||
if (allow_payment_methods && allow_payment_methods.length > 0) {
|
||||
body['allow_payment_methods'] = allow_payment_methods;
|
||||
}
|
||||
if (disabled_payment_methods && disabled_payment_methods.length > 0) {
|
||||
body['disabled_payment_methods'] = disabled_payment_methods;
|
||||
}
|
||||
|
||||
// Add products if provided
|
||||
if (products && products.length > 0) {
|
||||
body['products'] = products.map((product: any) => ({
|
||||
name: product.name,
|
||||
quantity: product.quantity,
|
||||
price: product.price,
|
||||
...(product.reference && { reference: product.reference }),
|
||||
}));
|
||||
}
|
||||
|
||||
// Add 3DS configuration if enabled
|
||||
if (enable_3ds) {
|
||||
body['3ds'] = {
|
||||
enabled: true,
|
||||
...(challenge_3ds && { challenge_indicator: challenge_3ds }),
|
||||
};
|
||||
}
|
||||
|
||||
// Add metadata if provided
|
||||
if (metadata && Object.keys(metadata).length > 0) {
|
||||
body['metadata'] = metadata;
|
||||
}
|
||||
|
||||
try {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${baseUrl}/payment-links`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${context.auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body,
|
||||
});
|
||||
|
||||
return response.body;
|
||||
} catch (error: any) {
|
||||
if (error.response?.status === 422) {
|
||||
throw new Error(`Invalid data: ${error.response.body?.error_codes?.join(', ') || 'Please check your input data'}`);
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,577 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { checkoutComAuth, getEnvironmentFromApiKey } from '../common/auth';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
|
||||
export const createPayoutAction = createAction({
|
||||
name: 'create_payment',
|
||||
auth: checkoutComAuth,
|
||||
displayName: 'Create Payment',
|
||||
description: 'Process and manage payments from various sources including card payments and payouts.',
|
||||
props: {
|
||||
// Core Payment Information
|
||||
currency: Property.ShortText({
|
||||
displayName: 'Currency',
|
||||
description: 'The three-letter ISO currency code (e.g., USD, EUR)',
|
||||
required: true,
|
||||
}),
|
||||
amount: Property.Number({
|
||||
displayName: 'Amount',
|
||||
description: 'The payment amount in minor units (e.g., cents for USD). Use 0 for card verification.',
|
||||
required: false,
|
||||
}),
|
||||
reference: Property.ShortText({
|
||||
displayName: 'Reference',
|
||||
description: 'Your reference for the payment (e.g., order number)',
|
||||
required: false,
|
||||
}),
|
||||
description: Property.LongText({
|
||||
displayName: 'Description',
|
||||
description: 'A description of the payment',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Payment Source - Card Details
|
||||
source_type: Property.StaticDropdown({
|
||||
displayName: 'Payment Source Type',
|
||||
description: 'The type of payment source',
|
||||
required: true,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Card Payment', value: 'card' },
|
||||
{ label: 'Customer ID', value: 'customer' },
|
||||
{ label: 'Token', value: 'token' },
|
||||
{ label: 'Instrument', value: 'instrument' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
card_number: Property.ShortText({
|
||||
displayName: 'Card Number',
|
||||
description: 'The card number (without separators). Required for card payments.',
|
||||
required: false,
|
||||
}),
|
||||
expiry_month: Property.Number({
|
||||
displayName: 'Expiry Month',
|
||||
description: 'The expiry month of the card (1-12)',
|
||||
required: false,
|
||||
}),
|
||||
expiry_year: Property.Number({
|
||||
displayName: 'Expiry Year',
|
||||
description: 'The expiry year of the card (4 digits)',
|
||||
required: false,
|
||||
}),
|
||||
cvv: Property.ShortText({
|
||||
displayName: 'CVV',
|
||||
description: 'The card verification code (3-4 digits)',
|
||||
required: false,
|
||||
}),
|
||||
cardholder_name: Property.ShortText({
|
||||
displayName: 'Cardholder Name',
|
||||
description: 'The name of the cardholder',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Alternative Source IDs
|
||||
customer_id: Property.ShortText({
|
||||
displayName: 'Customer ID',
|
||||
description: 'The customer ID (for customer source type, e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)',
|
||||
required: false,
|
||||
}),
|
||||
token_id: Property.ShortText({
|
||||
displayName: 'Token ID',
|
||||
description: 'The token ID (for token source type)',
|
||||
required: false,
|
||||
}),
|
||||
instrument_id: Property.ShortText({
|
||||
displayName: 'Instrument ID',
|
||||
description: 'The instrument ID (for instrument source type)',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Billing Address
|
||||
billing_address_line1: Property.ShortText({
|
||||
displayName: 'Billing Address Line 1',
|
||||
description: 'The first line of the billing address',
|
||||
required: false,
|
||||
}),
|
||||
billing_address_line2: Property.ShortText({
|
||||
displayName: 'Billing Address Line 2',
|
||||
description: 'The second line of the billing address',
|
||||
required: false,
|
||||
}),
|
||||
billing_city: Property.ShortText({
|
||||
displayName: 'Billing City',
|
||||
description: 'The billing city',
|
||||
required: false,
|
||||
}),
|
||||
billing_state: Property.ShortText({
|
||||
displayName: 'Billing State',
|
||||
description: 'The billing state or province',
|
||||
required: false,
|
||||
}),
|
||||
billing_zip: Property.ShortText({
|
||||
displayName: 'Billing ZIP',
|
||||
description: 'The billing ZIP or postal code',
|
||||
required: false,
|
||||
}),
|
||||
billing_country: Property.ShortText({
|
||||
displayName: 'Billing Country',
|
||||
description: 'The two-letter ISO country code',
|
||||
required: false,
|
||||
}),
|
||||
billing_phone_country_code: Property.ShortText({
|
||||
displayName: 'Billing Phone Country Code',
|
||||
description: 'The international country calling code (e.g., +1)',
|
||||
required: false,
|
||||
}),
|
||||
billing_phone_number: Property.ShortText({
|
||||
displayName: 'Billing Phone Number',
|
||||
description: 'The phone number (6-25 characters)',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Account Holder Information
|
||||
account_holder_first_name: Property.ShortText({
|
||||
displayName: 'Account Holder First Name',
|
||||
description: 'The first name of the account holder',
|
||||
required: false,
|
||||
}),
|
||||
account_holder_last_name: Property.ShortText({
|
||||
displayName: 'Account Holder Last Name',
|
||||
description: 'The last name of the account holder',
|
||||
required: false,
|
||||
}),
|
||||
account_holder_middle_name: Property.ShortText({
|
||||
displayName: 'Account Holder Middle Name',
|
||||
description: 'The middle name of the account holder',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Customer Information
|
||||
customer_email: Property.ShortText({
|
||||
displayName: 'Customer Email',
|
||||
description: 'The customer\'s email address',
|
||||
required: false,
|
||||
}),
|
||||
customer_name: Property.ShortText({
|
||||
displayName: 'Customer Name',
|
||||
description: 'The customer\'s name',
|
||||
required: false,
|
||||
}),
|
||||
customer_phone_country_code: Property.ShortText({
|
||||
displayName: 'Customer Phone Country Code',
|
||||
description: 'The international country calling code',
|
||||
required: false,
|
||||
}),
|
||||
customer_phone_number: Property.ShortText({
|
||||
displayName: 'Customer Phone Number',
|
||||
description: 'The customer\'s phone number',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Shipping Information
|
||||
shipping_first_name: Property.ShortText({
|
||||
displayName: 'Shipping First Name',
|
||||
description: 'The first name for shipping',
|
||||
required: false,
|
||||
}),
|
||||
shipping_last_name: Property.ShortText({
|
||||
displayName: 'Shipping Last Name',
|
||||
description: 'The last name for shipping',
|
||||
required: false,
|
||||
}),
|
||||
shipping_email: Property.ShortText({
|
||||
displayName: 'Shipping Email',
|
||||
description: 'The email for shipping notifications',
|
||||
required: false,
|
||||
}),
|
||||
shipping_address_line1: Property.ShortText({
|
||||
displayName: 'Shipping Address Line 1',
|
||||
description: 'The first line of the shipping address',
|
||||
required: false,
|
||||
}),
|
||||
shipping_address_line2: Property.ShortText({
|
||||
displayName: 'Shipping Address Line 2',
|
||||
description: 'The second line of the shipping address',
|
||||
required: false,
|
||||
}),
|
||||
shipping_city: Property.ShortText({
|
||||
displayName: 'Shipping City',
|
||||
description: 'The shipping city',
|
||||
required: false,
|
||||
}),
|
||||
shipping_state: Property.ShortText({
|
||||
displayName: 'Shipping State',
|
||||
description: 'The shipping state or province',
|
||||
required: false,
|
||||
}),
|
||||
shipping_zip: Property.ShortText({
|
||||
displayName: 'Shipping ZIP',
|
||||
description: 'The shipping ZIP or postal code',
|
||||
required: false,
|
||||
}),
|
||||
shipping_country: Property.ShortText({
|
||||
displayName: 'Shipping Country',
|
||||
description: 'The two-letter ISO country code for shipping',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Payment Configuration
|
||||
payment_type: Property.StaticDropdown({
|
||||
displayName: 'Payment Type',
|
||||
description: 'The type of payment',
|
||||
required: false,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Regular', value: 'Regular' },
|
||||
{ label: 'Recurring', value: 'Recurring' },
|
||||
{ label: 'MOTO (Mail Order/Telephone Order)', value: 'MOTO' },
|
||||
{ label: 'Installment', value: 'Installment' },
|
||||
{ label: 'Pay Later', value: 'PayLater' },
|
||||
{ label: 'Unscheduled', value: 'Unscheduled' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
capture: Property.Checkbox({
|
||||
displayName: 'Capture Payment',
|
||||
description: 'Whether to capture the payment immediately',
|
||||
required: false,
|
||||
}),
|
||||
authorization_type: Property.StaticDropdown({
|
||||
displayName: 'Authorization Type',
|
||||
description: 'The type of authorization',
|
||||
required: false,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Final', value: 'Final' },
|
||||
{ label: 'Estimated', value: 'Estimated' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
|
||||
// 3D Secure Configuration
|
||||
enable_3ds: Property.Checkbox({
|
||||
displayName: 'Enable 3D Secure',
|
||||
description: 'Whether to process as 3D Secure payment',
|
||||
required: false,
|
||||
}),
|
||||
challenge_3ds: Property.StaticDropdown({
|
||||
displayName: '3DS Challenge Preference',
|
||||
description: 'Preference for 3DS challenge',
|
||||
required: false,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'No Preference', value: 'no_preference' },
|
||||
{ label: 'No Challenge Requested', value: 'no_challenge_requested' },
|
||||
{ label: 'Challenge Requested', value: 'challenge_requested' },
|
||||
{ label: 'Challenge Requested Mandate', value: 'challenge_requested_mandate' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
allow_3ds_upgrade: Property.Checkbox({
|
||||
displayName: 'Allow 3DS Upgrade',
|
||||
description: 'Process as 3DS if soft declined due to 3DS authentication required',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Risk Management
|
||||
enable_risk_assessment: Property.Checkbox({
|
||||
displayName: 'Enable Risk Assessment',
|
||||
description: 'Whether to perform risk assessment',
|
||||
required: false,
|
||||
}),
|
||||
customer_ip: Property.ShortText({
|
||||
displayName: 'Customer IP Address',
|
||||
description: 'The customer\'s IP address (IPv4 or IPv6)',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Processing Options
|
||||
processing_channel_id: Property.ShortText({
|
||||
displayName: 'Processing Channel ID',
|
||||
description: 'The processing channel to use for the payment',
|
||||
required: false,
|
||||
}),
|
||||
previous_payment_id: Property.ShortText({
|
||||
displayName: 'Previous Payment ID',
|
||||
description: 'Link to existing payment series (for recurring payments)',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Success/Failure URLs
|
||||
success_url: Property.ShortText({
|
||||
displayName: 'Success URL',
|
||||
description: 'Success redirect URL for redirect payment methods',
|
||||
required: false,
|
||||
}),
|
||||
failure_url: Property.ShortText({
|
||||
displayName: 'Failure URL',
|
||||
description: 'Failure redirect URL for redirect payment methods',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Metadata
|
||||
metadata: Property.Object({
|
||||
displayName: 'Metadata',
|
||||
description: 'Additional key-value pairs for transaction information',
|
||||
required: false,
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const {
|
||||
currency,
|
||||
amount,
|
||||
reference,
|
||||
description,
|
||||
source_type,
|
||||
card_number,
|
||||
expiry_month,
|
||||
expiry_year,
|
||||
cvv,
|
||||
cardholder_name,
|
||||
customer_id,
|
||||
token_id,
|
||||
instrument_id,
|
||||
billing_address_line1,
|
||||
billing_address_line2,
|
||||
billing_city,
|
||||
billing_state,
|
||||
billing_zip,
|
||||
billing_country,
|
||||
billing_phone_country_code,
|
||||
billing_phone_number,
|
||||
account_holder_first_name,
|
||||
account_holder_last_name,
|
||||
account_holder_middle_name,
|
||||
customer_email,
|
||||
customer_name,
|
||||
customer_phone_country_code,
|
||||
customer_phone_number,
|
||||
shipping_first_name,
|
||||
shipping_last_name,
|
||||
shipping_email,
|
||||
shipping_address_line1,
|
||||
shipping_address_line2,
|
||||
shipping_city,
|
||||
shipping_state,
|
||||
shipping_zip,
|
||||
shipping_country,
|
||||
payment_type,
|
||||
capture,
|
||||
authorization_type,
|
||||
enable_3ds,
|
||||
challenge_3ds,
|
||||
allow_3ds_upgrade,
|
||||
enable_risk_assessment,
|
||||
customer_ip,
|
||||
processing_channel_id,
|
||||
previous_payment_id,
|
||||
success_url,
|
||||
failure_url,
|
||||
metadata,
|
||||
} = context.propsValue;
|
||||
|
||||
const { baseUrl } = getEnvironmentFromApiKey(context.auth.secret_text);
|
||||
|
||||
// Build the request body
|
||||
const body: Record<string, any> = {
|
||||
currency,
|
||||
};
|
||||
|
||||
// Add amount if provided
|
||||
if (typeof amount === 'number') {
|
||||
body['amount'] = amount;
|
||||
}
|
||||
|
||||
// Add core fields
|
||||
if (reference) {
|
||||
body['reference'] = reference;
|
||||
}
|
||||
if (description) {
|
||||
body['description'] = description;
|
||||
}
|
||||
if (payment_type) {
|
||||
body['payment_type'] = payment_type;
|
||||
}
|
||||
if (typeof capture === 'boolean') {
|
||||
body['capture'] = capture;
|
||||
}
|
||||
if (authorization_type) {
|
||||
body['authorization_type'] = authorization_type;
|
||||
}
|
||||
if (processing_channel_id) {
|
||||
body['processing_channel_id'] = processing_channel_id;
|
||||
}
|
||||
if (previous_payment_id) {
|
||||
body['previous_payment_id'] = previous_payment_id;
|
||||
}
|
||||
if (success_url) {
|
||||
body['success_url'] = success_url;
|
||||
}
|
||||
if (failure_url) {
|
||||
body['failure_url'] = failure_url;
|
||||
}
|
||||
|
||||
// Build payment source
|
||||
if (source_type) {
|
||||
body['source'] = { type: source_type };
|
||||
|
||||
if (source_type === 'card') {
|
||||
if (!card_number || !expiry_month || !expiry_year) {
|
||||
throw new Error('Card number, expiry month, and expiry year are required for card payments');
|
||||
}
|
||||
|
||||
body['source']['number'] = card_number;
|
||||
body['source']['expiry_month'] = expiry_month;
|
||||
body['source']['expiry_year'] = expiry_year;
|
||||
|
||||
if (cvv) {
|
||||
body['source']['cvv'] = cvv;
|
||||
}
|
||||
if (cardholder_name) {
|
||||
body['source']['name'] = cardholder_name;
|
||||
}
|
||||
|
||||
// Add billing address for card
|
||||
if (billing_address_line1 || billing_city || billing_country) {
|
||||
body['source']['billing_address'] = {};
|
||||
if (billing_address_line1) body['source']['billing_address']['address_line1'] = billing_address_line1;
|
||||
if (billing_address_line2) body['source']['billing_address']['address_line2'] = billing_address_line2;
|
||||
if (billing_city) body['source']['billing_address']['city'] = billing_city;
|
||||
if (billing_state) body['source']['billing_address']['state'] = billing_state;
|
||||
if (billing_zip) body['source']['billing_address']['zip'] = billing_zip;
|
||||
if (billing_country) body['source']['billing_address']['country'] = billing_country;
|
||||
}
|
||||
|
||||
// Add billing phone for card
|
||||
if (billing_phone_country_code && billing_phone_number) {
|
||||
body['source']['phone'] = {
|
||||
country_code: billing_phone_country_code,
|
||||
number: billing_phone_number,
|
||||
};
|
||||
}
|
||||
|
||||
// Add account holder information
|
||||
if (account_holder_first_name && account_holder_last_name) {
|
||||
body['source']['account_holder'] = {
|
||||
type: 'individual',
|
||||
first_name: account_holder_first_name,
|
||||
last_name: account_holder_last_name,
|
||||
};
|
||||
if (account_holder_middle_name) {
|
||||
body['source']['account_holder']['middle_name'] = account_holder_middle_name;
|
||||
}
|
||||
}
|
||||
} else if (source_type === 'customer') {
|
||||
if (!customer_id) {
|
||||
throw new Error('Customer ID is required for customer source type');
|
||||
}
|
||||
body['source']['id'] = customer_id;
|
||||
} else if (source_type === 'token') {
|
||||
if (!token_id) {
|
||||
throw new Error('Token ID is required for token source type');
|
||||
}
|
||||
body['source']['token'] = token_id;
|
||||
} else if (source_type === 'instrument') {
|
||||
if (!instrument_id) {
|
||||
throw new Error('Instrument ID is required for instrument source type');
|
||||
}
|
||||
body['source']['id'] = instrument_id;
|
||||
}
|
||||
}
|
||||
|
||||
// Add customer information
|
||||
if (customer_email || customer_name || (customer_phone_country_code && customer_phone_number)) {
|
||||
body['customer'] = {};
|
||||
if (customer_email) {
|
||||
body['customer']['email'] = customer_email;
|
||||
}
|
||||
if (customer_name) {
|
||||
body['customer']['name'] = customer_name;
|
||||
}
|
||||
if (customer_phone_country_code && customer_phone_number) {
|
||||
body['customer']['phone'] = {
|
||||
country_code: customer_phone_country_code,
|
||||
number: customer_phone_number,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// Add shipping information
|
||||
if (shipping_first_name || shipping_last_name || shipping_email || shipping_address_line1) {
|
||||
body['shipping'] = {};
|
||||
if (shipping_first_name) {
|
||||
body['shipping']['first_name'] = shipping_first_name;
|
||||
}
|
||||
if (shipping_last_name) {
|
||||
body['shipping']['last_name'] = shipping_last_name;
|
||||
}
|
||||
if (shipping_email) {
|
||||
body['shipping']['email'] = shipping_email;
|
||||
}
|
||||
|
||||
if (shipping_address_line1 || shipping_city || shipping_country) {
|
||||
body['shipping']['address'] = {};
|
||||
if (shipping_address_line1) body['shipping']['address']['address_line1'] = shipping_address_line1;
|
||||
if (shipping_address_line2) body['shipping']['address']['address_line2'] = shipping_address_line2;
|
||||
if (shipping_city) body['shipping']['address']['city'] = shipping_city;
|
||||
if (shipping_state) body['shipping']['address']['state'] = shipping_state;
|
||||
if (shipping_zip) body['shipping']['address']['zip'] = shipping_zip;
|
||||
if (shipping_country) body['shipping']['address']['country'] = shipping_country;
|
||||
}
|
||||
}
|
||||
|
||||
// Add 3DS configuration
|
||||
if (enable_3ds) {
|
||||
body['3ds'] = {
|
||||
enabled: true,
|
||||
};
|
||||
if (challenge_3ds) {
|
||||
body['3ds']['challenge_indicator'] = challenge_3ds;
|
||||
}
|
||||
if (typeof allow_3ds_upgrade === 'boolean') {
|
||||
body['3ds']['allow_upgrade'] = allow_3ds_upgrade;
|
||||
}
|
||||
}
|
||||
|
||||
// Add risk configuration
|
||||
if (typeof enable_risk_assessment === 'boolean') {
|
||||
body['risk'] = {
|
||||
enabled: enable_risk_assessment,
|
||||
};
|
||||
if (customer_ip) {
|
||||
body['risk']['device'] = {
|
||||
network: {
|
||||
[customer_ip.includes(':') ? 'ipv6' : 'ipv4']: customer_ip,
|
||||
},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// Add metadata
|
||||
if (metadata && Object.keys(metadata).length > 0) {
|
||||
body['metadata'] = metadata;
|
||||
}
|
||||
|
||||
try {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${baseUrl}/payments`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${context.auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body,
|
||||
});
|
||||
|
||||
return response.body;
|
||||
} catch (error: any) {
|
||||
if (error.response?.status === 422) {
|
||||
throw new Error(`Invalid data: ${error.response.body?.error_codes?.join(', ') || 'Please check your input data'}`);
|
||||
}
|
||||
if (error.response?.status === 429) {
|
||||
throw new Error('Too many requests or duplicate request detected');
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,106 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { checkoutComAuth, getEnvironmentFromApiKey } from '../common/auth';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
|
||||
export const getPaymentActionsAction = createAction({
|
||||
name: 'get_payment_actions',
|
||||
auth: checkoutComAuth,
|
||||
displayName: 'Get Payment Actions',
|
||||
description: 'Build full transaction lifecycles for audit logs.',
|
||||
props: {
|
||||
reference: Property.ShortText({
|
||||
displayName: 'Reference',
|
||||
description: 'A reference, such as an order ID, that can be used to identify the payment',
|
||||
required: true,
|
||||
}),
|
||||
paymentId: Property.Dropdown({
|
||||
auth: checkoutComAuth,
|
||||
displayName: 'Payment ID',
|
||||
description: 'Select the payment to get actions for',
|
||||
required: true,
|
||||
refreshers: ['reference'],
|
||||
options: async ({ auth, reference }) => {
|
||||
if (!reference || !auth) {
|
||||
return {
|
||||
disabled: true,
|
||||
options: [],
|
||||
placeholder: 'Please enter a reference first',
|
||||
};
|
||||
}
|
||||
|
||||
try {
|
||||
const { baseUrl } = getEnvironmentFromApiKey(auth.secret_text);
|
||||
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url: `${baseUrl}/payments`,
|
||||
queryParams: {
|
||||
reference: reference as string,
|
||||
limit: '100',
|
||||
},
|
||||
headers: {
|
||||
Authorization: `Bearer ${auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
|
||||
const payments = response.body.data || [];
|
||||
|
||||
const validPayments = payments.filter((payment: any) => payment.id.startsWith('pay_'));
|
||||
|
||||
if (validPayments.length === 0) {
|
||||
return {
|
||||
disabled: true,
|
||||
options: [],
|
||||
placeholder: 'No payment transactions found for this reference',
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
disabled: false,
|
||||
options: validPayments.map((payment: any) => ({
|
||||
label: `${payment.id} - ${payment.amount} ${payment.currency} (${payment.status})`,
|
||||
value: payment.id,
|
||||
})),
|
||||
};
|
||||
} catch (error) {
|
||||
return {
|
||||
disabled: true,
|
||||
options: [],
|
||||
placeholder: 'Error loading payments',
|
||||
};
|
||||
}
|
||||
},
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const { paymentId } = context.propsValue;
|
||||
|
||||
const { baseUrl } = getEnvironmentFromApiKey(context.auth.secret_text);
|
||||
|
||||
if (!paymentId.match(/^pay_[a-zA-Z0-9]{26}$/)) {
|
||||
throw new Error('Invalid payment ID format. Must start with "pay_" followed by 26 alphanumeric characters.');
|
||||
}
|
||||
|
||||
try {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url: `${baseUrl}/payments/${paymentId}/actions`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${context.auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
|
||||
return response.body;
|
||||
} catch (error: any) {
|
||||
if (error.response?.status === 401) {
|
||||
throw new Error('Unauthorized: Invalid API key or insufficient permissions');
|
||||
} else if (error.response?.status === 404) {
|
||||
throw new Error('Payment not found: The specified payment ID does not exist or is not accessible');
|
||||
} else {
|
||||
throw new Error(`Failed to get payment actions: ${error.message}`);
|
||||
}
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,104 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { checkoutComAuth, getEnvironmentFromApiKey } from '../common/auth';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
|
||||
export const getPaymentDetailsAction = createAction({
|
||||
name: 'get_payment_details',
|
||||
auth: checkoutComAuth,
|
||||
displayName: 'Get Payment Details',
|
||||
description: 'Check transaction amount and status before refunding.',
|
||||
props: {
|
||||
reference: Property.ShortText({
|
||||
displayName: 'Reference',
|
||||
description: 'A reference, such as an order ID, that can be used to identify the payment',
|
||||
required: true,
|
||||
}),
|
||||
paymentId: Property.Dropdown({
|
||||
auth: checkoutComAuth,
|
||||
displayName: 'Payment ID',
|
||||
description: 'Select the payment to get details for',
|
||||
required: true,
|
||||
refreshers: ['reference'],
|
||||
options: async ({ auth, reference }) => {
|
||||
if (!reference || !auth) {
|
||||
return {
|
||||
disabled: true,
|
||||
options: [],
|
||||
placeholder: 'Please enter a reference first',
|
||||
};
|
||||
}
|
||||
|
||||
try {
|
||||
const { baseUrl } = getEnvironmentFromApiKey(auth.secret_text);
|
||||
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url: `${baseUrl}/payments`,
|
||||
queryParams: {
|
||||
reference: reference as string,
|
||||
limit: '100',
|
||||
},
|
||||
headers: {
|
||||
Authorization: `Bearer ${auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
|
||||
const payments = response.body.data || [];
|
||||
|
||||
if (payments.length === 0) {
|
||||
return {
|
||||
disabled: true,
|
||||
options: [],
|
||||
placeholder: 'No payments found for this reference',
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
disabled: false,
|
||||
options: payments.map((payment: any) => ({
|
||||
label: `${payment.id} - ${payment.amount} ${payment.currency} (${payment.status})`,
|
||||
value: payment.id,
|
||||
})),
|
||||
};
|
||||
} catch (error) {
|
||||
return {
|
||||
disabled: true,
|
||||
options: [],
|
||||
placeholder: 'Error loading payments',
|
||||
};
|
||||
}
|
||||
},
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const { paymentId } = context.propsValue;
|
||||
|
||||
const { baseUrl } = getEnvironmentFromApiKey(context.auth.secret_text);
|
||||
|
||||
if (!paymentId.match(/^(pay|sid)_[a-zA-Z0-9]{26}$/)) {
|
||||
throw new Error('Invalid payment ID format. Must start with "pay_" or "sid_" followed by 26 alphanumeric characters.');
|
||||
}
|
||||
|
||||
try {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url: `${baseUrl}/payments/${paymentId}`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${context.auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
|
||||
return response.body;
|
||||
} catch (error: any) {
|
||||
if (error.response?.status === 401) {
|
||||
throw new Error('Unauthorized: Invalid API key or insufficient permissions');
|
||||
} else if (error.response?.status === 404) {
|
||||
throw new Error('Payment not found: The specified payment ID does not exist or is not accessible');
|
||||
} else {
|
||||
throw new Error(`Failed to get payment details: ${error.message}`);
|
||||
}
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,519 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { checkoutComAuth, getEnvironmentFromApiKey } from '../common/auth';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
|
||||
export const refundPaymentAction = createAction({
|
||||
name: 'refund_payment',
|
||||
auth: checkoutComAuth,
|
||||
displayName: 'Refund a Payment',
|
||||
description: 'Issue a refund (full or partial) for a captured payment. Supports split refunds, line items, and bank account destinations.',
|
||||
props: {
|
||||
reference: Property.ShortText({
|
||||
displayName: 'Reference',
|
||||
description: 'A reference, such as an order ID, that can be used to identify the payment',
|
||||
required: true,
|
||||
}),
|
||||
payment_id: Property.Dropdown({
|
||||
auth: checkoutComAuth,
|
||||
displayName: 'Payment ID',
|
||||
description: 'Select the payment to refund',
|
||||
required: true,
|
||||
refreshers: ['reference'],
|
||||
options: async ({ auth, reference }) => {
|
||||
if (!reference || !auth) {
|
||||
return {
|
||||
disabled: true,
|
||||
options: [],
|
||||
placeholder: 'Please enter a reference first',
|
||||
};
|
||||
}
|
||||
|
||||
try {
|
||||
const { baseUrl } = getEnvironmentFromApiKey(auth.secret_text);
|
||||
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url: `${baseUrl}/payments`,
|
||||
queryParams: {
|
||||
reference: reference as string,
|
||||
limit: '100',
|
||||
},
|
||||
headers: {
|
||||
Authorization: `Bearer ${auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
|
||||
const payments = response.body.data || [];
|
||||
|
||||
const refundablePayments = payments.filter((payment: any) =>
|
||||
payment.status === 'Captured' || payment.status === 'Authorized'
|
||||
);
|
||||
|
||||
if (refundablePayments.length === 0) {
|
||||
return {
|
||||
disabled: true,
|
||||
options: [],
|
||||
placeholder: 'No refundable payments found for this reference',
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
disabled: false,
|
||||
options: refundablePayments.map((payment: any) => ({
|
||||
label: `${payment.id} - ${payment.amount} ${payment.currency} (${payment.status})`,
|
||||
value: payment.id,
|
||||
})),
|
||||
};
|
||||
} catch (error) {
|
||||
return {
|
||||
disabled: true,
|
||||
options: [],
|
||||
placeholder: 'Error loading payments',
|
||||
};
|
||||
}
|
||||
},
|
||||
}),
|
||||
amount: Property.Number({
|
||||
displayName: 'Refund Amount',
|
||||
description: 'The amount to refund in minor units. If not specified, full payment amount will be refunded.',
|
||||
required: false,
|
||||
}),
|
||||
refund_reference: Property.ShortText({
|
||||
displayName: 'Refund Reference',
|
||||
description: 'Your reference for the refund (max 80 chars, 30 for Amex, 50 for TWINT)',
|
||||
required: false,
|
||||
}),
|
||||
capture_action_id: Property.ShortText({
|
||||
displayName: 'Capture Action ID',
|
||||
description: 'The action ID of the capture to refund (only for PayPal and Riverty)',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
amount_allocations: Property.Array({
|
||||
displayName: 'Amount Allocations',
|
||||
description: 'Split refund allocations for sub-entities',
|
||||
required: false,
|
||||
properties: {
|
||||
id: Property.ShortText({
|
||||
displayName: 'Sub-entity ID',
|
||||
description: 'The ID of the sub-entity',
|
||||
required: true,
|
||||
}),
|
||||
amount: Property.Number({
|
||||
displayName: 'Split Amount',
|
||||
description: 'The amount to refund to this sub-entity in minor units',
|
||||
required: true,
|
||||
}),
|
||||
reference: Property.ShortText({
|
||||
displayName: 'Split Reference',
|
||||
description: 'Reference for this split (e.g., order number)',
|
||||
required: false,
|
||||
}),
|
||||
commission_amount: Property.Number({
|
||||
displayName: 'Commission Amount',
|
||||
description: 'Fixed commission amount in minor units',
|
||||
required: false,
|
||||
}),
|
||||
commission_percentage: Property.Number({
|
||||
displayName: 'Commission Percentage',
|
||||
description: 'Commission percentage (0-100, supports up to 8 decimal places)',
|
||||
required: false,
|
||||
}),
|
||||
},
|
||||
}),
|
||||
|
||||
// Line Items for Detailed Refunds
|
||||
items: Property.Array({
|
||||
displayName: 'Line Items',
|
||||
description: 'Order line items for the refund',
|
||||
required: false,
|
||||
properties: {
|
||||
type: Property.ShortText({
|
||||
displayName: 'Item Type',
|
||||
description: 'The item type (e.g., physical, digital)',
|
||||
required: false,
|
||||
}),
|
||||
name: Property.ShortText({
|
||||
displayName: 'Item Name',
|
||||
description: 'The descriptive name of the line item',
|
||||
required: false,
|
||||
}),
|
||||
quantity: Property.Number({
|
||||
displayName: 'Quantity',
|
||||
description: 'The number of line items',
|
||||
required: false,
|
||||
}),
|
||||
unit_price: Property.Number({
|
||||
displayName: 'Unit Price',
|
||||
description: 'The unit price in minor currency units',
|
||||
required: false,
|
||||
}),
|
||||
reference: Property.ShortText({
|
||||
displayName: 'Item Reference',
|
||||
description: 'The item reference or product SKU',
|
||||
required: false,
|
||||
}),
|
||||
total_amount: Property.Number({
|
||||
displayName: 'Total Amount',
|
||||
description: 'The total cost including tax and discount in minor units',
|
||||
required: false,
|
||||
}),
|
||||
tax_rate: Property.Number({
|
||||
displayName: 'Tax Rate',
|
||||
description: 'Tax rate in minor units (e.g., 2000 = 20%)',
|
||||
required: false,
|
||||
}),
|
||||
tax_amount: Property.Number({
|
||||
displayName: 'Tax Amount',
|
||||
description: 'Total tax amount in minor units',
|
||||
required: false,
|
||||
}),
|
||||
discount_amount: Property.Number({
|
||||
displayName: 'Discount Amount',
|
||||
description: 'Discount applied to the line item',
|
||||
required: false,
|
||||
}),
|
||||
url: Property.ShortText({
|
||||
displayName: 'Product URL',
|
||||
description: 'Link to the product page',
|
||||
required: false,
|
||||
}),
|
||||
image_url: Property.ShortText({
|
||||
displayName: 'Product Image URL',
|
||||
description: 'Link to the product image',
|
||||
required: false,
|
||||
}),
|
||||
},
|
||||
}),
|
||||
|
||||
// Bank Account Destination (Required for giropay and EPS)
|
||||
destination_country: Property.ShortText({
|
||||
displayName: 'Destination Country',
|
||||
description: 'Two-letter ISO country code for bank account (required for giropay/EPS)',
|
||||
required: false,
|
||||
}),
|
||||
destination_account_number: Property.ShortText({
|
||||
displayName: 'Account Number',
|
||||
description: 'The bank account number',
|
||||
required: false,
|
||||
}),
|
||||
destination_bank_code: Property.ShortText({
|
||||
displayName: 'Bank Code',
|
||||
description: 'The code that identifies the bank',
|
||||
required: false,
|
||||
}),
|
||||
destination_iban: Property.ShortText({
|
||||
displayName: 'IBAN',
|
||||
description: 'International Bank Account Number',
|
||||
required: false,
|
||||
}),
|
||||
destination_swift_bic: Property.ShortText({
|
||||
displayName: 'SWIFT BIC',
|
||||
description: '8 or 11-digit code identifying the bank',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Account Holder Information
|
||||
account_holder_first_name: Property.ShortText({
|
||||
displayName: 'Account Holder First Name',
|
||||
description: 'The account holder\'s first name',
|
||||
required: false,
|
||||
}),
|
||||
account_holder_last_name: Property.ShortText({
|
||||
displayName: 'Account Holder Last Name',
|
||||
description: 'The account holder\'s last name',
|
||||
required: false,
|
||||
}),
|
||||
account_holder_type: Property.StaticDropdown({
|
||||
displayName: 'Account Holder Type',
|
||||
description: 'The type of account holder',
|
||||
required: false,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Individual', value: 'individual' },
|
||||
{ label: 'Corporate', value: 'corporate' },
|
||||
{ label: 'Government', value: 'government' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
account_holder_company_name: Property.ShortText({
|
||||
displayName: 'Company Name',
|
||||
description: 'Company name for corporate account holders',
|
||||
required: false,
|
||||
}),
|
||||
account_holder_email: Property.ShortText({
|
||||
displayName: 'Account Holder Email',
|
||||
description: 'The account holder\'s email address',
|
||||
required: false,
|
||||
}),
|
||||
account_holder_phone_country_code: Property.ShortText({
|
||||
displayName: 'Phone Country Code',
|
||||
description: 'International country calling code',
|
||||
required: false,
|
||||
}),
|
||||
account_holder_phone_number: Property.ShortText({
|
||||
displayName: 'Phone Number',
|
||||
description: 'The account holder\'s phone number',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Account Holder Address
|
||||
account_holder_address_line1: Property.ShortText({
|
||||
displayName: 'Address Line 1',
|
||||
description: 'First line of the account holder\'s address',
|
||||
required: false,
|
||||
}),
|
||||
account_holder_address_line2: Property.ShortText({
|
||||
displayName: 'Address Line 2',
|
||||
description: 'Second line of the account holder\'s address',
|
||||
required: false,
|
||||
}),
|
||||
account_holder_city: Property.ShortText({
|
||||
displayName: 'City',
|
||||
description: 'Account holder\'s city',
|
||||
required: false,
|
||||
}),
|
||||
account_holder_state: Property.ShortText({
|
||||
displayName: 'State',
|
||||
description: 'Account holder\'s state or province',
|
||||
required: false,
|
||||
}),
|
||||
account_holder_zip: Property.ShortText({
|
||||
displayName: 'ZIP Code',
|
||||
description: 'Account holder\'s ZIP or postal code',
|
||||
required: false,
|
||||
}),
|
||||
account_holder_country: Property.ShortText({
|
||||
displayName: 'Country',
|
||||
description: 'Two-letter ISO country code',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Bank Details
|
||||
bank_name: Property.ShortText({
|
||||
displayName: 'Bank Name',
|
||||
description: 'The name of the bank',
|
||||
required: false,
|
||||
}),
|
||||
bank_branch: Property.ShortText({
|
||||
displayName: 'Bank Branch',
|
||||
description: 'The name of the bank branch',
|
||||
required: false,
|
||||
}),
|
||||
bank_address_line1: Property.ShortText({
|
||||
displayName: 'Bank Address Line 1',
|
||||
description: 'First line of the bank\'s address',
|
||||
required: false,
|
||||
}),
|
||||
bank_address_line2: Property.ShortText({
|
||||
displayName: 'Bank Address Line 2',
|
||||
description: 'Second line of the bank\'s address',
|
||||
required: false,
|
||||
}),
|
||||
bank_city: Property.ShortText({
|
||||
displayName: 'Bank City',
|
||||
description: 'The bank\'s city',
|
||||
required: false,
|
||||
}),
|
||||
bank_country: Property.ShortText({
|
||||
displayName: 'Bank Country',
|
||||
description: 'Two-letter ISO country code for the bank',
|
||||
required: false,
|
||||
}),
|
||||
|
||||
// Metadata
|
||||
metadata: Property.Object({
|
||||
displayName: 'Metadata',
|
||||
description: 'Additional key-value pairs for the refund request',
|
||||
required: false,
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const {
|
||||
reference,
|
||||
payment_id,
|
||||
amount,
|
||||
refund_reference,
|
||||
capture_action_id,
|
||||
amount_allocations,
|
||||
items,
|
||||
destination_country,
|
||||
destination_account_number,
|
||||
destination_bank_code,
|
||||
destination_iban,
|
||||
destination_swift_bic,
|
||||
account_holder_first_name,
|
||||
account_holder_last_name,
|
||||
account_holder_type,
|
||||
account_holder_company_name,
|
||||
account_holder_email,
|
||||
account_holder_phone_country_code,
|
||||
account_holder_phone_number,
|
||||
account_holder_address_line1,
|
||||
account_holder_address_line2,
|
||||
account_holder_city,
|
||||
account_holder_state,
|
||||
account_holder_zip,
|
||||
account_holder_country,
|
||||
bank_name,
|
||||
bank_branch,
|
||||
bank_address_line1,
|
||||
bank_address_line2,
|
||||
bank_city,
|
||||
bank_country,
|
||||
metadata,
|
||||
} = context.propsValue;
|
||||
|
||||
const { baseUrl } = getEnvironmentFromApiKey(context.auth.secret_text);
|
||||
|
||||
const body: Record<string, any> = {};
|
||||
|
||||
if (typeof amount === 'number') {
|
||||
body['amount'] = amount;
|
||||
}
|
||||
if (refund_reference) {
|
||||
body['reference'] = refund_reference;
|
||||
}
|
||||
if (capture_action_id) {
|
||||
body['capture_action_id'] = capture_action_id;
|
||||
}
|
||||
|
||||
if (amount_allocations && amount_allocations.length > 0) {
|
||||
body['amount_allocations'] = amount_allocations.map((allocation: any) => {
|
||||
const allocationObj: any = {
|
||||
id: allocation.id,
|
||||
amount: allocation.amount,
|
||||
};
|
||||
|
||||
if (allocation.reference) {
|
||||
allocationObj['reference'] = allocation.reference;
|
||||
}
|
||||
|
||||
if (allocation.commission_amount || allocation.commission_percentage) {
|
||||
allocationObj['commission'] = {};
|
||||
if (allocation.commission_amount) {
|
||||
allocationObj['commission']['amount'] = allocation.commission_amount;
|
||||
}
|
||||
if (allocation.commission_percentage) {
|
||||
allocationObj['commission']['percentage'] = allocation.commission_percentage;
|
||||
}
|
||||
}
|
||||
|
||||
return allocationObj;
|
||||
});
|
||||
}
|
||||
|
||||
if (items && items.length > 0) {
|
||||
body['items'] = items.map((item: any) => {
|
||||
const itemObj: any = {};
|
||||
|
||||
if (item.type) itemObj['type'] = item.type;
|
||||
if (item.name) itemObj['name'] = item.name;
|
||||
if (typeof item.quantity === 'number') itemObj['quantity'] = item.quantity;
|
||||
if (typeof item.unit_price === 'number') itemObj['unit_price'] = item.unit_price;
|
||||
if (item.reference) itemObj['reference'] = item.reference;
|
||||
if (typeof item.total_amount === 'number') itemObj['total_amount'] = item.total_amount;
|
||||
if (typeof item.tax_rate === 'number') itemObj['tax_rate'] = item.tax_rate;
|
||||
if (typeof item.tax_amount === 'number') itemObj['tax_amount'] = item.tax_amount;
|
||||
if (typeof item.discount_amount === 'number') itemObj['discount_amount'] = item.discount_amount;
|
||||
if (item.url) itemObj['url'] = item.url;
|
||||
if (item.image_url) itemObj['image_url'] = item.image_url;
|
||||
|
||||
return itemObj;
|
||||
});
|
||||
}
|
||||
|
||||
if (destination_country && destination_account_number && destination_bank_code) {
|
||||
body['destination'] = {
|
||||
country: destination_country,
|
||||
account_number: destination_account_number,
|
||||
bank_code: destination_bank_code,
|
||||
};
|
||||
|
||||
if (destination_iban) {
|
||||
body['destination']['iban'] = destination_iban;
|
||||
}
|
||||
if (destination_swift_bic) {
|
||||
body['destination']['swift_bic'] = destination_swift_bic;
|
||||
}
|
||||
|
||||
if (account_holder_first_name && account_holder_last_name) {
|
||||
body['destination']['account_holder'] = {
|
||||
first_name: account_holder_first_name,
|
||||
last_name: account_holder_last_name,
|
||||
};
|
||||
|
||||
if (account_holder_type) {
|
||||
body['destination']['account_holder']['type'] = account_holder_type;
|
||||
}
|
||||
if (account_holder_company_name) {
|
||||
body['destination']['account_holder']['company_name'] = account_holder_company_name;
|
||||
}
|
||||
if (account_holder_email) {
|
||||
body['destination']['account_holder']['email'] = account_holder_email;
|
||||
}
|
||||
|
||||
if (account_holder_phone_country_code && account_holder_phone_number) {
|
||||
body['destination']['account_holder']['phone'] = {
|
||||
country_code: account_holder_phone_country_code,
|
||||
number: account_holder_phone_number,
|
||||
};
|
||||
}
|
||||
|
||||
if (account_holder_address_line1 || account_holder_city || account_holder_country) {
|
||||
body['destination']['account_holder']['billing_address'] = {};
|
||||
if (account_holder_address_line1) body['destination']['account_holder']['billing_address']['address_line1'] = account_holder_address_line1;
|
||||
if (account_holder_address_line2) body['destination']['account_holder']['billing_address']['address_line2'] = account_holder_address_line2;
|
||||
if (account_holder_city) body['destination']['account_holder']['billing_address']['city'] = account_holder_city;
|
||||
if (account_holder_state) body['destination']['account_holder']['billing_address']['state'] = account_holder_state;
|
||||
if (account_holder_zip) body['destination']['account_holder']['billing_address']['zip'] = account_holder_zip;
|
||||
if (account_holder_country) body['destination']['account_holder']['billing_address']['country'] = account_holder_country;
|
||||
}
|
||||
}
|
||||
|
||||
if (bank_name || bank_branch || bank_address_line1) {
|
||||
body['destination']['bank'] = {};
|
||||
if (bank_name) body['destination']['bank']['name'] = bank_name;
|
||||
if (bank_branch) body['destination']['bank']['branch'] = bank_branch;
|
||||
|
||||
if (bank_address_line1 || bank_city || bank_country) {
|
||||
body['destination']['bank']['address'] = {};
|
||||
if (bank_address_line1) body['destination']['bank']['address']['address_line1'] = bank_address_line1;
|
||||
if (bank_address_line2) body['destination']['bank']['address']['address_line2'] = bank_address_line2;
|
||||
if (bank_city) body['destination']['bank']['address']['city'] = bank_city;
|
||||
if (bank_country) body['destination']['bank']['address']['country'] = bank_country;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (metadata && Object.keys(metadata).length > 0) {
|
||||
body['metadata'] = metadata;
|
||||
}
|
||||
|
||||
try {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${baseUrl}/payments/${payment_id}/refunds`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${context.auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body,
|
||||
});
|
||||
|
||||
return response.body;
|
||||
} catch (error: any) {
|
||||
if (error.response?.status === 403) {
|
||||
throw new Error('Refund not allowed for this payment');
|
||||
}
|
||||
if (error.response?.status === 404) {
|
||||
throw new Error('Payment not found');
|
||||
}
|
||||
if (error.response?.status === 422) {
|
||||
throw new Error(`Invalid data: ${error.response.body?.error_codes?.join(', ') || 'Please check your input data'}`);
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,122 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { checkoutComAuth, getEnvironmentFromApiKey } from '../common/auth';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
|
||||
export const updateCustomerAction = createAction({
|
||||
name: 'update_customer',
|
||||
auth: checkoutComAuth,
|
||||
displayName: 'Update Customer',
|
||||
description: 'Update existing customer or their metadata.',
|
||||
props: {
|
||||
customerId: Property.ShortText({
|
||||
displayName: 'Customer ID',
|
||||
description: 'The ID of the customer to update (e.g., cus_y3oqhf46pyzuxjocn2giaqnb44)',
|
||||
required: true,
|
||||
}),
|
||||
email: Property.ShortText({
|
||||
displayName: 'Email',
|
||||
description: 'The customer\'s email address',
|
||||
required: false,
|
||||
}),
|
||||
name: Property.ShortText({
|
||||
displayName: 'Name',
|
||||
description: 'The customer\'s name',
|
||||
required: false,
|
||||
}),
|
||||
phone_country_code: Property.ShortText({
|
||||
displayName: 'Phone Country Code',
|
||||
description: 'The international country calling code (e.g., +1, +44). Required if phone number is provided.',
|
||||
required: false,
|
||||
}),
|
||||
phone_number: Property.ShortText({
|
||||
displayName: 'Phone Number',
|
||||
description: 'The phone number (6-25 characters). Required if country code is provided.',
|
||||
required: false,
|
||||
}),
|
||||
metadata: Property.Object({
|
||||
displayName: 'Metadata',
|
||||
description: 'Additional information about the customer. Will replace any existing metadata.',
|
||||
required: false,
|
||||
}),
|
||||
default: Property.ShortText({
|
||||
displayName: 'Default Instrument ID',
|
||||
description: 'The ID of this customer\'s default instrument',
|
||||
required: false,
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const { customerId, email, name, phone_country_code, phone_number, metadata, default: defaultInstrument } = context.propsValue;
|
||||
|
||||
const { baseUrl } = getEnvironmentFromApiKey(context.auth.secret_text);
|
||||
|
||||
const body: Record<string, any> = {};
|
||||
|
||||
if (email) {
|
||||
body['email'] = email;
|
||||
}
|
||||
|
||||
if (name) {
|
||||
body['name'] = name;
|
||||
}
|
||||
|
||||
if (phone_country_code || phone_number) {
|
||||
if (!phone_country_code || !phone_number) {
|
||||
throw new Error('Both phone country code and phone number are required when providing phone information');
|
||||
}
|
||||
|
||||
if (phone_country_code.length < 1 || phone_country_code.length > 7) {
|
||||
throw new Error('Country code must be between 1 and 7 characters');
|
||||
}
|
||||
|
||||
if (phone_number.length < 6 || phone_number.length > 25) {
|
||||
throw new Error('Phone number must be between 6 and 25 characters');
|
||||
}
|
||||
|
||||
body['phone'] = {
|
||||
country_code: phone_country_code,
|
||||
number: phone_number,
|
||||
};
|
||||
}
|
||||
|
||||
if (metadata) {
|
||||
const metadataKeys = Object.keys(metadata);
|
||||
if (metadataKeys.length > 10) {
|
||||
throw new Error('Metadata can have a maximum of 10 key-value pairs');
|
||||
}
|
||||
|
||||
for (const [key, value] of Object.entries(metadata)) {
|
||||
if (key.length > 100) {
|
||||
throw new Error(`Metadata key "${key}" exceeds 100 characters`);
|
||||
}
|
||||
if (typeof value === 'string' && value.length > 100) {
|
||||
throw new Error(`Metadata value for key "${key}" exceeds 100 characters`);
|
||||
}
|
||||
}
|
||||
|
||||
body['metadata'] = metadata;
|
||||
}
|
||||
|
||||
if (defaultInstrument) {
|
||||
body['default'] = defaultInstrument;
|
||||
}
|
||||
|
||||
try {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.PATCH,
|
||||
url: `${baseUrl}/customers/${customerId}`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${context.auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body,
|
||||
});
|
||||
|
||||
return response.body;
|
||||
} catch (error: any) {
|
||||
if (error.response?.status === 422) {
|
||||
throw new Error(`Invalid data: ${error.response.body?.error_codes?.join(', ') || 'Please check your input data'}`);
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,53 @@
|
||||
import { PieceAuth } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod, AuthenticationType } from '@activepieces/pieces-common';
|
||||
|
||||
|
||||
export function getEnvironmentFromApiKey(apiKey: string): { environment: 'sandbox' | 'production', baseUrl: string } {
|
||||
if (apiKey.startsWith('sk_sbox_')) {
|
||||
return { environment: 'sandbox', baseUrl: 'https://api.sandbox.checkout.com' };
|
||||
}
|
||||
|
||||
if (apiKey.startsWith('sk_') && !apiKey.startsWith('sk_sbox_')) {
|
||||
return { environment: 'production', baseUrl: 'https://api.checkout.com' };
|
||||
}
|
||||
|
||||
return { environment: 'production', baseUrl: 'https://api.checkout.com' };
|
||||
}
|
||||
|
||||
export const checkoutComAuth = PieceAuth.SecretText({
|
||||
displayName: 'Secret Key',
|
||||
description: 'Your Checkout.com secret key. Use sandbox key (sk_sbox_...) for testing or production key (sk_...) for live transactions. You can find it in the Checkout.com dashboard under Developers > API keys.',
|
||||
required: true,
|
||||
validate: async ({auth}) => {
|
||||
try {
|
||||
const secretKey = auth;
|
||||
if (!secretKey.startsWith('sk_')) {
|
||||
return { valid: false, error: 'Invalid API key format. Must start with "sk_" for production or "sk_sbox_" for sandbox.' };
|
||||
}
|
||||
|
||||
const { environment, baseUrl } = getEnvironmentFromApiKey(secretKey);
|
||||
|
||||
await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url: `${baseUrl}/workflows`,
|
||||
authentication: {
|
||||
type: AuthenticationType.BEARER_TOKEN,
|
||||
token: secretKey,
|
||||
},
|
||||
});
|
||||
|
||||
return {
|
||||
valid: true,
|
||||
environment: environment
|
||||
};
|
||||
} catch (e: any) {
|
||||
if (e.response?.status === 401) {
|
||||
return { valid: false, error: 'Invalid Checkout.com secret key. Please check your API key in the Checkout.com dashboard.' };
|
||||
} else if (e.response?.status === 403) {
|
||||
return { valid: false, error: 'Insufficient permissions. Please ensure your API key has the required permissions.' };
|
||||
} else {
|
||||
return { valid: false, error: 'Unable to validate API key. Please check your connection and try again.' };
|
||||
}
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,163 @@
|
||||
import { createTrigger, Property, TriggerStrategy } from '@activepieces/pieces-framework';
|
||||
import { checkoutComAuth, getEnvironmentFromApiKey } from '../common/auth';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
|
||||
export const disputeEventsTrigger = createTrigger({
|
||||
name: 'dispute_events',
|
||||
displayName: 'Dispute Events',
|
||||
description: 'Notify operations upon dispute opening or resolution.',
|
||||
auth: checkoutComAuth,
|
||||
props: {
|
||||
eventTypes: Property.MultiSelectDropdown({
|
||||
auth: checkoutComAuth,
|
||||
displayName: 'Event Types',
|
||||
description: 'Select the dispute events you want to listen for',
|
||||
required: true,
|
||||
refreshers: [],
|
||||
options: async ({ auth }) => {
|
||||
if (!auth) {
|
||||
return {
|
||||
disabled: true,
|
||||
options: [],
|
||||
placeholder: 'Please connect your Checkout.com account first',
|
||||
};
|
||||
}
|
||||
|
||||
try {
|
||||
const { baseUrl } = getEnvironmentFromApiKey(auth.secret_text);
|
||||
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url: `${baseUrl}/workflows/event-types`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
|
||||
const eventSources = response.body || [];
|
||||
|
||||
const disputeSource = eventSources.find((source: any) => source.id === 'dispute' || source.id === 'disputes');
|
||||
|
||||
if (!disputeSource || !disputeSource.events) {
|
||||
return {
|
||||
disabled: false,
|
||||
options: [
|
||||
{ label: 'Dispute Canceled', value: 'dispute_canceled' },
|
||||
{ label: 'Dispute Evidence Required', value: 'dispute_evidence_required' },
|
||||
{ label: 'Dispute Expired', value: 'dispute_expired' },
|
||||
{ label: 'Dispute Lost', value: 'dispute_lost' },
|
||||
{ label: 'Dispute Resolved', value: 'dispute_resolved' },
|
||||
{ label: 'Dispute Won', value: 'dispute_won' },
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
disabled: false,
|
||||
options: disputeSource.events.map((event: any) => ({
|
||||
label: event.display_name || event.id,
|
||||
value: event.id,
|
||||
})),
|
||||
};
|
||||
} catch (error) {
|
||||
return {
|
||||
disabled: false,
|
||||
options: [
|
||||
{ label: 'Dispute Canceled', value: 'dispute_canceled' },
|
||||
{ label: 'Dispute Evidence Required', value: 'dispute_evidence_required' },
|
||||
{ label: 'Dispute Expired', value: 'dispute_expired' },
|
||||
{ label: 'Dispute Lost', value: 'dispute_lost' },
|
||||
{ label: 'Dispute Resolved', value: 'dispute_resolved' },
|
||||
{ label: 'Dispute Won', value: 'dispute_won' },
|
||||
],
|
||||
};
|
||||
}
|
||||
},
|
||||
}),
|
||||
},
|
||||
sampleData: {
|
||||
id: 'evt_lw4cjxhp4jme3dwpztvyizgcau',
|
||||
source: 'dispute',
|
||||
type: 'dispute_evidence_required',
|
||||
timestamp: '2019-08-24T14:15:22Z',
|
||||
version: '1.0.0',
|
||||
data: {
|
||||
id: 'dsp_rbhwd2qrg13uhr4w2oxna5tav6',
|
||||
category: 'fraudulent',
|
||||
amount: 6540,
|
||||
currency: 'USD',
|
||||
reason_code: '4855',
|
||||
status: 'evidence_required',
|
||||
resolved_reason: 'dispute_not_valid',
|
||||
payment_id: 'pay_mbabizu24mvu3mela5njyhpit4',
|
||||
payment_reference: 'ORD-5023-4E89',
|
||||
payment_arn: '74593210001234567890123',
|
||||
payment_method: 'VISA',
|
||||
received_on: '2019-08-24T14:15:22Z',
|
||||
last_update: '2019-08-24T14:15:22Z'
|
||||
}
|
||||
},
|
||||
type: TriggerStrategy.WEBHOOK,
|
||||
async onEnable(context) {
|
||||
const { eventTypes } = context.propsValue;
|
||||
const { baseUrl } = getEnvironmentFromApiKey(context.auth.secret_text);
|
||||
|
||||
try {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${baseUrl}/workflows`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${context.auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: {
|
||||
name: 'Activepieces Dispute Events Workflow',
|
||||
active: true,
|
||||
conditions: [
|
||||
{
|
||||
type: 'event',
|
||||
events: {
|
||||
dispute: eventTypes,
|
||||
},
|
||||
},
|
||||
],
|
||||
actions: [
|
||||
{
|
||||
type: 'webhook',
|
||||
url: context.webhookUrl,
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
await context.store.put('checkout_dispute_workflow', {
|
||||
workflowId: response.body.id,
|
||||
});
|
||||
} catch (error: any) {
|
||||
throw new Error(`Failed to create dispute events workflow: ${error.message}`);
|
||||
}
|
||||
},
|
||||
async onDisable(context) {
|
||||
try {
|
||||
const workflowData = await context.store.get<{ workflowId: string }>('checkout_dispute_workflow');
|
||||
|
||||
if (workflowData?.workflowId) {
|
||||
const { baseUrl } = getEnvironmentFromApiKey(context.auth.secret_text);
|
||||
|
||||
await httpClient.sendRequest({
|
||||
method: HttpMethod.DELETE,
|
||||
url: `${baseUrl}/workflows/${workflowData.workflowId}`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${context.auth.secret_text}`,
|
||||
},
|
||||
});
|
||||
}
|
||||
} catch (error: any) {
|
||||
console.error('Failed to delete dispute events workflow:', error.message);
|
||||
}
|
||||
},
|
||||
async run(context) {
|
||||
return [context.payload.body];
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,169 @@
|
||||
import { createTrigger, Property, TriggerStrategy } from '@activepieces/pieces-framework';
|
||||
import { checkoutComAuth, getEnvironmentFromApiKey } from '../common/auth';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
|
||||
export const paymentEventsTrigger = createTrigger({
|
||||
name: 'payment_events',
|
||||
displayName: 'Payment Events',
|
||||
description: 'Trigger order fulfillment when payment is approved.',
|
||||
auth: checkoutComAuth,
|
||||
props: {
|
||||
eventTypes: Property.MultiSelectDropdown({
|
||||
auth: checkoutComAuth,
|
||||
displayName: 'Event Types',
|
||||
description: 'Select the payment events you want to listen for',
|
||||
required: true,
|
||||
refreshers: [],
|
||||
options: async ({ auth }) => {
|
||||
if (!auth) {
|
||||
return {
|
||||
disabled: true,
|
||||
options: [],
|
||||
placeholder: 'Please connect your Checkout.com account first',
|
||||
};
|
||||
}
|
||||
|
||||
try {
|
||||
const { baseUrl } = getEnvironmentFromApiKey(auth.secret_text);
|
||||
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url: `${baseUrl}/workflows/event-types`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
|
||||
const eventSources = response.body || [];
|
||||
|
||||
const gatewaySource = eventSources.find((source: any) => source.id === 'gateway');
|
||||
|
||||
if (!gatewaySource || !gatewaySource.events) {
|
||||
return {
|
||||
disabled: false,
|
||||
options: [
|
||||
{ label: 'Payment Approved', value: 'payment_approved' },
|
||||
{ label: 'Payment Declined', value: 'payment_declined' },
|
||||
{ label: 'Payment Captured', value: 'payment_captured' },
|
||||
{ label: 'Payment Refunded', value: 'payment_refunded' },
|
||||
{ label: 'Payment Voided', value: 'payment_voided' },
|
||||
{ label: 'Card Verified', value: 'card_verified' },
|
||||
{ label: 'Card Verification Declined', value: 'card_verification_declined' },
|
||||
{ label: 'Payment Authorization Incremented', value: 'payment_authorization_incremented' },
|
||||
{ label: 'Payment Authorization Increment Declined', value: 'payment_authorization_increment_declined' },
|
||||
{ label: 'Payment Capture Declined', value: 'payment_capture_declined' },
|
||||
{ label: 'Payment Refund Declined', value: 'payment_refund_declined' },
|
||||
{ label: 'Payment Void Declined', value: 'payment_void_declined' },
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
disabled: false,
|
||||
options: gatewaySource.events.map((event: any) => ({
|
||||
label: event.display_name || event.id,
|
||||
value: event.id,
|
||||
})),
|
||||
};
|
||||
} catch (error) {
|
||||
return {
|
||||
disabled: false,
|
||||
options: [
|
||||
{ label: 'Payment Approved', value: 'payment_approved' },
|
||||
{ label: 'Payment Declined', value: 'payment_declined' },
|
||||
{ label: 'Payment Captured', value: 'payment_captured' },
|
||||
{ label: 'Payment Refunded', value: 'payment_refunded' },
|
||||
{ label: 'Payment Voided', value: 'payment_voided' },
|
||||
{ label: 'Card Verified', value: 'card_verified' },
|
||||
{ label: 'Card Verification Declined', value: 'card_verification_declined' },
|
||||
],
|
||||
};
|
||||
}
|
||||
},
|
||||
}),
|
||||
},
|
||||
sampleData: {
|
||||
id: 'evt_az5sblvku4ge3dwpztvyizgcau',
|
||||
source: 'gateway',
|
||||
type: 'payment_approved',
|
||||
timestamp: '2019-08-24T14:15:22Z',
|
||||
version: '1.0.0',
|
||||
data: {
|
||||
id: 'pay_mbabizu24mvu3mela5njyhpit4',
|
||||
action_id: 'act_y3oqhf46pyzuxjbcn2giaqnb44',
|
||||
amount: 6540,
|
||||
currency: 'USD',
|
||||
approved: true,
|
||||
status: 'Authorized',
|
||||
auth_code: '643381',
|
||||
payment_type: 'Regular',
|
||||
response_code: '10000',
|
||||
response_summary: 'Approved',
|
||||
reference: 'ORD-5023-4E89',
|
||||
processed_on: '2020-02-27T11:26:59Z'
|
||||
}
|
||||
},
|
||||
type: TriggerStrategy.WEBHOOK,
|
||||
async onEnable(context) {
|
||||
const { eventTypes } = context.propsValue;
|
||||
const { baseUrl } = getEnvironmentFromApiKey(context.auth.secret_text);
|
||||
|
||||
try {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${baseUrl}/workflows`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${context.auth.secret_text}`,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: {
|
||||
name: 'Activepieces Payment Events Workflow',
|
||||
active: true,
|
||||
conditions: [
|
||||
{
|
||||
type: 'event',
|
||||
events: {
|
||||
gateway: eventTypes,
|
||||
},
|
||||
},
|
||||
],
|
||||
actions: [
|
||||
{
|
||||
type: 'webhook',
|
||||
url: context.webhookUrl,
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
await context.store.put('checkout_payment_workflow', {
|
||||
workflowId: response.body.id,
|
||||
});
|
||||
} catch (error: any) {
|
||||
throw new Error(`Failed to create payment events workflow: ${error.message}`);
|
||||
}
|
||||
},
|
||||
async onDisable(context) {
|
||||
try {
|
||||
const workflowData = await context.store.get<{ workflowId: string }>('checkout_payment_workflow');
|
||||
|
||||
if (workflowData?.workflowId) {
|
||||
const { baseUrl } = getEnvironmentFromApiKey(context.auth.secret_text);
|
||||
|
||||
await httpClient.sendRequest({
|
||||
method: HttpMethod.DELETE,
|
||||
url: `${baseUrl}/workflows/${workflowData.workflowId}`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${context.auth.secret_text}`,
|
||||
},
|
||||
});
|
||||
}
|
||||
} catch (error: any) {
|
||||
console.error('Failed to delete payment events workflow:', error.message);
|
||||
}
|
||||
},
|
||||
async run(context) {
|
||||
return [context.payload.body];
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"extends": "../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"importHelpers": true,
|
||||
"noImplicitOverride": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noPropertyAccessFromIndexSignature": true
|
||||
},
|
||||
"files": [],
|
||||
"include": [],
|
||||
"references": [
|
||||
{
|
||||
"path": "./tsconfig.lib.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../../../dist/out-tsc",
|
||||
"declaration": true,
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user