ResendEbizWebFormEmail

Description

The ResendEbizWebFormEmail method is used to resend Email Pay requests and Request Payment Method requests.

Syntax

ResendEbizWebFormEmailResponse ResendEbizWebFormEmail(SecurityToken securityToken, string paymentInternalId)

Arguments

TypeNameReq.Description
SecurityToken securityTokenRA unique token that is used to identify a merchant and authenticate the API request.
stringpaymentInternalIdRIndicates the Payment request to resend.

Return Value

TypeDescription
stringReturns a 1 when the operation is successful. Otherwise, a fault is returned.

Example Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ebiz="http://eBizCharge.ServiceModel.SOAP">
   <soapenv:Header />
   <soapenv:Body>
      <ebiz:ResendEbizWebFormEmail>
         <ebiz:securityToken>
            <ebiz:SecurityId>*************-434c-b126-************</ebiz:SecurityId>
            <ebiz:UserId/>
            <ebiz:Password/>
         </ebiz:securityToken>
         <ebiz:paymentInternalId>*************-4873-94dc-************</ebiz:paymentInternalId>
      </ebiz:ResendEbizWebFormEmail>
   </soapenv:Body>
</soapenv:Envelope>
private static void ResendEbizWebFormEmail()
{
  IeBizService apiClient = new IeBizServiceClient();
  SecurityToken securityToken = new SecurityToken
  {
    SecurityId = "*******-c870-41b8-aa5c-********", // Replace with your actual token
    UserId = "",
    Password = ""
    };
  string paymentInternalId = ""; // Replace with your actual Web Form Payment Internal ID - you can find this in SearchEbizWebFormPendingPayments results
  string emailResponse = apiClient.ResendEbizWebFormEmail(securityToken, paymentInternalId);
  Console.WriteLine($"ResendEbizWebFormEmailResult: {emailResponse}" );
}
// Initialize the SOAP client (replace with your actual endpoint URL)
$client = new SoapClient("https://ebizsoapapidev1.ebizcharge.net/eBizService.svc?singleWsdl");

// Define the merchant security token
$securityToken = array(
  'SecurityId' => '*******-c870-41b8-aa5c-********',
  'UserId'     => '',
  'Password'   => ''
);

// Prepare parameters for the ResendEbizWebFormEmailResult call
$params = array(
  'securityToken' => $securityToken,
  'paymentInternalId' => '*******-c870-41b8-aa5c-********' // Replace with actual payment internal ID
);

try {
  // Make the SOAP request
  $response = $client->ResendEbizWebFormEmail($params);

  // Extract result object from response
  $result = $response->ResendEbizWebFormEmailResult;

  // Display the response
  echo "<pre>";
  print_r($result);
  echo "</pre>";

} catch (SoapFault $e) {
  // Handle any SOAP errors
  echo "SOAP Error: " . $e->getMessage();
}

Example Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <ResendEbizWebFormEmailResponse xmlns="http://eBizCharge.ServiceModel.SOAP">
         <ResendEbizWebFormEmailResult>1</ResendEbizWebFormEmailResult>
      </ResendEbizWebFormEmailResponse>
   </s:Body>
</s:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <s:Fault>
         <faultcode>s:Client</faultcode>
         <faultstring xml:lang="en-US">Error: Object reference not set to an instance of an object.</faultstring>
      </s:Fault>
   </s:Body>
</s:Envelope>