academe / OmniPay-Payone

A PAYONE gateway driver for the OmniPay framework
MIT License
15 stars 16 forks source link

Support for invoicing module on ShopServerCaptureRequest #15

Closed mcbuckets closed 7 years ago

mcbuckets commented 7 years ago

Added parameters to support Payone invoicing module.

judgej commented 7 years ago

Thank you - all merged. I've not received a PDF invoice yet on the test account, and not sure if I'm meant to, but will see what arrives overnight. If there is a way to show this working on a test account, I would be very interested to try it out.

mcbuckets commented 7 years ago

You should enable invoicing in your Payone PMI and send all data capture or authorise request requires from docs to receive invoice. It really does send invoices in test mode but you have to make sure that your server returns 200 on notification callback.

judgej commented 7 years ago

Thank you - I will give that a go.

mcbuckets commented 7 years ago

You're welcome :)

judgej commented 7 years ago

Oh, I added the invoiceDeliveryEndDate to this PR. I have no idea what it does, but it's in the docs, so may be useful to people who use it.

mcbuckets commented 7 years ago

As far as i understand invoiceDeliveryEndDate serves for delivery of goods that require shipping or contain any sort of time gap between purchase and delivery. Not sure, however.