CCAvenue's risk policy requires the shopper's phone number (a ten-digit numeric value) in the address object, which cannot be empty. However, Digital River does not validate the phone number.
CCAvenue source example
Payment options
CCAvenue offers multiple payment options. The bankCode identifies the payment options and determines the value of the subType field.
The bankCode value will be used as the subType value unless the bankCode is "Credit Card", then the bankName will be used as the subType.
Field
Optional/Required
Description
bankReferenceNumber
Required
The bank reference nubmer for the shopper's account.
accountToken
Required
The shopper's account token.
trackingId
Required
The tracking identifier for the order.
Step 3: Authorize the CCAvenue source
When you create a CCAvenue source, the customer must authorize the charge through their payment provider. You can accomplish this by redirecting the customer to their payment provider.
Redirecting the customer for CCAvenue authorization
Use the redirectUrl parameter in your createSource response to redirect your customer to the payment provider for authorization.
The payment provider will present the customer with the transaction details, and the customer can authorize or cancel the transaction. A successful authorization redirects the customer to the CCAvenue Return URL parameter specified when you created the source.
Once authorized, the source state will change to chargeable.
Step 4: Use the authorized source
Once authorized, you can use the source by attaching it to a checkout or a customer.