This page will explain the items that have to be done when introducing AnyGift via API integration. 【JA】
Here is the list of development items necessary to implement AnyGift and make it available for use:
Applicable Screen・Process | Overview of response procedures | Detailed contents |
---|---|---|
Product Management Screen | Create a product category to identify eGift | Use an identification tag to only on products with an eGift applied. |
Product Details Screen | Display the “Send as eGift” button | Display the eGift button on products that have eGift applied. |
Deactivate a button if the product is out of stock. | ||
Control the behavior when a “Send as eGift” button is clicked | Add the item to the cart and keep a parameter internally to specify that the order is an eGift order. | |
Restrict the simultaneous purchase of eGift product and other products. | ||
Purchase Information Entry Screen | Display an entry field for filling out a message and sender’s name(Gift purchaser). | |
Restrict the payment method to credit card only. | Restrict option for deferred payment, such as cash on delivery. | |
Hide an entry field of shipping address. | ||
Purchase Confirmation Screen | Display the sender’s name and message entered on the Purchase Information Entry Screen | |
Additional processes during the purchasing procedure. | Execute the AnyGift order creation API. | |
Change the product status to prevent shipping. | ||
Purchase Completion Screen | Display the message to inform eGift purchase completion | |
Purchaser Account Page | Prevent displaying the shipping address to the purchaser when the product is an eGift product. | |
Order Cancellation Screen | Execute the AnyGift order cancellation API | |
webhook Development to Receive Notification Of Address Update | ||
Update the order information and change delivery status | Change the shipping address for the order. | |
Change the delivery status to “ready for shipment” | ||
webhook Development to Receive Notification Of Expired eGift | Decide the processing when the receipt deadline has expired | The handling differs depending on the provider.(such as cancellation or no action taken). |
Purchaser’s address is not entered for a certain period of time | The handling differs depending on the provider | (Cancel, Refund, Send the product to the registered shipping address ) |
Details are written below: