iamport / iamport_flutter

Flutter App에서 아임포트 결제서비스 연동을 위한 모듈입니다.
MIT License
67 stars 36 forks source link

KG이니시스 결제창 내 현금영수증 노출 제어 파라미터 추가요청 #125

Open vagabondms opened 3 months ago

vagabondms commented 3 months ago

안녕하세요. 해당 모듈 잘 사용하고 있습니다. 항상 감사드립니다. :)

@JsonSerializable()
class Bypass {
  bool? isCulturalExpense;
  String? cashReceiptType;
  Daou? daou;
  Tosspayments? tosspayments;
  Settle? settle;

  Bypass({
    this.isCulturalExpense,
    this.cashReceiptType,
    this.daou,
    this.tosspayments,
    this.settle,
  });

  factory Bypass.fromJson(Map<String, dynamic> json) => _$BypassFromJson(json);

  Map<String, dynamic> toJson() => _$BypassToJson(this);
}

Bypass에 이니시스/다날 결제창 내의 현금영수증 노출을 제어할 수 있는 필드 요청 드립니다. 감사합니다 ~ :)

anymate98 commented 3 months ago

안녕하세요. 무슨 파라미터를 추가해야 하나요? 실제 필요한 파라미터 명을 알려주세요.

vagabondms commented 3 months ago

답변 감사드립니다 :)

아래와 같은 필드들이 있습니다.

bypass : {
acceptmethod : "no_receipt:--va_receipt", //PC를 위한 파라메터
P_RESERVED : "vbank_receipt=N&bank_receipt=N" //모바일을 위한 파라메터
}
bypass : { 
 danal : { 
   ISCASHRECEIPTUI : 'N'
   }  
}
anymate98 commented 3 months ago

해당 파라미터들 추가하여 0.10.16 배포했으니 확인 부탁드립니다.

vagabondms commented 3 months ago

@anymate98 감사드립니다 :)