CCAvenue provides three main integrations in their JDK build.

Summary Table

Feature Non-Seamless Iframe Custom Data
Where payment UI loads CCAvenue page (redirect) Inside your site in iframe N/A
Who styles payment form CCAvenue only CCAvenue (in iframe) N/A
Extra merchant fields Possible Possible Yes, main purpose
PCI scope Lower Lower (same as non-seamless) N/A
User stays on site No Yes N/A

1. Non-Seamless Integration

File Structure

image.png

1.1 Concept

Your Site → Backend (encrypted) → Redirect to CCAvenue’s payment page.

1.2 Flow

  1. Customer fills a form on your site (amount, name, etc.).
  2. Form is submitted to your backend.
  3. Backend encrypts the data using your Working Key.
  4. Backend responds with an HTML form that auto-submits to CCAvenue’s payment URL.
  5. User is taken to CCAvenue-hosted payment page (full redirect).

1.3 Adv & Disadv

Pros

Cons

1.4 Code