Update ZipPay API endpoints to v2 with new domains#8
Update ZipPay API endpoints to v2 with new domains#8jack-workhouse wants to merge 3 commits intoignited:masterfrom
Conversation
- Update live endpoint from api.zipmoney.com.au/merchant/v1 to merchant-api.com/au/merchant/v2 - Update sandbox endpoint from api.sandbox.zipmoney.com.au/merchant/v1 to sand.merchant-api.com/au/merchant/v2 - Follows ZipPay's new v2 API endpoint structure
- Live endpoint: https://merchant-api.com/au/merchant/v1 - Sandbox endpoint: https://sand.merchant-api.com/au/merchant/v1 - Only the domain is changing from zipmoney.com.au to merchant-api.com
|
I had to double check other implementations because the |
|
Hi @jack-workhouse thanks for the PR, will take a look later this week or next. |
|
@jack-workhouse, have had a chance to review. May I ask why you are proposing to bump to v2? The new API endpoint should be: |
|
According to the Zip migration documentation (https://developers.zip.co/v11/docs/checkouts-api-merchants), this package is currently using the "Production AU (v2)" endpoints:
The documentation shows that what Zip calls "v2" in the new domain structure corresponds to the |
|
@alexw23 Zip have stated that the existing domain is going to be retired at the end of this month, although not sure if that means they're going to deactivate it or not. I'd hope that they'd just leave it active, but I have not been able to get any confirmation from Zip on that yet. |
|
@jack-workhouse @simonworkhouse The project I'm working on is no longer using Zip thus for my slight apathy here. Would either one of you like to take over this repo? |
|
@alexw23 I'm not entirely fond of the idea of taking over the repo but could possibly be persuaded to become a maintainer of sorts. With that in mind, we'd also have to consider how package versions would be published to packagist, are the relevant webhooks set up? I wouldn't want access to your packagist organisation and we'd have to have the absolute minimum required permissions assigned. Maybe we could find a way to compensate you for your time instead? |
|
Seeing that there's limited time left for this (according to Zip's notice) we may have to consider maintaining a fork instead. Unless of course this PR might be merged this week, perhaps? |
Summary
Updates the ZipPay API endpoints from v1 to v2 with new domain infrastructure. This includes both an API version upgrade and domain migration from the legacy zipmoney.com.au domains to the new merchant-api.com domains.
Changes
https://api.zipmoney.com.au/merchant/v1tohttps://merchant-api.com/au/merchant/v2https://api.sandbox.zipmoney.com.au/merchant/v1tohttps://sand.merchant-api.com/au/merchant/v2Reason
ZipPay is migrating to v2 API endpoints with new domain infrastructure. This update includes:
Please see: https://developers.zip.co/v11/docs/checkouts-api-merchants