Comments (4)
Here you are calling Payment methods API to get the payment methods, which will be called just after selecting the shipping_method at the checkout according to the current flow of checkout in bagisto.
This is the reason you are getting the success message.
from headless-ecommerce.
All these APIs will call for the checkout in this sequence:
-
Checkout Addresses:
query checkoutAddresses {} -
Shipping Methods:
mutation shippingMethods(input: {
billingAddressId: 0
shippingAddressId: 0
billing: {
companyName: "C. Trades"
firstName: "Doug"
lastName: "D Nelson"
email: "[email protected]"
address1: "836 Hog"
address2: " Camp Road"
city: "Wheeling"
country: "US"
state: "Illinois"
postcode: "60090"
phone: "708-491-5303"
useForShipping: false
saveAsAddress: true
}
shipping: {
companyName: "C. Trades"
firstName: "Doug"
lastName: "D Nelson"
email: "[email protected]"
address1: "2252 Charmaine Lane"
address2: ""
city: "ROCKLEDGE"
country: "US"
state: "Georgia"
postcode: "30454"
phone: "806-494-1788"
saveAsAddress: true
}
}) { } -
Payment Methods:
paymentMethods(input: {
shippingMethod: "flatrate_flatrate"
}) { } -
Review & Save Payment:
savePayment(input: {
payment: {
method: "cashondelivery"
}
}) {} -
Appy Coupon:
applyCoupon(input: {
code: "C84U8FTR4TEM"
}) { } -
Place Order:
placeOrder {}
from headless-ecommerce.
Still getting same issue:
from headless-ecommerce.
Working fine
from headless-ecommerce.
Related Issues (20)
- We are unable to create the invoice with API. HOT 2
- We are unable to do the Shipment with API. HOT 2
- We are unable to do the Refund with API. HOT 2
- In Shop API - Get Customer Details - We are unable to fetch the details of the customer. HOT 2
- In Shop API - Customer Account - We are unable to Update the details of the Customer Account. HOT 2
- In Shop API - Customer Addresses - We are unable to fetch the data of the customer addresses. HOT 2
- In Shop API - Customer Addresses - We are unable to update the data of the customer addresses. HOT 2
- In Shop API - Customer Addresses - We are unable to Remove the data of the customer addresses. HOT 2
- There should be an API for the Review Remove and Review Update. HOT 1
- Shop API Collection -> Customer Reviews -> Unable to Fetch the details of the Reviews List. HOT 1
- Shop API Collection -> Customer Wishlist -> Unable to Fetch the details of the Customer's Wishlist List. HOT 1
- Shop API Collection -> Customer Wishlist -> Unable to Fetch the details of the Customer's Wishlist Details. HOT 2
- In Shop API Collection -> Add to Wishlist API, we are unable to add the product in customer's wishlist. HOT 1
- Shop API Collection -> Customer Wishlist -> Unable to Move the product to cart from wishlist. HOT 1
- Shop API Collection -> Customer Orders -> Unable to Fetch the Customer's Order List. HOT 1
- Need to Update the details in the Codes for the proper working of the Marketing Section. HOT 2
- problem when try install HOT 5
- Interface "Tymon\JWTAuth\Contracts\JWTSubject" not found HOT 2
- This project replaces the rest-api HOT 1
- Does this work with latest version 1.45? HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headless-ecommerce.