This section provides detailed information about processing payments in China. For a simpler overview, see Credit Cards, China Bank Transfers, and China eWallet.
Step 1 Payment Request Fields, describes the required and optional fields to include in the request.In response, CyberSource sends you a payment reply message with the fields described in Payment Reply Fields.The payment reply message from CyberSource includes the chinaPaymentReply_formData field. The form data is fully formatted text that you must send to the processor. The form data uses the GBK character set.
Step 1
■ encoded_data is a java.lang.String object that contains the form_data response field value.
The processor responds by sending you a payment response message with the fields described in PayEase Response Fields.
The MD in MD5 stands for Message Digest. An MD5 algorithm can be used with any data and it always produces a string of the same size. This string is called a digest. When a public/private key pair is used to create a digest for a given text, the digest is called a signature. The recipient of the text can authenticate the text by using the signature, the MD5 digest of the text, and the public half of the key pair.
Step 1 Use the v_pstatus value from the PayEase response to determine which CyberSource verification value to use. For example:
Step 3 Invoke the MD5 object’s publicVerifyMD5 method with the following values:
■
■ Signature—the v_sign value from the PayEase response.
■ CyberSource verification value—the value that was selected in Step 1. It is the text from which the digest is created. For example: