In struts 1.3 , i have a payment.jsp,
- Credit Card Number.
- Credit Card Type.
- Card Holder Name.
- Expiration Date.
- CVV Number.
- Comments.
The action form PaymentForm has the validations for the creditCardNumber as
!GenericValidator.isCreditCard(creditCardNumber)
, & expairy date开发者_运维问答 to select the MM & YYYY.
my question is , On submit button Then there should be an API (standard) which should validate the credit card details and process the payments. So which api i should use ?
You will need a (payed) subscription to a Payment Service Provider and use the API they possibly provide. Usually, you will need generate a URL and make a post with this URL.
精彩评论