Skip to content

Commit d1c67a9

Browse files
English documentation URLs.
1 parent bcd83c3 commit d1c67a9

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

examples/step1_checkout_create.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
/*
44
* This file provides an example about how to complete the step 01 of Aplazame's
55
* integration as described in:
6-
* https://aplazame.com/integraciones/api/
6+
* - https://aplazame.com/en/docs/api/
7+
* - https://aplazame.com/integraciones/api/
78
*
89
* It contains three steps:
910
*
@@ -32,7 +33,7 @@
3233

3334

3435
/**
35-
* Create checkout payload as described in https://aplazame.com/integraciones/api/checkout-creation/
36+
* Create checkout payload as described in https://aplazame.com/en/docs/api/checkout-creation/ or https://aplazame.com/integraciones/api/checkout-creation/
3637
*
3738
* @return object
3839
*/
@@ -41,7 +42,7 @@ function createCheckoutPayload() {
4142
* Merchant model
4243
*/
4344
$merchant = new stdClass();
44-
$merchant->notification_url = 'https://merchant.com/order/step3_checkout_confirm.php'; // url where you will receive Aplazame webhook events as described in https://aplazame.com/integraciones/api/checkout-confirmation/
45+
$merchant->notification_url = 'https://merchant.com/order/step3_checkout_confirm.php'; // url where you will receive Aplazame webhook events as described in https://aplazame.com/en/docs/api/checkout-confirmation/ or https://aplazame.com/integraciones/api/checkout-confirmation/
4546
$merchant->success_url = "/success"; // url that the customer is sent to after confirming their order.
4647
$merchant->pending_url = "/pending"; // url that the customer is sent to if the order status is pending.
4748
$merchant->error_url = "/error"; // url that the customer is sent to if there is an error in the checkout.
@@ -161,7 +162,7 @@ function createCheckoutPayload() {
161162
* Send the checkout payload generated by createCheckoutPayload to Aplazame and returns the Aplazame Checkout ID
162163
*
163164
* @param \Aplazame\Api\Client $aplazameApiClient A configured client with the api key and environment
164-
* @param array|object $payload Checkout Parameters as described in https://aplazame.com/integraciones/api/checkout-creation/
165+
* @param array|object $payload Checkout Parameters as described in https://aplazame.com/en/docs/api/checkout-creation/ or https://aplazame.com/integraciones/api/checkout-creation/
165166
*
166167
* @return string Aplazame checkout ID
167168
*

examples/step3_checkout_confirm.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
/*
44
* This file provides an example about how to complete the step 03 of Aplazame's integration as described in:
5-
* https://aplazame.com/integraciones/api/
5+
* - https://aplazame.com/en/docs/api/
6+
* - https://aplazame.com/integraciones/api/
67
*
78
* This file is split in two main sections:
89
*
@@ -102,7 +103,7 @@ function setOrderPaymentStatusAsPending($order_id)
102103
}
103104

104105
/*
105-
* This section is a more specific Aplazame flow as described in https://aplazame.com/integraciones/api/checkout-confirmation/
106+
* This section is a more specific Aplazame flow as described in https://aplazame.com/en/docs/api/checkout-confirmation/ or https://aplazame.com/integraciones/api/checkout-confirmation/
106107
*
107108
* Feel free to adjust to the specific requirements of your checkout process. The following snippet is provided as a quick start.
108109
*/

0 commit comments

Comments
 (0)