1
votes

In the Magento Shopping cart's payment method step, in the implemented payment method when the Credit Card (CC) details are entered the form does not get posted after placing the order.

The implemented payment method is setup so that the form has a action attribute pointing to a payment processor gateway and includes input fields for CC details. The name set for input fields are recognized by the endpoint accepting POST requests.

The form.phtml is setup so that the standard Magento CC input fields are surrounded by a form tag with the endpoint for the action. I do not have a submit button within this form, I thought the place order button does the submission.

How can I get the form to submit the CC details to the endpoint once payment method selection is continued and the placed order button is clicked?

The CC details should only be posted to the endpoint, it should not be posted to the server hosting the Magento Shopping cart.

1

1 Answers

1
votes

We would need to know more such as what the Payment module is (name, version, developer), what version of Magento you are working with and have you made any modifications to the module and core code.

This thread should answer at least some of your questions - Magento Payment flow

If you want to post CC details to the endpoint, you should contact them about whether they have either:

  • A payment module for Magento that you can use (only use over SSL)
  • An iframe payment window that can be used

As long as you're using strong SSL certificates you can post the CC details back to the server. Magento will handle the card authorization and payments without storing any details (unless you use the 'Credit Card' payment method).