Pergunta

I'm building an events system where users can book & pay for tickets - I'm intending to use Sage Pay Form, and have all transaction data held on their servers (I would collect ticket order, customer name & address on the website, then have them POST it to Sage Pay).

The only information I need 'my end' is confirmation that payment has been received, so I can simply mark a ticket as sold (most events will have limited tickets).

I've worked with PayPal IPN (& PDT) before, and wondered if Sage Pay offers a similar notification service?

Foi útil?

Solução

With the FORM protocol on the REQUEST you indicate the callback url, you will be notified on that URL when the payment is completed.

SuccessURL The URL of the page/script to which the user is redirected if the transaction is successful. You may attach parameters if you wish. Sage Pay Form will also send an encrypted field containing important information appended to this URL (see below).

You also need to specify the FailureURL, in case the transaction fails.

Outras dicas

Sage Pay also allow confirmation of failed and successful transactions via email if you pass a field *VendorEMail=*john.smith@webdeveloper.com in your transaction posts. This is listed as an optional field in their integration protocol.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top