Skip to main content

fdk-payment

Deprecation Notice

Vue-based themes will soon be deprecated. Please switch to React-based themes, as all future updates and support will focus exclusively on React.

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

KeyTypeDescriptionPayload
retryPaymentfunctionIt 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"}
checkoutPaymentfunctionIt is used for payment details during checkout.{"payment","meta"}
confirmPaymentfunctionIt is used to confirm the payment of the product. {"isPayByCardPayment":"booloean","payment_identifier","payment_mode","aggregator_name","merchant_code"}
confirmPaymentAddressfunctionSelect an address from available addresses.{"body":{"cart_id","id","billing_address_id"},"cartId","buyNow","i","b"}
getEpaylaterBannerDetailsfunctionIt is used to get Epaylater Enabled if user is tentatively approved by epaylater.
customerOnboardfunctionIt 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"}
redirectToAggregatorfunctionIt is used to the redirect the user to the aggregator's page. {"source":"value","aggregator":"value"}
customerCreditSummaryfunctionIt is used to get the customer's credit summary.{"aggregator":"value"}

Example

    <fdk-payment>
<template slot-scope="payment">
///code
</template
</fdk-payment>

Was this section helpful?