Pickup locations not showing up in one-step checkout

ElasticWebElasticWeb Member Posts: 2

I'm trying to display pickup points in the checkout based on the customers. I created an external shipment service that returns a shipping method with a list of pickup points

See example:

{"shipment_methods":[{"id":9999999999,"title":"Pick-up","description":"Is pick-up","price_incl":17,"price_excl":14.05,"tax_rate":0.21,"is_servicepoint":0,"is_cash_on_delivery":0,"is_pickup":1,"pickup_locations":[{"location_id":214704,"name":"Primera Getsewoud","address":{"city":"Nieuw-Vennep","country_code":"NL","number":21,"number_ext":null,"street":"Handelplein","zip_code":"2151NL","phone_number":null,"description":"Description"},"latitude":52.27107384,"longitude":4.61944394,"distance":480},{"location_id":114866,"name":"Albert Heijn","address":{"city":"Nieuw-Vennep","country_code":"NL","number":185,"number_ext":null,"street":"Handelplein","zip_code":"2151NN","phone_number":null,"description":"Description"},"latitude":52.27072553,"longitude":4.61978693,"distance":524}]}]}


The shipment method is showing up in the available shipment methods, but when I select the shipping method the pick up points are not showing up as options.



Wondering why. Also tried different combinations of the is_servicepoint, is_pickup and is_cash_on_delivery but all have the same result.

Sign In or Register to comment.