Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Payment Form


cmonteiro

Recommended Posts

Hi, all

 

Can someone help me with this.I know lvery ittle of html and php.

I need to post the following form to a payment gateway.

 

<FORM name='EasyBuy' target='_blank' method='post' action='https://www.trumaxx.eu/EasyBuy-Cert/3D-Secure_EasyBuy.aspx'>
<INPUT type='hidden' name='MerchantAccessKey' value='Hgw7XybME5cGFHnOOC+NThHE/2mLf997u2Q960hcz4prrHP0rpOQ5VS5qyUaxIxpRUF4kY53sRWunzkZeAwJXmB8rKOK0p7tW2/Iftp6Q7zL+HGpMpGQkiCRwn9HJ9+a9PZnXD4r8Ix4o4RQny0KTg=='>
<INPUT type='hidden' name='Merchant_TransId' value='123456789'>
<INPUT type='hidden' name='Amount' value='18.50'>
<INPUT type='hidden' name='MerchantInfo' value='10 Kgs de Laranjas'>
<INPUT type='hidden' name='MerchantImageURL' value='http://empresa.com/logotipo.gif'>
<INPUT type='hidden' name='MerchantEmail' value=''>
<INPUT type='hidden' name='ClientEmail' value=''>
<INPUT type='submit' name='Send' value='Comprar'>
</FORM>

<!-- Valores da responsabilidade do Comerciante:                                          -->
<!-- Merchant_TransId, Amount, MerchantInfo, MerchantImageURL, MerchantEmail, ClientEmail -->

 

 

I pasted this code in checkout_confirmation.php:

 

I comented this line 'echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) . "\n";'

 

My submit button appears where it is supposed to, but when I click it, the form is not posted. Instead I am redirected to

the checkout_success.php page.

 

Any ideas, please

Thanks in advance

Link to comment
Share on other sites

Hi, all

 

Can someone help me with this.I know lvery ittle of html and php.

I need to post the following form to a payment gateway.

 

<FORM name='EasyBuy' target='_blank' method='post' action='https://www.trumaxx.eu/EasyBuy-Cert/3D-Secure_EasyBuy.aspx'>
<INPUT type='hidden' name='MerchantAccessKey' value=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX='>
<INPUT type='hidden' name='Merchant_TransId' value='123456789'>
<INPUT type='hidden' name='Amount' value='18.50'>
<INPUT type='hidden' name='MerchantInfo' value='10 Kgs de Laranjas'>
<INPUT type='hidden' name='MerchantImageURL' value='http://empresa.com/logotipo.gif'>
<INPUT type='hidden' name='MerchantEmail' value=''>
<INPUT type='hidden' name='ClientEmail' value=''>
<INPUT type='submit' name='Send' value='Comprar'>
</FORM>

<!-- Valores da responsabilidade do Comerciante:                                          -->
<!-- Merchant_TransId, Amount, MerchantInfo, MerchantImageURL, MerchantEmail, ClientEmail -->

I pasted this code in checkout_confirmation.php:

 

I comented this line 'echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) . "\n";'

 

My submit button appears where it is supposed to, but when I click it, the form is not posted. Instead I am redirected to

the checkout_success.php page.

 

Any ideas, please

Thanks in advance

 

 

I don't want to worry anyone, but youy just posted your Merchant Key for all the world to see!

 

You'd best get a new one.

 

As far as the code you need to change for integration - have you checked to see if anyone has already produced a module for EASYBUY? If they have, that would be the best place to start, as they will know more about how the form data needs to be configured and the post-back to your shop.

* * * * * * * * * * * * * * * * * * * * *

Porpoises are most happy when wet!

\ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...