{"action":"created","issue":{"url":"https://api.github.com/repos/paymentwall/paymentwall-ios-sdk/issues/9","repository_url":"https://api.github.com/repos/paymentwall/paymentwall-ios-sdk","labels_url":"https://api.github.com/repos/paymentwall/paymentwall-ios-sdk/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/paymentwall/paymentwall-ios-sdk/issues/9/comments","events_url":"https://api.github.com/repos/paymentwall/paymentwall-ios-sdk/issues/9/events","html_url":"https://github.com/paymentwall/paymentwall-ios-sdk/issues/9","id":334393078,"node_id":"MDU6SXNzdWUzMzQzOTMwNzg=","number":9,"title":"How to add custom parameters","user":{"login":"aishuidedabai","id":18343966,"node_id":"MDQ6VXNlcjE4MzQzOTY2","avatar_url":"https://avatars0.githubusercontent.com/u/18343966?v=4","gravatar_id":"","url":"https://api.github.com/users/aishuidedabai","html_url":"https://github.com/aishuidedabai","followers_url":"https://api.github.com/users/aishuidedabai/followers","following_url":"https://api.github.com/users/aishuidedabai/following{/other_user}","gists_url":"https://api.github.com/users/aishuidedabai/gists{/gist_id}","starred_url":"https://api.github.com/users/aishuidedabai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aishuidedabai/subscriptions","organizations_url":"https://api.github.com/users/aishuidedabai/orgs","repos_url":"https://api.github.com/users/aishuidedabai/repos","events_url":"https://api.github.com/users/aishuidedabai/events{/privacy}","received_events_url":"https://api.github.com/users/aishuidedabai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-21T08:39:23Z","updated_at":"2018-06-21T08:57:40Z","closed_at":null,"author_association":"NONE","body":"Such as orderID why 2.0 version can be added, 3.0 does not have this parameter"},"comment":{"url":"https://api.github.com/repos/paymentwall/paymentwall-ios-sdk/issues/comments/399028435","html_url":"https://github.com/paymentwall/paymentwall-ios-sdk/issues/9#issuecomment-399028435","issue_url":"https://api.github.com/repos/paymentwall/paymentwall-ios-sdk/issues/9","id":399028435,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTAyODQzNQ==","user":{"login":"TienVu-PW","id":23113471,"node_id":"MDQ6VXNlcjIzMTEzNDcx","avatar_url":"https://avatars3.githubusercontent.com/u/23113471?v=4","gravatar_id":"","url":"https://api.github.com/users/TienVu-PW","html_url":"https://github.com/TienVu-PW","followers_url":"https://api.github.com/users/TienVu-PW/followers","following_url":"https://api.github.com/users/TienVu-PW/following{/other_user}","gists_url":"https://api.github.com/users/TienVu-PW/gists{/gist_id}","starred_url":"https://api.github.com/users/TienVu-PW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TienVu-PW/subscriptions","organizations_url":"https://api.github.com/users/TienVu-PW/orgs","repos_url":"https://api.github.com/users/TienVu-PW/repos","events_url":"https://api.github.com/users/TienVu-PW/events{/privacy}","received_events_url":"https://api.github.com/users/TienVu-PW/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T08:57:40Z","updated_at":"2018-06-21T08:57:40Z","author_association":"COLLABORATOR","body":"I think you are talking about the changes of our Widget payment option.\r\nThe widget's custom settings in v3.0 have been moved to it's own class `PWOptionWidget` as `extraParams`, so you can include it like this:\r\n\r\n```\r\nlet widget = PWOptionWidget(type: .digitalGoodsFlexible, extraParams: [\"widget\":\"m2_1\",\r\n                                                                       \"ag_type\":\"fixed\"])\r\n```\r\n\r\nThe `PaymentObject` class now only include params related to payment info.\r\n\r\nPlease try to see if this resolve your problem,\r\nKyle"}}
{"actor":{"display_login":"TienVu-PW"}}