Skip to content

Commit

Permalink
added shopee channel
Browse files Browse the repository at this point in the history
  • Loading branch information
hisyam committed Dec 10, 2020
1 parent 5685a54 commit c90ad93
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions MOLPayXDKExample/MOLPayXDKExample/MOLPayActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ protected override void OnCreate(Bundle savedInstanceState)
string json = Intent.GetStringExtra(MOLPayPaymentDetails);
paymentDetails = JsonConvert.DeserializeObject<Dictionary<string, object>>(json);
paymentDetails.Add(module_id, "molpay-mobile-xdk-xamarin-android");
paymentDetails.Add(wrapper_version, "0");
paymentDetails.Add(wrapper_version, "1");

mpMainUI = FindViewById<WebView>(Resource.Id.MPMainUI);
mpMOLPayUI = FindViewById<WebView>(Resource.Id.MPMOLPayUI);
Expand Down Expand Up @@ -317,7 +317,7 @@ public override void OnPageFinished(WebView view, string url)
{
Console.WriteLine("MPMOLPayUIWebClient onPageFinished url = " + url);

if (url.Contains("intermediate_appTNG-EWALLET.php"))
if (url.Contains("intermediate_appTNG-EWALLET.php") || url.Contains("intermediate_app/processing.php"))
{
Console.WriteLine("MPMOLPayUIWebClient tngd found!");
JavascriptResult jr = new JavascriptResult();
Expand Down
2 changes: 1 addition & 1 deletion MOLPayXDKExample/MOLPayXDKExample/MOLPayXDKExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<AndroidApplication>true</AndroidApplication>
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<AndroidTlsProvider></AndroidTlsProvider>
</PropertyGroup>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c90ad93

Please sign in to comment.