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

no button to pay for an order #5333

Closed
appleyuchi opened this issue Mar 9, 2020 · 7 comments
Closed

no button to pay for an order #5333

appleyuchi opened this issue Mar 9, 2020 · 7 comments

Comments

@appleyuchi
Copy link

What I'm trying to achieve


I want to test saleor in the stage
"pay for the order"

Steps to reproduce the problem

  1. login
  2. customer order and administrator full
    3.try to find the "pay/charge" button

What I expected to happen

Screenshots

没有支付按钮

System information
Operating system:
Ubuntu19.10
Chrome

@maarcingebala
Copy link
Member

In Saleor you can only pay during the checkout to create an order. I see that you have an existing order - was it created in the checkout or by admin in the dashboard? What is exactly your use-case?

@appleyuchi
Copy link
Author

appleyuchi commented Mar 10, 2020

Thanks for your replies @maarcingebala
it is created in the checkout.
I guess it's my fault
没有支付选项

I'm looking for material of configuration now....

@appleyuchi
Copy link
Author

appleyuchi commented Mar 10, 2020

@maarcingebala
I have configure saleor's settings.py according to
#2467
but the webpage is still "Dummy"
Do I need to change the webpage's code and relevant views.py?
Thanks for your help

@maarcingebala
Copy link
Member

To enable other gateways such as Braintree or Stripe you need to go to the dashboard app and provide configurations keys like API keys etc, see this manual page: https://docs.saleor.io/docs/next/dashboard/configuration/plugins/

To test one of these gateways you need to have sandbox accounts, create API keys and set them in our dashboard. See for example:

@appleyuchi
Copy link
Author

appleyuchi commented Mar 10, 2020

To enable other gateways such as Braintree or Stripe you need to go to the dashboard app and provide configurations keys like API keys etc, see this manual page: https://docs.saleor.io/docs/next/dashboard/configuration/plugins/

To test one of these gateways you need to have sandbox accounts, create API keys and set them in our dashboard. See for example:

Thanks for your replies.
I have already gone to the step of "place order" and the order then become "fully charged"
with sand-box braintree.

But I did not even input my sandbox-account password for payment,then the order become "full charged".
For comparison,I remember that paypal sdk will require you to input password when you pay for something using sandbox-account,
but braintree(test credit card) did not require me to input password after place order appears,
is it OK?

Because I'm Chinese,so I'm not familiar with the procedure of braintree(using test credit card) payment.

@maarcingebala
Copy link
Member

You mean like manually typing a password when paying for a checkout? I haven't seen that but I'm only familiar with Braintree and Stripe. In these gateways, you only provide your API keys in the dashboard to activate them. Sometimes a client library needs a token to process the payment in the frontend, but it all depends on the gateway. To fetch any additional keys that may be needed use this query:

checkout {
      availablePaymentGateways {
        name
        config {
          field
          value
        }
      }
    }

If there is any additional key needed for the client library it would be returned in the config field.See this guide for more details: https://docs.saleor.io/docs/next/api-process/check-out/

@appleyuchi
Copy link
Author

@maarcingebala Thanks for your kind-hearted replies,
It's very clear.

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

No branches or pull requests

3 participants