Module: ShopeePayService

Defined in:
app/services/shopee_pay_service/base.rb,
app/services/shopee_pay_service/get_invoice.rb,
app/services/shopee_pay_service/create_invoice.rb,
app/services/shopee_pay_service/refund_invoice.rb,
app/services/shopee_pay_service/invalidate_invoice.rb,
app/services/shopee_pay_service/validate_signature.rb

Overview

typed: ignore frozen_string_literal: true

Defined Under Namespace

Classes: Base, CreateInvoice, Error, GetInvoice, InvalidateInvoice, RefundInvoice, ValidateSignature

Constant Summary collapse

HOST_URL =
Rails.env.production? ? 'https://api.wallet.airpay.co.th' : 'https://api.uat.wallet.airpay.co.th'
CLIENT_ID =
Figaro.env.SHOPEEPAY_CLIENT_ID.to_i
CLIENT_SECRET =
Figaro.env.SHOPEEPAY_CLIENT_SECRET
MERCHANT_ID =
Figaro.env.SHOPEEPAY_MERCHANT_ID
STORE_ID =
Figaro.env.SHOPEEPAY_STORE_ID