From 65d7968af345d75842fffb9d5e7f8de0a96bbc3b Mon Sep 17 00:00:00 2001 From: Alexander Zinovev Date: Tue, 28 Jan 2020 15:02:52 +0100 Subject: [PATCH 1/5] Add Base URLs for Oceania. --- src/Klarna/Rest/Transport/ConnectorInterface.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Klarna/Rest/Transport/ConnectorInterface.php b/src/Klarna/Rest/Transport/ConnectorInterface.php index 78f57cd..105d36e 100644 --- a/src/Klarna/Rest/Transport/ConnectorInterface.php +++ b/src/Klarna/Rest/Transport/ConnectorInterface.php @@ -53,6 +53,16 @@ interface ConnectorInterface */ const NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com'; + /** + * API base URL for Oceania. + */ + const OC_BASE_URL = 'https://api-oc.klarna.com'; + + /** + * Testing API base URL for Oceania. + */ + const OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com'; + /** * Sends HTTP GET request to specified path. * From c179841a672bda207737583659a1cb478f788b2e Mon Sep 17 00:00:00 2001 From: Alexander Zinovev Date: Tue, 28 Jan 2020 15:07:34 +0100 Subject: [PATCH 2/5] Oceania: Add BASE URLs to all examples. --- docs/examples/CheckoutAPI/create_checkout.php | 2 ++ docs/examples/CheckoutAPI/create_checkout_attachment.php | 2 ++ docs/examples/CheckoutAPI/discounts.php | 2 ++ docs/examples/CheckoutAPI/fetch_checkout.php | 2 ++ docs/examples/CheckoutAPI/handling_exceptions.php | 2 ++ docs/examples/CheckoutAPI/update_checkout.php | 2 ++ docs/examples/Common/change_user_agent.php | 2 ++ docs/examples/CustomerTokenAPI/Tokens/create_order.php | 2 ++ docs/examples/CustomerTokenAPI/Tokens/read_token_details.php | 2 ++ docs/examples/CustomerTokenAPI/Tokens/update_token_status.php | 2 ++ .../HostedPaymentPageAPI/Sessions/create_new_hpp_session.php | 2 ++ docs/examples/HostedPaymentPageAPI/Sessions/disable_session.php | 2 ++ docs/examples/HostedPaymentPageAPI/Sessions/distribute_link.php | 2 ++ .../HostedPaymentPageAPI/Sessions/get_hpp_session_status.php | 2 ++ .../InstantShoppingAPI/ButtonKeys/create_button_key.php | 2 ++ .../InstantShoppingAPI/ButtonKeys/see_button_key_options.php | 2 ++ .../InstantShoppingAPI/ButtonKeys/update_button_key.php | 2 ++ docs/examples/InstantShoppingAPI/Orders/approve_order.php | 2 ++ docs/examples/InstantShoppingAPI/Orders/decline_order.php | 2 ++ docs/examples/InstantShoppingAPI/Orders/retrieve_order.php | 2 ++ docs/examples/OrderManagementAPI/Captures/add_shipping_info.php | 2 ++ docs/examples/OrderManagementAPI/Captures/trigger_send_out.php | 2 ++ .../OrderManagementAPI/Captures/update_customer_details.php | 2 ++ docs/examples/OrderManagementAPI/Orders/acknowledge_order.php | 2 ++ docs/examples/OrderManagementAPI/Orders/cancel_order.php | 2 ++ docs/examples/OrderManagementAPI/Orders/create_capture.php | 2 ++ .../OrderManagementAPI/Orders/extend_authorization_time.php | 2 ++ docs/examples/OrderManagementAPI/Orders/fetch_all_captures.php | 2 ++ docs/examples/OrderManagementAPI/Orders/fetch_capture.php | 2 ++ docs/examples/OrderManagementAPI/Orders/fetch_order.php | 2 ++ .../Orders/release_remaining_authorization.php | 2 ++ .../OrderManagementAPI/Orders/update_customer_details.php | 2 ++ .../OrderManagementAPI/Orders/update_merchant_references.php | 2 ++ docs/examples/OrderManagementAPI/Orders/update_order_lines.php | 2 ++ docs/examples/OrderManagementAPI/Refunds/fetch_refund.php | 2 ++ docs/examples/OrderManagementAPI/Refunds/refund_order.php | 2 ++ .../PaymentsAPI/Orders/cancel_existing_authorization.php | 2 ++ docs/examples/PaymentsAPI/Orders/create_order.php | 2 ++ docs/examples/PaymentsAPI/Orders/generate_customer_token.php | 2 ++ .../examples/PaymentsAPI/Sessions/create_new_credit_session.php | 2 ++ docs/examples/PaymentsAPI/Sessions/read_credit_session.php | 2 ++ docs/examples/PaymentsAPI/Sessions/update_credit_session.php | 2 ++ docs/examples/SettlementsAPI/Payouts/get_all_payouts.php | 2 ++ docs/examples/SettlementsAPI/Payouts/get_payout.php | 2 ++ docs/examples/SettlementsAPI/Payouts/get_summary.php | 2 ++ docs/examples/SettlementsAPI/Reports/payout_report_csv.php | 2 ++ docs/examples/SettlementsAPI/Reports/payout_report_pdf.php | 2 ++ docs/examples/SettlementsAPI/Reports/summary_report_cvs.php | 2 ++ docs/examples/SettlementsAPI/Reports/summary_report_pdf.php | 2 ++ docs/examples/SettlementsAPI/Transactions/get_transactions.php | 2 ++ 50 files changed, 100 insertions(+) diff --git a/docs/examples/CheckoutAPI/create_checkout.php b/docs/examples/CheckoutAPI/create_checkout.php index 38a7b75..2f796c3 100644 --- a/docs/examples/CheckoutAPI/create_checkout.php +++ b/docs/examples/CheckoutAPI/create_checkout.php @@ -35,6 +35,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/CheckoutAPI/create_checkout_attachment.php b/docs/examples/CheckoutAPI/create_checkout_attachment.php index ab09755..0c991ca 100644 --- a/docs/examples/CheckoutAPI/create_checkout_attachment.php +++ b/docs/examples/CheckoutAPI/create_checkout_attachment.php @@ -37,6 +37,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/CheckoutAPI/discounts.php b/docs/examples/CheckoutAPI/discounts.php index ac3e01f..6703a1c 100644 --- a/docs/examples/CheckoutAPI/discounts.php +++ b/docs/examples/CheckoutAPI/discounts.php @@ -35,6 +35,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/CheckoutAPI/fetch_checkout.php b/docs/examples/CheckoutAPI/fetch_checkout.php index a2cd0f0..270aca3 100644 --- a/docs/examples/CheckoutAPI/fetch_checkout.php +++ b/docs/examples/CheckoutAPI/fetch_checkout.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/CheckoutAPI/handling_exceptions.php b/docs/examples/CheckoutAPI/handling_exceptions.php index 0b4c345..ef66523 100644 --- a/docs/examples/CheckoutAPI/handling_exceptions.php +++ b/docs/examples/CheckoutAPI/handling_exceptions.php @@ -37,6 +37,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/CheckoutAPI/update_checkout.php b/docs/examples/CheckoutAPI/update_checkout.php index 297cf4d..11e0463 100644 --- a/docs/examples/CheckoutAPI/update_checkout.php +++ b/docs/examples/CheckoutAPI/update_checkout.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/Common/change_user_agent.php b/docs/examples/Common/change_user_agent.php index e4ad7cf..26e7054 100644 --- a/docs/examples/Common/change_user_agent.php +++ b/docs/examples/Common/change_user_agent.php @@ -35,6 +35,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/CustomerTokenAPI/Tokens/create_order.php b/docs/examples/CustomerTokenAPI/Tokens/create_order.php index d59ced6..5a75a47 100644 --- a/docs/examples/CustomerTokenAPI/Tokens/create_order.php +++ b/docs/examples/CustomerTokenAPI/Tokens/create_order.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/CustomerTokenAPI/Tokens/read_token_details.php b/docs/examples/CustomerTokenAPI/Tokens/read_token_details.php index ce1a4f2..7010a13 100644 --- a/docs/examples/CustomerTokenAPI/Tokens/read_token_details.php +++ b/docs/examples/CustomerTokenAPI/Tokens/read_token_details.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/CustomerTokenAPI/Tokens/update_token_status.php b/docs/examples/CustomerTokenAPI/Tokens/update_token_status.php index 9f90137..f1419c9 100644 --- a/docs/examples/CustomerTokenAPI/Tokens/update_token_status.php +++ b/docs/examples/CustomerTokenAPI/Tokens/update_token_status.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/HostedPaymentPageAPI/Sessions/create_new_hpp_session.php b/docs/examples/HostedPaymentPageAPI/Sessions/create_new_hpp_session.php index 01913da..7850a0d 100644 --- a/docs/examples/HostedPaymentPageAPI/Sessions/create_new_hpp_session.php +++ b/docs/examples/HostedPaymentPageAPI/Sessions/create_new_hpp_session.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/HostedPaymentPageAPI/Sessions/disable_session.php b/docs/examples/HostedPaymentPageAPI/Sessions/disable_session.php index 07b9606..111a6d7 100644 --- a/docs/examples/HostedPaymentPageAPI/Sessions/disable_session.php +++ b/docs/examples/HostedPaymentPageAPI/Sessions/disable_session.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/HostedPaymentPageAPI/Sessions/distribute_link.php b/docs/examples/HostedPaymentPageAPI/Sessions/distribute_link.php index 383cc76..89925f9 100644 --- a/docs/examples/HostedPaymentPageAPI/Sessions/distribute_link.php +++ b/docs/examples/HostedPaymentPageAPI/Sessions/distribute_link.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/HostedPaymentPageAPI/Sessions/get_hpp_session_status.php b/docs/examples/HostedPaymentPageAPI/Sessions/get_hpp_session_status.php index 8974c68..9d6f731 100644 --- a/docs/examples/HostedPaymentPageAPI/Sessions/get_hpp_session_status.php +++ b/docs/examples/HostedPaymentPageAPI/Sessions/get_hpp_session_status.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/InstantShoppingAPI/ButtonKeys/create_button_key.php b/docs/examples/InstantShoppingAPI/ButtonKeys/create_button_key.php index d8b74ba..76218fa 100644 --- a/docs/examples/InstantShoppingAPI/ButtonKeys/create_button_key.php +++ b/docs/examples/InstantShoppingAPI/ButtonKeys/create_button_key.php @@ -35,6 +35,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/InstantShoppingAPI/ButtonKeys/see_button_key_options.php b/docs/examples/InstantShoppingAPI/ButtonKeys/see_button_key_options.php index 170a545..565d2c4 100644 --- a/docs/examples/InstantShoppingAPI/ButtonKeys/see_button_key_options.php +++ b/docs/examples/InstantShoppingAPI/ButtonKeys/see_button_key_options.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/InstantShoppingAPI/ButtonKeys/update_button_key.php b/docs/examples/InstantShoppingAPI/ButtonKeys/update_button_key.php index 8df75aa..6318c44 100644 --- a/docs/examples/InstantShoppingAPI/ButtonKeys/update_button_key.php +++ b/docs/examples/InstantShoppingAPI/ButtonKeys/update_button_key.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/InstantShoppingAPI/Orders/approve_order.php b/docs/examples/InstantShoppingAPI/Orders/approve_order.php index 5767697..494f406 100644 --- a/docs/examples/InstantShoppingAPI/Orders/approve_order.php +++ b/docs/examples/InstantShoppingAPI/Orders/approve_order.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/InstantShoppingAPI/Orders/decline_order.php b/docs/examples/InstantShoppingAPI/Orders/decline_order.php index bc45acb..3a1ee12 100644 --- a/docs/examples/InstantShoppingAPI/Orders/decline_order.php +++ b/docs/examples/InstantShoppingAPI/Orders/decline_order.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/InstantShoppingAPI/Orders/retrieve_order.php b/docs/examples/InstantShoppingAPI/Orders/retrieve_order.php index e84a93d..a9570c5 100644 --- a/docs/examples/InstantShoppingAPI/Orders/retrieve_order.php +++ b/docs/examples/InstantShoppingAPI/Orders/retrieve_order.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Captures/add_shipping_info.php b/docs/examples/OrderManagementAPI/Captures/add_shipping_info.php index b633825..5c268b4 100644 --- a/docs/examples/OrderManagementAPI/Captures/add_shipping_info.php +++ b/docs/examples/OrderManagementAPI/Captures/add_shipping_info.php @@ -37,6 +37,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Captures/trigger_send_out.php b/docs/examples/OrderManagementAPI/Captures/trigger_send_out.php index 6f3e907..6052df0 100644 --- a/docs/examples/OrderManagementAPI/Captures/trigger_send_out.php +++ b/docs/examples/OrderManagementAPI/Captures/trigger_send_out.php @@ -37,6 +37,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Captures/update_customer_details.php b/docs/examples/OrderManagementAPI/Captures/update_customer_details.php index 5afa422..db7151a 100644 --- a/docs/examples/OrderManagementAPI/Captures/update_customer_details.php +++ b/docs/examples/OrderManagementAPI/Captures/update_customer_details.php @@ -37,6 +37,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Orders/acknowledge_order.php b/docs/examples/OrderManagementAPI/Orders/acknowledge_order.php index b7a6fad..9cf3ebb 100644 --- a/docs/examples/OrderManagementAPI/Orders/acknowledge_order.php +++ b/docs/examples/OrderManagementAPI/Orders/acknowledge_order.php @@ -39,6 +39,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Orders/cancel_order.php b/docs/examples/OrderManagementAPI/Orders/cancel_order.php index 1d74796..2a04a14 100644 --- a/docs/examples/OrderManagementAPI/Orders/cancel_order.php +++ b/docs/examples/OrderManagementAPI/Orders/cancel_order.php @@ -38,6 +38,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Orders/create_capture.php b/docs/examples/OrderManagementAPI/Orders/create_capture.php index 4e10f37..d5721c1 100644 --- a/docs/examples/OrderManagementAPI/Orders/create_capture.php +++ b/docs/examples/OrderManagementAPI/Orders/create_capture.php @@ -39,6 +39,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Orders/extend_authorization_time.php b/docs/examples/OrderManagementAPI/Orders/extend_authorization_time.php index 8ecc962..6e164fa 100644 --- a/docs/examples/OrderManagementAPI/Orders/extend_authorization_time.php +++ b/docs/examples/OrderManagementAPI/Orders/extend_authorization_time.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Orders/fetch_all_captures.php b/docs/examples/OrderManagementAPI/Orders/fetch_all_captures.php index fa5bd3c..7ae89e8 100644 --- a/docs/examples/OrderManagementAPI/Orders/fetch_all_captures.php +++ b/docs/examples/OrderManagementAPI/Orders/fetch_all_captures.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Orders/fetch_capture.php b/docs/examples/OrderManagementAPI/Orders/fetch_capture.php index 696ef5c..50ee23e 100644 --- a/docs/examples/OrderManagementAPI/Orders/fetch_capture.php +++ b/docs/examples/OrderManagementAPI/Orders/fetch_capture.php @@ -37,6 +37,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Orders/fetch_order.php b/docs/examples/OrderManagementAPI/Orders/fetch_order.php index fcdd2ae..b611ad5 100644 --- a/docs/examples/OrderManagementAPI/Orders/fetch_order.php +++ b/docs/examples/OrderManagementAPI/Orders/fetch_order.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Orders/release_remaining_authorization.php b/docs/examples/OrderManagementAPI/Orders/release_remaining_authorization.php index edd5cbe..5b1cca9 100644 --- a/docs/examples/OrderManagementAPI/Orders/release_remaining_authorization.php +++ b/docs/examples/OrderManagementAPI/Orders/release_remaining_authorization.php @@ -38,6 +38,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Orders/update_customer_details.php b/docs/examples/OrderManagementAPI/Orders/update_customer_details.php index 37359f5..87f77ca 100644 --- a/docs/examples/OrderManagementAPI/Orders/update_customer_details.php +++ b/docs/examples/OrderManagementAPI/Orders/update_customer_details.php @@ -38,6 +38,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Orders/update_merchant_references.php b/docs/examples/OrderManagementAPI/Orders/update_merchant_references.php index 2139a98..b505744 100644 --- a/docs/examples/OrderManagementAPI/Orders/update_merchant_references.php +++ b/docs/examples/OrderManagementAPI/Orders/update_merchant_references.php @@ -39,6 +39,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Orders/update_order_lines.php b/docs/examples/OrderManagementAPI/Orders/update_order_lines.php index ce43ff9..561ac15 100644 --- a/docs/examples/OrderManagementAPI/Orders/update_order_lines.php +++ b/docs/examples/OrderManagementAPI/Orders/update_order_lines.php @@ -38,6 +38,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Refunds/fetch_refund.php b/docs/examples/OrderManagementAPI/Refunds/fetch_refund.php index 7f7ce93..e567383 100644 --- a/docs/examples/OrderManagementAPI/Refunds/fetch_refund.php +++ b/docs/examples/OrderManagementAPI/Refunds/fetch_refund.php @@ -37,6 +37,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/OrderManagementAPI/Refunds/refund_order.php b/docs/examples/OrderManagementAPI/Refunds/refund_order.php index 92839d8..63e72cb 100644 --- a/docs/examples/OrderManagementAPI/Refunds/refund_order.php +++ b/docs/examples/OrderManagementAPI/Refunds/refund_order.php @@ -38,6 +38,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/PaymentsAPI/Orders/cancel_existing_authorization.php b/docs/examples/PaymentsAPI/Orders/cancel_existing_authorization.php index 4574279..ee0477a 100644 --- a/docs/examples/PaymentsAPI/Orders/cancel_existing_authorization.php +++ b/docs/examples/PaymentsAPI/Orders/cancel_existing_authorization.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/PaymentsAPI/Orders/create_order.php b/docs/examples/PaymentsAPI/Orders/create_order.php index 6e8d060..f742d59 100644 --- a/docs/examples/PaymentsAPI/Orders/create_order.php +++ b/docs/examples/PaymentsAPI/Orders/create_order.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/PaymentsAPI/Orders/generate_customer_token.php b/docs/examples/PaymentsAPI/Orders/generate_customer_token.php index 6d762e4..db15da2 100644 --- a/docs/examples/PaymentsAPI/Orders/generate_customer_token.php +++ b/docs/examples/PaymentsAPI/Orders/generate_customer_token.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/PaymentsAPI/Sessions/create_new_credit_session.php b/docs/examples/PaymentsAPI/Sessions/create_new_credit_session.php index 4debb17..216b32c 100644 --- a/docs/examples/PaymentsAPI/Sessions/create_new_credit_session.php +++ b/docs/examples/PaymentsAPI/Sessions/create_new_credit_session.php @@ -35,6 +35,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/PaymentsAPI/Sessions/read_credit_session.php b/docs/examples/PaymentsAPI/Sessions/read_credit_session.php index e322368..bbb87c9 100644 --- a/docs/examples/PaymentsAPI/Sessions/read_credit_session.php +++ b/docs/examples/PaymentsAPI/Sessions/read_credit_session.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/PaymentsAPI/Sessions/update_credit_session.php b/docs/examples/PaymentsAPI/Sessions/update_credit_session.php index 8c699ab..5be7985 100644 --- a/docs/examples/PaymentsAPI/Sessions/update_credit_session.php +++ b/docs/examples/PaymentsAPI/Sessions/update_credit_session.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/SettlementsAPI/Payouts/get_all_payouts.php b/docs/examples/SettlementsAPI/Payouts/get_all_payouts.php index 3d2d14f..b6dfffb 100644 --- a/docs/examples/SettlementsAPI/Payouts/get_all_payouts.php +++ b/docs/examples/SettlementsAPI/Payouts/get_all_payouts.php @@ -37,6 +37,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/SettlementsAPI/Payouts/get_payout.php b/docs/examples/SettlementsAPI/Payouts/get_payout.php index 0c34c6d..80e4352 100644 --- a/docs/examples/SettlementsAPI/Payouts/get_payout.php +++ b/docs/examples/SettlementsAPI/Payouts/get_payout.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/SettlementsAPI/Payouts/get_summary.php b/docs/examples/SettlementsAPI/Payouts/get_summary.php index f12be1e..35d08e5 100644 --- a/docs/examples/SettlementsAPI/Payouts/get_summary.php +++ b/docs/examples/SettlementsAPI/Payouts/get_summary.php @@ -37,6 +37,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/SettlementsAPI/Reports/payout_report_csv.php b/docs/examples/SettlementsAPI/Reports/payout_report_csv.php index 66fd17c..1a7853c 100644 --- a/docs/examples/SettlementsAPI/Reports/payout_report_csv.php +++ b/docs/examples/SettlementsAPI/Reports/payout_report_csv.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/SettlementsAPI/Reports/payout_report_pdf.php b/docs/examples/SettlementsAPI/Reports/payout_report_pdf.php index 428e409..6666b77 100644 --- a/docs/examples/SettlementsAPI/Reports/payout_report_pdf.php +++ b/docs/examples/SettlementsAPI/Reports/payout_report_pdf.php @@ -36,6 +36,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/SettlementsAPI/Reports/summary_report_cvs.php b/docs/examples/SettlementsAPI/Reports/summary_report_cvs.php index 7bf8e53..0f68fdb 100644 --- a/docs/examples/SettlementsAPI/Reports/summary_report_cvs.php +++ b/docs/examples/SettlementsAPI/Reports/summary_report_cvs.php @@ -37,6 +37,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/SettlementsAPI/Reports/summary_report_pdf.php b/docs/examples/SettlementsAPI/Reports/summary_report_pdf.php index e247f89..2d67e71 100644 --- a/docs/examples/SettlementsAPI/Reports/summary_report_pdf.php +++ b/docs/examples/SettlementsAPI/Reports/summary_report_pdf.php @@ -37,6 +37,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; diff --git a/docs/examples/SettlementsAPI/Transactions/get_transactions.php b/docs/examples/SettlementsAPI/Transactions/get_transactions.php index 144a97b..36db249 100644 --- a/docs/examples/SettlementsAPI/Transactions/get_transactions.php +++ b/docs/examples/SettlementsAPI/Transactions/get_transactions.php @@ -35,6 +35,8 @@ EU_TEST_BASE_URL = 'https://api.playground.klarna.com' NA_BASE_URL = 'https://api-na.klarna.com' NA_TEST_BASE_URL = 'https://api-na.playground.klarna.com' +OC_BASE_URL = 'https://api-oc.klarna.com' +OC_TEST_BASE_URL = 'https://api-oc.playground.klarna.com' */ $apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL; From 99bc67ec28be814d007ba5fd4ebd273c43861d1b Mon Sep 17 00:00:00 2001 From: Alexander Zinovev Date: Tue, 28 Jan 2020 15:12:31 +0100 Subject: [PATCH 3/5] Bump version number. --- src/Klarna/Rest/Transport/UserAgent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Klarna/Rest/Transport/UserAgent.php b/src/Klarna/Rest/Transport/UserAgent.php index fb52fb4..a60f7fb 100644 --- a/src/Klarna/Rest/Transport/UserAgent.php +++ b/src/Klarna/Rest/Transport/UserAgent.php @@ -32,7 +32,7 @@ class UserAgent implements UserAgentInterface /** * Version of the SDK. */ - const VERSION = '4.2.2'; + const VERSION = '4.2.3'; /** * Components of the user agent. From f776c7b8aacaf811bab48daadbb3326a3ad2002f Mon Sep 17 00:00:00 2001 From: Alexander Zinovev Date: Tue, 28 Jan 2020 15:16:32 +0100 Subject: [PATCH 4/5] Update CHANGELOG and package description. --- CHANGELOG.md | 9 ++++++++- composer.json | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff05a50..e7cb7a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.2.3] - 2020-01-29 + +### Added + +- HTTP Transport: Oceania Base URLs (playground and production) + ## [4.2.2] - 2019-11-05 @@ -199,7 +205,8 @@ you need to check the code before go live. - **NEW MINT-1804** Support checkout v3 and ordermanagement v1 APIs - *Joakim.L* -[Unreleased]: https://github.com/klarna/kco_rest_php/compare/v4.2.2...HEAD +[Unreleased]: https://github.com/klarna/kco_rest_php/compare/v4.2.3...HEAD +[4.2.3]: https://github.com/klarna/kco_rest_php/compare/v4.2.2...v4.2.3 [4.2.2]: https://github.com/klarna/kco_rest_php/compare/v4.2.1...v4.2.2 [4.2.1]: https://github.com/klarna/kco_rest_php/compare/v4.2.0...v4.2.1 [4.2.0]: https://github.com/klarna/kco_rest_php/compare/v4.1.5...v4.2.0 diff --git a/composer.json b/composer.json index 2f737c3..17e62fa 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "klarna/kco_rest", - "description": "Klarna Checkout PHP SDK", + "description": "Official Klarna REST PHP SDK", "homepage": "http://developers.klarna.com", "license": "Apache-2.0", "type": "library", From 89b040861361237ee2b252a2e445ad51451607fa Mon Sep 17 00:00:00 2001 From: Alexander Zinovev Date: Fri, 14 Feb 2020 10:06:47 +0100 Subject: [PATCH 5/5] Update Release datetime in CHANGELOG. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7cb7a4..afca0b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [4.2.3] - 2020-01-29 +## [4.2.3] - 2020-02-14 ### Added