Comments (7)
Hey jonstavis,
The validation routine has some checks within it to disable validation of the shipping field due to certain conditions, such as the cart not needing shipping, etc. The urls you provide above are very useful. Could you also post your cart json and the server response json? Be sure to remove any sensitive information. If we could see the json payload and response, we could construct a test harness and give you specific insight as to why you're getting these responses.
Thanks,
Perry
from responsive_checkout.
Thanks for your response. Here you go.
Response:
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Mon, 28 Apr 2014 12:13:38 GMT
Server: Apache
Content-Type: application/json
Vary: Accept-Encoding
Content-Encoding: gzip
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
["Please specify your billing first name.","Please specify your billing last name.","Please specify your billing address.","Please specify your billing city.","Please specify your billing state.","Please specify your billing zip code.","Please specify your billing country.","Please specify your email."]
Post data:
{"total":0
"password":null
"email":""
"merchantId":""
"errors":null
"shipToFirstName":""
"shipToLastName":""
"shipToAddress1":""
"shipToAddress2":""
"shipToCity":""
"shipToState":""
"shipToCompany":""
"shipToCountry":""
"shipToPhone":""
"screenBrandingThemeCode":"DFLT"
"items":[{"itemId":"test123"
"quantity":1}]
"buysafeBondAvailable":false
"buysafeBondWanted":true
"buysafeBondCost":null
"insureShipAvailable":false
"insureShipWanted":null
"insureShipCost":null
"subtotalDiscount":0
"tax":0
"customField1":null
"customField2":null
"customField3":null
"customField4":null
"customField5":null
"customField6":null
"customField7":null
"customerProfile":null
"insureShipSeparate":false
"surcharge":0
"taxRate":0
"shippingMethod":""
"taxableSubtotal":0
"taxableSubtotalDiscount":0
"advertisingSource":""
"paymentMethod":"Credit Card"
"ipAddress":"127.0.0.1"
"subtotal":0
"deliveryDate":null
"shipToResidential":true
"coupons":[]
"taxCounty":""
"billToFirstName":""
"billToLastName":""
"giftEmail":null
"comments":null
"shipToTitle":""
"shipOnDate":null
"upsellPathCode":null
"gift":false
"giftCharge":0
"giftWrapCost":0
"giftMessage":null
"purchaseOrderNumber":""
"giftCertificateAmount":null
"shipToEveningPhone":""
"ccEmail":null
"creditCardToken":null
"liftGate":false
"taxExempt":false
"billToCompany":""
"billToAddress1":""
"billToAddress2":""
"billToCity":""
"billToState":""
"billToCountry":""
"billToEveningPhone":""
"storeCreditCard":false
"buysafeBondFree":false
"buysafeCartDisplayText":null
"buysafeCartDisplayUrl":null
"arbitraryTax":null
"arbitraryTaxableSubtotal":null
"arbitraryTaxRate":null
"specialInstructions":""
"emailConfirm":""
"arbitraryShippingHandlingTotal":null
"threatMetrixParams":null
"amazonOrderReferenceId":null
"creditCardType":""
"creditCardExpirationMonth":0
"creditCardExpirationYear":0
"creditCardNumber":""
"affiliateId":null
"giftCertificate":null
"loggedIn":false
"cartId":"*************"
"shipToPostalCode":""
"shippingHandling":0
"mailingListOptIn":true
"giftCertificateRemainingBalanceAfterOrder":null
"billToTitle":""
"billToPostalCode":""
"billToDayPhone":""
"creditCardVerificationNumber":""
"hasGoogleCheckout":false
"googleCheckoutCompatible":false
"googleCheckoutButtonUrl":null
"googleCheckoutButtonAltText":null
"payPalButtonUrl":null
"payPalButtonAltText":null
"hasPayPal":false
"payPalCompatible":false
"subtotalWithDiscount":0
"taxableSubtotalWithDiscount":0
"shippingHandlingDiscount":0
"shippingHandlingWithDiscount":0
"creditCardTypes":["Visa"]
"collectCreditCardVerificationNumber":true
"needShipping":false
"customerProfileCreditCardId":null
"diagnostics":null
"amazonButtonUrl":null
"amazonWidgetUrl":null
"hasAmazon":false
"amazonMerchantId":null
"needPayment":true}
from responsive_checkout.
Hey, the next question I have is this item you're testing with. test123. Does it have shipping dimensions and a weight associated with it? Do this: go to the items page, find your test item, and click on the "Links" link. Find the item buy link and open it in a new window. Walk through the standard checkout and place a test order. See if it requires shipping there and what validation messages it gives you along the way. I'm wondering if the item you're testing with triggers the "needs shipping" flag. If it doesn't, then no validation will be done.
from responsive_checkout.
That was the problem. I added shipping to the item and shipping fields are now validating.
The checks that I pass into the URL are still not working, but I'm satisfied with the default billing/shipping validations that now seem to be taking place.
Closing this issue. Thank you very much!
from responsive_checkout.
Hey, if you're still having problems, either keep this issue open or open a new one. We're here to help!
from responsive_checkout.
Thanks. I am curious why my ?check=X&check=Y&check=Z isn't working but it's not a showstopper because as I said the default validations are just what I need!
from responsive_checkout.
i am working on responsive checkout and at last on validation get again and again error "please specify your credit card number". but i have already put the card number. please help me on this
from responsive_checkout.
Related Issues (20)
- credit card field values are missing HOT 3
- Checkout Registration HOT 2
- Microsoft Edge HOT 3
- Turn Off Billing City / Zip Validation HOT 1
- CC Hosted Fields Iframes - Loads slow in some systems HOT 13
- Custom Receipt Page HOT 7
- Testing Credit Card Failed Attempt Limit Feature HOT 2
- Missing Hosted Fields (CC Number and CVV) HOT 10
- Order ID / Authorize Transaction ID Passed Back to Cart HOT 3
- Payment Declined but Receipt is generated in Ultracart HOT 2
- Using the new rest_proxy.php script with legacy catalog-structured merchant accounts HOT 3
- responsive_checkout HOT 13
- item.html
- I cant run commands giving error HOT 10
- Checkout is not working HOT 8
- upsell custom page setFinalizeAfter HOT 1
- How do I get the value of the credit card type HOT 3
- Load additional states/provinces when the country changes
- International Orders Outside US, Canada, Australia or Manual State/Province Method Needed HOT 2
- Delete Coupons Function
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 responsive_checkout.