File tree Expand file tree Collapse file tree 1 file changed +10
-20
lines changed Expand file tree Collapse file tree 1 file changed +10
-20
lines changed Original file line number Diff line number Diff line change 3
3
return [
4
4
5
5
/**
6
- *
6
+ * Public Key From Paystack Dashboard
7
7
*
8
8
*/
9
- 'publicKey ' => ' pk_test_489661a873de9d88380ceb58ad994d39a08255d9 ' ,
9
+ 'publicKey ' => getenv ( ' PAYSTACK_PUBLIC_KEY ' ) ,
10
10
11
11
/**
12
- *
12
+ * Secret Key From Paystack Dashboard
13
13
*
14
14
*/
15
- 'secretKey ' => ' sk_test_15636445eb184d45e6c742e53dee2df4685ed18c ' ,
15
+ 'secretKey ' => getenv ( ' PAYSTACK_SECRET_KEY ' ) ,
16
16
17
17
/**
18
- *
18
+ * Paystack Payment URL
19
19
*
20
20
*/
21
- 'merchantID ' => '' ,
21
+ 'paymentURL ' => getenv ( ' PAYSTACK_PAYMENT_URL ' ) ,
22
22
23
23
/**
24
- *
24
+ * Optional email address of the merchant
25
25
*
26
26
*/
27
- 'paymentURL ' => 'https://api.paystack.co/transaction/initialize ' ,
28
-
29
- /**
30
- * The route where paystack will redirect to after the payment has been made
31
- *
32
- */
33
- 'callbackURL ' => '' ,
27
+ 'merchantEmail ' => getenv ('MERCHANT_EMAIL ' ),
34
28
35
29
/**
36
- * Optional email address of the merchant
37
- *
30
+ * Unique transaction reference
38
31
*/
39
- 'merchantEmail ' => ''
40
-
41
-
42
-
32
+ 'reference ' => 'payref ' .time ().'tranx '
43
33
];
You can’t perform that action at this time.
0 commit comments