Mangopay / cardregistration-js-kit

Mangopay V2 JS resources for card registration front-end workflow
MIT License
38 stars 34 forks source link

Can we use mangoPay.cardRegistration.registerCard with Angular or Java api #49

Closed maznag closed 5 years ago

maznag commented 5 years ago

I want to integrate MangoPay to my application that I develop using Angular Framework and Java / Spring.

Do you have another way to use the mangoPay.cardRegistration.registerCard method using either Angular without passing through your JavaScript / JQuery code, or directly using the server-side Java API. This function doesn't exists in you api JAVA mangopay2-java-sdk

Thanks

Riwak commented 5 years ago

Hello @maznag,

Not for the moment, but there is some useful ressources on our docs here : https://docs.mangopay.com/endpoints/v2.01/cards#e178_create-a-card-registration

You have also a code example from the java sdk here : https://github.com/Mangopay/mangopay2-java-sdk/blob/master/src/test/java/com/mangopay/core/BaseTest.java (Line 647 to 690)

I stay available if needed

maznag commented 5 years ago

@Riwak thanks.

I already use your api documentation, it's useful. Now I can register new card from browser by adding a new service Angular to load directly your JS script from a public URL.