paypal
paypal copied to clipboard
Golang client for PayPal REST API
### Add Functionality to Create Estimates The library currently doesn't support creating estimates through the PayPal API. This feature is essential for businesses needing to send preliminary bills to clients....
What does this PR do? Adds the ToDuration function to the expirationTime type. This function allows easy conversion of the internal value to a time. Duration type, which is crucial...
https://developer.paypal.com/docs/api/orders/v2/#orders_create Paypal has altered their create order endpoint to take a payment_source object and has depracated the payer object. https://developer.paypal.com/docs/api/orders/v2/#orders_create!path=payer&t=request https://developer.paypal.com/docs/api/orders/v2/#orders_create!path=payment_source&t=request
It appears as though the Paypal docs and the subscriber struct don't line up anymore. Am I allowed to amend this and PR? https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions_create!path=subscriber&t=request https://github.com/plutov/paypal/blob/master/types.go#L1255
A comment string`that looks something like this so they are clearly marked in godoc ``` // Deprecated: This API resource is deprecated by PayPal. ``` Just to make godoc clearer...
Yesterday I discovered that the response for CHECKOUT.ORDER.COMPLETED Includes a `zts` key. It raised an error when I attempted to decode it into [AnyEvent](https://github.com/plutov/paypal/blob/ebf596676edbc13c2ca46deb392735e079833e27/types.go#L1390). ``` // Decode JSON var transaction...