Skip to content

Commit 925173b

Browse files
committed
iterate
1 parent 8baa366 commit 925173b

File tree

5 files changed

+2
-7
lines changed

5 files changed

+2
-7
lines changed

components/contribution-flow/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ class ContributionFlow extends React.Component {
507507
return null;
508508
}
509509

510-
const paymentMethod = pick(stepPayment.paymentMethod, ['service', 'type', 'data']);
510+
const paymentMethod = pick(stepPayment.paymentMethod, ['service', 'type', 'manualPaymentProvider']);
511511

512512
// Payment Method already registered
513513
if (stepPayment.paymentMethod.id) {

components/contribution-flow/utils.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,7 @@ export const generatePaymentMethodOptions = (
239239
paymentMethod: {
240240
service: PAYMENT_METHOD_SERVICE.OPENCOLLECTIVE,
241241
type: PAYMENT_METHOD_TYPE.MANUAL,
242-
data: {
243-
manualPaymentProvider: { id: provider.id },
244-
},
242+
manualPaymentProvider: { id: provider.id },
245243
},
246244
icon: <Icon className="h-5 w-5" />,
247245
subtitle: (

lib/graphql/schemaV2.graphql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26084,7 +26084,6 @@ input PaymentMethodInput {
2608426084
"""
2608526085
legacyType: PaymentMethodLegacyType @deprecated(reason: "2021-03-02: Please use service + type")
2608626086
newType: PaymentMethodType @deprecated(reason: "2021-08-20: Please use type instead")
26087-
data: JSON
2608826087

2608926088
"""
2609026089
Name of this payment method

lib/graphql/types/v2/graphql.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10770,7 +10770,6 @@ export type PaymentMethodOrdersArgs = {
1077010770
export type PaymentMethodInput = {
1077110771
/** When creating a credit card, use this field to set its info */
1077210772
creditCardInfo?: InputMaybe<CreditCardCreateInput>;
10773-
data?: InputMaybe<Scalars['JSON']['input']>;
1077410773
/** The id assigned to the payment method */
1077510774
id?: InputMaybe<Scalars['String']['input']>;
1077610775
/** Whether this payment method should be saved for future payments */

lib/graphql/types/v2/schema.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10768,7 +10768,6 @@ export type PaymentMethodOrdersArgs = {
1076810768
export type PaymentMethodInput = {
1076910769
/** When creating a credit card, use this field to set its info */
1077010770
creditCardInfo?: InputMaybe<CreditCardCreateInput>;
10771-
data?: InputMaybe<Scalars['JSON']['input']>;
1077210771
/** The id assigned to the payment method */
1077310772
id?: InputMaybe<Scalars['String']['input']>;
1077410773
/** Whether this payment method should be saved for future payments */

0 commit comments

Comments
 (0)