fdk-payment
Payment Action Component
Tag
fdk-payment
Description
This action component is used for performing actions related to payment such as retry payment, confirm payment, confirm payment address, redirect to aggregator, customer credit summary, customer onboard, and checkout payment.
Props
Key | Type | Description | Payload |
---|---|---|---|
retryPayment | function | It is used to retry the payment when it fails. | {"success","status","order_id","aggregator_name","cart_id","delivery_address_id",,"billing_address_id","payment_mode","payment_mode_identifier","aggregator_order_id"} |
checkoutPayment | function | It is used for payment details during checkout. | {"payment","meta"} |
confirmPayment | function | It is used to confirm the payment of the product. | {"isPayByCardPayment":"booloean","payment_identifier","payment_mode","aggregator_name","merchant_code"} |
confirmPaymentAddress | function | Select an address from available addresses. | {"body":{"cart_id","id","billing_address_id"},"cartId","buyNow","i","b"} |
getEpaylaterBannerDetails | function | It is used to get Epaylater Enabled if user is tentatively approved by epaylater. | |
customerOnboard | function | It is used to fetch the customer's credit summary. | {"marketplace_info":{"date_of_joining","membership_id","name"},"personal_info":{"email_verified","address_as_per_id":{addressline1,addressline2,"pincode","ownership_type","city","land_mark","state"},"first_name","phone","mobile_verified","pan","last_name","passport","voter_id","fathers_name","dob","mothers_name","driving_license","email","middle_name","gender"},"device":{"device_model","identifier_type","device_make","os_version","os","device_type","identification_number"},"mcc","aggregator","business_info","source"} |
redirectToAggregator | function | It is used to the redirect the user to the aggregator's page. | {"source":"value","aggregator":"value"} |
customerCreditSummary | function | It is used to get the customer's credit summary. | {"aggregator":"value"} |
Example
<fdk-payment>
<template slot-scope="payment">
///code
</template
</fdk-payment>