Payments with Stripe API

Payments with Stripe API

1. Amasty\Stripe\Api\Quote\ApplePayGuestShippingMethodManagementInterface - class for managing shipping methods for guest users:
  1. POST /V1/guest-carts/:cartId/estimate-shipping-methods-apple-pay, method="estimateByExtendedAddress" - display the list of the shipping methods available for guests in Apple Pay;
  2. PUT /V1/guest-carts/:cartId/select-shipping-method-apple-pay, method="set" - choose a shipping method for guests in Apple Pay.

2. Amasty\Stripe\Api\Quote\ApplePayShippingMethodManagementInterface - class for managing shipping methods for registered users:
  1. POST /V1/carts/mine/estimate-shipping-methods-apple-pay, method="estimateByExtendedAddress" - display the list of the shipping methods available for registered customers in Apple Pay;
  2. PUT /V1/carts/mine/select-shipping-method-apple-pay, method="set" - choose a shipping method for registered customers in Apple Pay.
      • Related Articles

      • What Amasty extensions support API?

        Each Amasty extension that has API support, includes the etc/webapi.xml file. The webapi.xml file contains API configurations with the list of available API requests. For example, a request from the Custom Form module interface: 1 - endpoint URL; 2 - ...
      • Subscriptions & Recurring Payments API

        1. Amasty\RecurringPayments\Api\EstimateRecurringPaymentInterface POST /V1/amasty-recurring-payments/estimate-by-shipping-information, method="POST" - estimate the recurring payment by cart ID.
      • What triggers the recurring payments?

        According to the extension's logic, a new order for a subscription product is created at the beginning of each billing cycle. The recurring payments for subscription orders can be triggered in one of the following ways, depending on the payment ...
      • Amazon Payment for Subscriptions & Recurring Payments API

        1. Amasty\RecurringAmazon\Api\BillingAgreementManagementInterface POST V1/amazon-recurring/save, method="validateAndSaveBillingAgreement" - validate and save billing agreement; POST /V1/amazon-recurring/save-and-place, ...
      • Store Pickup API

        1. Amasty\StorePickup\Api\GuestShippingMethodManagementInterface - class for managing shipping methods on guest checkout: POST /V1/guest-carts/:cartId/estimate-shipping-methods, method="estimateByExtendedAddress" - displays available shipping methods ...