Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Klarna payment code


Dennis_oss

Recommended Posts

Hello,

 

I have installed the Klarna payment module.

But in it there is a day of Birth input textfield.

 

My customers get confused about the way to enter their date.

So I've converted that line of code so it are three pulldowns to select there day of birth.

 

Now my problem.

I am a terrible programmer. But I'm realy good in finding code and copy/paste. :)

 

This is de origional code:

 

 

array('title' => KLARNA_LANG_NL_PERSONALNUMBER,

'field' => tep_draw_input_field('klarna_nl_pnum',

$klarna_nl_pnum)),

 

This is working fine.

But I want these in pulldowns.

 

The pulldowns are working 100%. But I have no idea how to fill $klarna_nl_pnum.

I think this string is needed...

 

This is the new code:

 

array('title' => KLARNA_LANG_NL_PERSONALNUMBER,

 

'field' => tep_draw_pull_down_menu('dob_day', $dob_day) .

' ' . tep_draw_pull_down_menu('dob_month', $dob_month) .

' ' . tep_draw_pull_down_menu('dob_year', $dob_year)),

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...