1. Luis Mosquera
  2. PowerServer Mobile (Obsolete)
  3. Monday, 3 December 2018 01:03 AM UTC

Hi guys, i was wondering how can i implement online payments using appeon mobile.

My small company, we are going to develop our own online store using powerbuilder + powerserver mobile, but we have no idea how to make online payments and register them, we only saw that it can be done with paypal, we look for something more simple and universal.

 

Thanks guys

Accepted Answer
Marco Meoni Accepted Answer Pending Moderation
  1. Monday, 3 December 2018 07:47 AM UTC
  2. PowerServer Mobile (Obsolete)
  3. # Permalink

Hello Luis,
the eon_mobile_paymentex object from appeon_workaround.pbl provides you the API.

https://www.appeon.com/support/documents/appeon_online_help/2017/workarounds_and_api_guide/ch01s04s14.html

A short howto:

1) Declare payment object and related structures

eon_mobile_paymentex lnv_payment
eon_mobile_str_paymentinit lstr_paymentinit
eon_mobile_str_paymentsubmit lstr_paymentsubmit

2) Initialize payment record for given provider (e.g. PayPal), for which you need to have a merchant ID

lnv_payment = create eon_mobile_paymentex
istr_paymentinit.s_clientid = "set here PayPal ID for the merchant"
istr_paymentinit.s_clientid = "your client ID"
inv_payment.of_setappplatform(1) // payPal
inv_payment.of_init(istr_paymentinit)

3) register callback events to know when payment is completed/failed

inv_payment.of_register( this, "ue_paymentok","ue_paymentcancel","ue_paymentfailed","ue_error" )

4) Issue payment

lstr_paymentsubmit.dbl_countmoney = 10.00
lstr_paymentsubmit.s_currency = "EUR"
lstr_paymentsubmit.s_productname = "Order from my store"
lnv_payment.of_submit(lstr_paymentsubmit)

Best,
Marco

Comment
  1. Luis Mosquera
  2. Monday, 3 December 2018 13:29 PM UTC
Hi Marco, we appreciate a lot for take time to respond us... That's so good Marco, so... Definitely, just PayPal is the unique method supported for Appeon, right?
  1. Helpful
  1. Marco Meoni
  2. Monday, 3 December 2018 14:02 PM UTC
yes,

from eon_mobile_paymentex manual:



"Makes online payment with the third-party payment service providers such as PayPal, AliPay, Western Union, Google etc. Currently PayPal is the only provider supported by Appeon."



Cordova plugins for mobile payments might be integrated too in next releases.

Best,

.m
  1. Helpful
  1. Luis Mosquera
  2. Monday, 3 December 2018 20:39 PM UTC
Okay Marco, again, thank you so much my friend for help us with our request =)
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 3 December 2018 15:27 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1

Hi Everyone;

   I was just testing PowerServer 2018 over the weekend and noticed this in the "what's new / changed" section of the documentation ...

1.7 Removed features
Apple has deprecated iOS Paypal Mobile SDKs, therefore, our plug-in solution no
longer supports the Paypal Mobile SDKs

 

I'll check with Engineering and see if they have more details on this. Not sure from this documentation as to whether PS2018 is removing this feature altogether or they are just stating that PayPal will now only work on Android devices.

Regards ... Chris

Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 4 December 2018 14:59 PM UTC
Hi Everyone;



I was able to now confirm with Engineering last night that the payment object limitation will be with iOS based apps only. Android will still work while Apple devices will not.



Regards ... Chris
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.