Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set sandbox at product level in addition to global settings. #204

Closed
angelleye opened this issue Apr 27, 2015 · 7 comments
Closed

Set sandbox at product level in addition to global settings. #204

angelleye opened this issue Apr 27, 2015 · 7 comments
Assignees
Milestone

Comments

@angelleye
Copy link
Collaborator

Sometimes there are instances when somebody wants to test a single product / order in the sandbox, but they want to do this from their live site without setting the entire thing to run in sandbox mode.

I'd like to add an option in the product settings that allows you to enable/disable "sandbox mode" the same you can enable/disable things like downloadable, virtual, etc.

@angelleye angelleye added this to the 1.1.6.4 milestone Apr 27, 2015
@angelleye
Copy link
Collaborator Author

If any item in the cart is set to sandbox then the sandbox should be used.

angelleye pushed a commit that referenced this issue Apr 26, 2017
@angelleye
Copy link
Collaborator Author

@kcppdevelopers I tried testing this in Express Checkout. In the regular EC settings page I have sandbox disabled, but at the product level I have sandbox enabled. Then I click the EC button from the product page of this product, but it fails with bad API credentials. Then I set the regular EC settings page back to sandbox mode and it worked as expected. The product-level sandbox mode should be overriding the general EC settings.

@kcppdevelopers
Copy link
Contributor

@angelleye Can you please double check for me? I have test this issue and it's working fine for me.
Please enable this option https://www.screencast.com/t/AoICwFW1lk to enable product level sandbox testing.

@angelleye
Copy link
Collaborator Author

Yes, that is the option I enabled, but I will try it again.

@angelleye
Copy link
Collaborator Author

@kcppdevelopers , Still not working for me. Here is a video: http://fiber.angelleye.com/forums/github/paypal-for-woocommerce/gh204.mp4

@angelleye
Copy link
Collaborator Author

@kcppdevelopers It's working for me from the cart page, but not from the product page. Need to make sure it works in all places..

  • Product page
  • Cart page
  • Top of checkout page
  • General WC payment gateways on checkout page

@kcppdevelopers
Copy link
Contributor

I have followed same step as per above video and it's working fine for me on woo.angelleye.com domain.
Can you please clear cart and browser cache and try one again for me ?

angelleye pushed a commit that referenced this issue Apr 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants