· 10 years ago · Feb 12, 2016, 10:12 PM
1payum:
2 gateways:
3 # 1.x config
4 paypal:
5 paypal_express_checkout_nvp:
6 username: %paypal.express_checkout.username%
7 password: %paypal.express_checkout.password%
8 signature: %paypal.express_checkout.signature%
9 sandbox: true
10
11 stripe:
12 stripe_js:
13 publishable_key: %stripe.publishable_key%
14 secret_key: %stripe.secret_key%
15
16 omnipay:
17 omnipay:
18 type: Stripe
19 options:
20 apiKey: %stripe.secret_key%
21 testMode: true
22
23 custom:
24 custom:
25 actions:
26 - acme_payment.foo_bar.capture
27 - acme_payment.foo_bar.status
28 # 2.x config
29 paypal:
30 factory: paypal_express_checkout
31 username: %paypal.express_checkout.username%
32 password: %paypal.express_checkout.password%
33 signature: %paypal.express_checkout.signature%
34 sandbox: true
35
36 stripe:
37 factory: stripe_js
38 publishable_key: %stripe.publishable_key%
39 secret_key: %stripe.secret_key%
40
41 omnipay:
42 factory: omnipay
43 type: Stripe
44 apiKey: %stripe.secret_key%
45 testMode: true
46
47 custom:
48 payum.action.capture: @acme_payment.foo_bar.capture
49 payum.action.status: @acme_payment.foo_bar.status