Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

HP SDK Rejected order being accepted #35

Open
stevehaase opened this issue Dec 23, 2016 · 3 comments
Open

HP SDK Rejected order being accepted #35

stevehaase opened this issue Dec 23, 2016 · 3 comments

Comments

@stevehaase
Copy link

Steps to reproduce:

  • Go to: https://staging-slatecollection.myshopify.com/products/qa-reject-303 (may need to use new incognito window)
  • Add product to cart
  • Click View cart
  • Click Check out
  • Enter email and shipping details then click Complete order
  • On the Paymetrics/Lemonade hosted payment page, enter card number 4444444444444448 with future expiration date and any 3 digits in CVV
  • Click Complete Order on Paymetrics/Lemonade page
  • Result should be Payment failed: Rejected message on Shopify-hosted checkout page
  • Click Complete order on Shopify "Payment failed: Rejected" page, which will take you back through the Paymetrics flow
  • Repeat the process of entering card details above and click "Complete order" on Paymetrics page
  • Result is the "Order confirmation page" at checkout.shopify.com/.../thank_you
  • No order is created in test store (staging-slatecollection.myshopify.com)

@pi3r

@jordanliddle
Copy link
Contributor

Hey @stevehaase - I haven't been able to replicate. I get the 'Card number does not match card type' error.

@stevehaase
Copy link
Author

Well, if we can't replicate it, let's not worry about it. Partner hasn't reached out about it and seems to be an edge case anyways. Thanks for taking a look @jordanliddle.

@TomKaniuch
Copy link

TomKaniuch commented Mar 7, 2017

@jordanliddle I've got the same issue I believe. Here are notes from the developer:

Store: https://thr1ve-staging.myshopify.com

We've implemented custom payment gateway and it works good for valid cards. When we test the payment gateway with declined cards, we got a strange behaviour.

When we first use a declined card for an order, it rejected the order and redirected back to payment section in checkout. We use another declined card for the same order and this time, the order was successful. We did check in the admin, the order is in "Abandoned Checkout" section

I've got a callback url with query parameters for the scenario I mentioned earlier:

First attempt with declined card
"https://checkout.shopify.com/17986929/checkouts/2a9804386b22a97467e1addcb539225f/offsite_gateway_callback?x_account_id=arkade&x_amount=40.95&x_currency=AUD&x_gateway_reference=&x_reference=13055570320&x_result=failed&x_test=false&x_timestamp=2017-03-07T05%3A41%3A35Z&x_message=Your+card+was+declined.&x_signature=cde2da816f0bb4eb5d28d0774b2417c5a969b60b23e23cbbe19e6edd4ee6d32f"

Second attempt with another declined card
"https://checkout.shopify.com/17986929/checkouts/2a9804386b22a97467e1addcb539225f/offsite_gateway_callback?x_account_id=arkade&x_amount=40.95&x_currency=AUD&x_gateway_reference=&x_reference=13055570320&x_result=failed&x_test=false&x_timestamp=2017-03-07T05%3A42%3A52Z&x_message=Your+card+was+declined.&x_signature=21a1b18270cff42bc910cc995ac98991820ecb27460c79d14e069a6ed3fdfb89"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants