@@ -11,6 +11,7 @@ const payPal: Pcp.Gateway = {
1111 id : 'ppcp-gateway' ,
1212 description : '' ,
1313 title : 'PayPal' ,
14+ titleInModal : 'PayPal' ,
1415 titleInPcpSettings : 'PayPal' ,
1516 titleInWcSettings : 'PayPal' ,
1617 hasSettingsButton : true ,
@@ -27,6 +28,7 @@ const venmo: Pcp.Gateway = {
2728 id : 'venmo' ,
2829 description : '' ,
2930 title : 'Venmo' ,
31+ titleInModal : 'Venmo' ,
3032 titleInPcpSettings : 'Venmo' ,
3133 titleInWcSettings : 'Venmo' ,
3234 hasSettingsButton : false ,
@@ -41,6 +43,7 @@ const payLater: Pcp.Gateway = {
4143 id : 'pay-later' ,
4244 description : '' ,
4345 title : 'PayPal Pay Later' ,
46+ titleInModal : 'PayPal Pay Later' ,
4447 titleInPcpSettings : 'Pay Later' ,
4548 hasSettingsButton : false ,
4649 enabled : false ,
@@ -95,6 +98,7 @@ const applepay: Pcp.Gateway = {
9598 id : 'ppcp-applepay' ,
9699 description : '' ,
97100 title : 'Apple Pay' ,
101+ titleInModal : 'Apple Pay' ,
98102 titleInPcpSettings : 'Apple Pay' ,
99103 titleInWcSettings : 'Apple Pay (via PayPal)' ,
100104 hasSettingsButton : true ,
@@ -110,6 +114,7 @@ const googlepay: Pcp.Gateway = {
110114 id : 'ppcp-googlepay' ,
111115 description : '' ,
112116 title : 'Google Pay' ,
117+ titleInModal : 'Google Pay' ,
113118 titleInPcpSettings : 'Google Pay' ,
114119 titleInWcSettings : ' (via PayPal)' ,
115120 hasSettingsButton : true ,
@@ -126,6 +131,7 @@ const bancontact: Pcp.Gateway = {
126131 id : 'ppcp-bancontact' ,
127132 description : '' ,
128133 title : 'Bancontact' ,
134+ titleInModal : 'Bancontact' ,
129135 titleInPcpSettings : 'Bancontact' ,
130136 titleInWcSettings : 'Bancontact (via PayPal)' ,
131137 hasSettingsButton : true ,
@@ -142,6 +148,7 @@ const blik: Pcp.Gateway = {
142148 id : 'ppcp-blik' ,
143149 description : '' ,
144150 title : 'Blik' ,
151+ titleInModal : 'Blik' ,
145152 titleInPcpSettings : 'Blik' ,
146153 titleInWcSettings : ' (via PayPal)' ,
147154 hasSettingsButton : true ,
@@ -158,6 +165,7 @@ const eps: Pcp.Gateway = {
158165 id : 'ppcp-eps' ,
159166 description : '' ,
160167 title : 'EPS' ,
168+ titleInModal : 'EPS' ,
161169 titleInPcpSettings : 'EPS' ,
162170 titleInWcSettings : 'EPS (via PayPal)' ,
163171 hasSettingsButton : true ,
@@ -174,6 +182,7 @@ const ideal: Pcp.Gateway = {
174182 id : 'ppcp-ideal' ,
175183 description : '' ,
176184 title : 'iDeal' ,
185+ titleInModal : 'iDeal' ,
177186 titleInPcpSettings : 'iDeal' ,
178187 titleInWcSettings : ' (via PayPal)' ,
179188 hasSettingsButton : true ,
@@ -189,6 +198,7 @@ const mybank: Pcp.Gateway = {
189198 id : 'ppcp-mybank' ,
190199 description : '' ,
191200 title : 'MyBank' ,
201+ titleInModal : 'MyBank' ,
192202 titleInPcpSettings : 'MyBank' ,
193203 titleInWcSettings : ' (via PayPal)' ,
194204 hasSettingsButton : true ,
@@ -204,6 +214,7 @@ const przelewy24: Pcp.Gateway = {
204214 id : 'ppcp-p24' ,
205215 description : '' ,
206216 title : 'Przelewy24' ,
217+ titleInModal : 'Przelewy24' ,
207218 titleInPcpSettings : 'Przelewy24' ,
208219 titleInWcSettings : ' (via PayPal)' ,
209220 hasSettingsButton : true ,
@@ -220,6 +231,7 @@ const trustly: Pcp.Gateway = {
220231 id : 'ppcp-trustly' ,
221232 description : '' ,
222233 title : 'Trustly' ,
234+ titleInModal : 'Trustly' ,
223235 titleInPcpSettings : 'Trustly' ,
224236 titleInWcSettings : 'Trustly (via PayPal)' ,
225237 hasSettingsButton : true ,
@@ -235,6 +247,7 @@ const multibanco: Pcp.Gateway = {
235247 id : 'ppcp-multibanco' ,
236248 description : '' ,
237249 title : 'Multibanco' ,
250+ titleInModal : 'Multibanco' ,
238251 titleInPcpSettings : 'Multibanco' ,
239252 titleInWcSettings : 'Multibanco (via PayPal)' ,
240253 hasSettingsButton : true ,
@@ -250,6 +263,7 @@ const oxxo: Pcp.Gateway = {
250263 id : 'ppcp-oxxo-gateway' ,
251264 description : '' ,
252265 title : 'OXXO' ,
266+ titleInModal : 'OXXO' ,
253267 titleInPcpSettings : 'OXXO' ,
254268 titleInWcSettings : 'OXXO (via PayPal)' ,
255269 hasSettingsButton : true ,
@@ -267,35 +281,23 @@ const payUponInvoice: Pcp.Gateway = {
267281 id : 'ppcp-pay-upon-invoice-gateway' ,
268282 description : '' ,
269283 title : 'Pay upon Invoice' ,
284+ titleInModal : 'Pay upon Invoice' ,
270285 titleInPcpSettings : 'Pay upon Invoice' ,
271286 titleInWcSettings : 'Pay upon Invoice' ,
272287 hasSettingsButton : true ,
273288 // Disabled by default after a fresh connect; enabled only in country-specific test setups.
274289 enabled : false ,
275290} ;
276291
277- const debitOrCreditCard : Pcp . Gateway = {
278- shortcut : 'card' ,
279- country : 'usa' ,
280- currency : 'USD' ,
281-
282- id : 'ppcp-gateway' ,
283- description : '' ,
284- title : 'Credit or debit cards (via PayPal)' ,
285- titleInPcpSettings : 'Credit or debit cards' ,
286- titleInWcSettings : 'Credit or debit cards (via PayPal)' ,
287- hasSettingsButton : true ,
288- enabled : true ,
289- } ;
290-
291- const standardCardButton : Pcp . Gateway = {
292+ const bcdc : Pcp . Gateway = {
292293 shortcut : 'card' ,
293294 country : 'usa' ,
294295 currency : 'USD' ,
295296
296297 id : 'ppcp-card-button-gateway' ,
297298 description : '' ,
298299 title : 'Debit & Credit Cards' ,
300+ titleInModal : 'Debit & Credit Cards' ,
299301 titleInPcpSettings : 'Debit & Credit Cards' ,
300302 titleInWcSettings : 'Debit & Credit Cards' ,
301303 hasSettingsButton : true ,
@@ -323,6 +325,5 @@ export const gateways = {
323325 multibanco,
324326 oxxo,
325327 payUponInvoice,
326- debitOrCreditCard,
327- standardCardButton,
328+ bcdc,
328329} ;
0 commit comments