Overriding the IPN

You can override the Instant Payment Notification (also called IPN) in the payment form in case you use one shop for various sales channels, payment types, languages, etc.

This function is not compatible with the execution of the request sent to the IPN from the Back Office. The called URL is the URL that was set up in the notification rule (see chapter Setting up notifications).

  1. Use the fields required for your use case (see chapter Generating a payment form) to create your payment form.
  2. Use the vads_url_check field to override the URL of the page to notify.
    If the value of the vads_url_check field is wrong, the form will be rejected.
  3. Compute the value of the signature field using all the fields of your form starting with vads_ (see chapter Computing the signature).
Example of a payment form with IPN override:
<form method="POST" action="https://secure.payzen.eu/vads-payment/">
<input type="hidden" name="vads_action_mode" value="INTERACTIVE" />
<input type="hidden" name="vads_amount" value="3000" />
<input type="hidden" name="vads_capture_delay" value="0" />
<input type="hidden" name="vads_ctx_mode" value="TEST" />
<input type="hidden" name="vads_currency" value="978" />
<input type="hidden" name="vads_page_action" value="PAYMENT" />
<input type="hidden" name="vads_payment_config" value="SINGLE" />
<input type="hidden" name="vads_site_id" value="12345678" />
<input type="hidden" name="vads_trans_date" value="20140526101407" />
<input type="hidden" name="vads_trans_id" value="239848" />
<input type="hidden" name="vads_url_check" value="http://www.myshop.com/check" />
<input type="hidden" name="vads_version" value="V2" />
<input type="hidden" name="signature" value="92c5f6ad521781e760b72349ed900e88e36c001c"/>
<input type="submit" name="pay" value="Pay"/>
</form>