Testing config to access params
This commit is contained in:
parent
08918c6c10
commit
fb79298d31
@ -59,7 +59,8 @@ class CashierService {
|
|||||||
if (method) {
|
if (method) {
|
||||||
try {
|
try {
|
||||||
const config = getCashierConfig();
|
const config = getCashierConfig();
|
||||||
const paymentType = config.paymentType || 'withdrawal';
|
console.log('config', config);
|
||||||
|
const paymentType = config.paymentType || 'deposit';
|
||||||
|
|
||||||
// Fetch form metadata and currencies for the selected method in parallel
|
// Fetch form metadata and currencies for the selected method in parallel
|
||||||
const [formMetadataData, currenciesData] = await Promise.all([
|
const [formMetadataData, currenciesData] = await Promise.all([
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user