2

Using Magento 2.4.3 how can i place order via

  setPaymentMethodOnCart(input: {
      cart_id: "FnapbGljNrpKfvYzJ4XxUNxzAchDniY3"
      payment_method: {
          code: "stripe_payments"
      }
  }) {
    cart {
      selected_payment_method {
        code
      }
    }
  }
}

I can see this is documentation but how do i give card information?

1 Answer 1

2

There is a fully working example inside the module directory under

vendor/stripe/module-payments/examples/GraphQL/PaymentElement/PlaceOrder.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.