I have 2 Postman scripts:
Issue offer
Redeem offer
Redeem offer API is dependent to the Issue offer API. So, everytime to run redeem offer, we need to run first Issue offer.
To do this how can we add issue offer to the Pre-requisite of Redeem offer?
In Postman, the concept is the other way around: You can use postman.setNextRequest() to set the next request to be executed.
So in Issue offer, you call postman.setNextRequest('Redeem offer'), and after Issue offer is finished, Redeem offer will be executed.
For more info, see https://learning.postman.com/docs/running-collections/building-workflows/
Related
How to use the 2Checkout payment integration with Odoo. I have gone through their documentation but i have no idea how to develop the module in odoo to integrate 2checkout.Is there any guideline for that. If there is any examples that would be helpful to me.
There is not a guideline for creating custom payment processors, however you can take ones that already exist and replace the processors logic with logic for 2Checkout.
The easiest one is the Ogone module: https://github.com/odoo/odoo/tree/8.0/addons/payment_ogone
In fact, you'll find the Odoo developers doing the same thing. I occasionally saw an Ogone reference in other payment modules accidentally left in.
Basic Requirement for any payment gateway:
1) Go through the document, where you can find what data are required to
send in request and what response you will get.
2) Generate the request and send it from your module, you will get
response.
3) Now, as in odoo every response from the payment gateway is sent to the
web so to handle you need to design some web template.
4) And in the web controller you can do all the process that you need to do for the order or invoice.
You can do this with the default payment gateway like paypal or Bukaroo available in Odoo.
Hope it will help you.
We wanted to create a Spree app where the entire front-end is a single-page app.
What is the recommended approach for this?
As part of the same, we were exploring the Spree API endpoints required to be used from the front-end.
Are there any references or guides we can follow, particularly on the implementation of the checkout process?
We couldn't find any API documentation on creation of shipping address and billing address during the checkout process.
We tried sending a POST request to the addresses API controller, but there were only the show and update methods there
We tried a PUT request on the orders API controller by passing parameters such as orders['bill_address_attributes']['...'], orders['bill_address']['...'], but we received status 422.
We also tried a POST request at /checkout/update/address, but we got route not found error.
We have not been able to find a method to create shipping and billing addresses in the 'address' phase of the checkout flow.
Are there further references where we can find details on this?
Any pointers to documentation or source code regarding the above would be of great help.
The checkout workflow is a little tricky, but going through each step of the checkout process defined here will work.
But, I'm sure you've looked at that and it isn't so easy to follow, but not to fear, Spree has a walkthrough online that will make it easier to soak up:
https://github.com/radar/spree_api_examples/blob/master/examples/checkout/walkthrough.rb
I've seen different documentation on various forums and site on different ways of using Paypal api, here is a pretty useful link: https://cms.paypal.com/us/cgi-bin?cmd=_render-content&content_ID=developer/e_howto_api_ECOnMobileDevices&bn_r=o/, My question is a little different i do not want to use any of the Paypal libraries offered to us in my app, this is the link to libraries:https://www.x.com/developers/paypal/documentation-tools/sdk , I also do not want to gather any personal information, I want Paypal to take care of everything. So in other words I want to be able to open up a UIWebview to the Paypal's mobile site if possible (or if not the regular site will work) have to user log in with his credential or he can use the express checkout option and get back the transaction ID, or receipt what ever is available. I'm a little new to iOS and any help is appreciated.
If you don't want to use any libraries or API's, Express Checkout won't work for you.
Which does make it somewhat easier, as you can just use PayPal Website Payments Standard in a UIWebView instead.
For example; just open https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=your#email.tld&amount=1.99¤cy_code=GBP
This will start a 1.99 GBP payment to email#here.tld via PayPal, and automatically use a mobile layout.
If you subsequently want to receive transaction information; set up PayPal IPN on your account and use that to receive transaction-related events. This can be handled outside your app, and thus take away precious processing power to the server.
For an overview on getting started with PayPal IPN, have a look at https://www.paypal.com/ipn/
I would strongly suggest against trying to do transactions through paypal. If you look at the App Store Review Guidelines it states that
11.2 Apps utilizing a system other than the In App Purchase API (IAP) to purchase content, functionality, or services in an app will be rejected
I'm wrapping up my startup and will need to implement Paypal API into my sign up page.
Does anyone use recurring payments via Paypal API integrated into their billing? Better yet, guide me to a trustable developer with experience or will I have to use Elance?
I need it to go to a welcome/get started screen in their logged in account once they hit the 'create account' button after filling out billing info. I was also wondering, can you leave the CSC (3 digit security code) field out with integration, because it makes things very hard for recurring payments. I'd like to stick with Paypal, as I have been very satisfied with them for a few years now; I already checked out Chargify, authorize.net, etc.
I'd love to see someone with something like this set up already to take a look at and ask a few questions.
On the paypal website are some code samples for developers. I don't know if there are any for recurring payments but one-time payments code snippets you will find. Very easy to set up.
I have a donate-button and it works fine without much trouble.
I have been asked to set up a demo site which calls out to WorldPay to authorise transactions.
We won't have a MerchantID or anything like that yet, is there a dummy service that you can call that is either on the internet at-large, or is downloadable and you can install locally?
I've obviously had a look around and so far come up with nothing - it's a straightforward answer so wondering if anyone on here knows off the top of their head?
Thanks
Was a few years ago but as far as I remember:
If you (or your client) are going to be signing up with Worldpay then they provide both live and test accounts.
I seem to remember that you have to put a successful transaction through the test account before they will activate the live one for you.
Thier support dept used to be very helpful so I'd suggest just giving them a ring
It's in their interests to get you up and running so they can start charging you for it